From b7980bd1f6f9351fc421807ddd48d9f3a76b19fd Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Fri, 14 Apr 2023 17:54:42 +0300 Subject: Start working on VGA circuit --- digital/atk16_ppu.dig | 1078 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 1078 insertions(+) create mode 100644 digital/atk16_ppu.dig (limited to 'digital/atk16_ppu.dig') diff --git a/digital/atk16_ppu.dig b/digital/atk16_ppu.dig new file mode 100644 index 0000000..17b9447 --- /dev/null +++ b/digital/atk16_ppu.dig @@ -0,0 +1,1078 @@ + + + 2 + + + romContent + + + + + + Width + 7 + + + + + Comparator + + + Bits + 10 + + + + + + Const + + + Value + 798 + + + Bits + 10 + + + intFormat + dec + + + + + + Counter + + + Bits + 10 + + + + + + VDD + + + rotation + + + + + + + Tunnel + + + rotation + + + + NetName + PCLK + + + + + + Comparator + + + Bits + 10 + + + + + + Const + + + Value + 523 + + + Bits + 10 + + + intFormat + dec + + + + + + Counter + + + Bits + 10 + + + + + + VDD + + + rotation + + + + + + + Comparator + + + Bits + 10 + + + + + + Const + + + Value + 488 + + + Bits + 10 + + + intFormat + dec + + + + + + Comparator + + + Bits + 10 + + + + + + Const + + + Value + 751 + + + Bits + 10 + + + intFormat + dec + + + + + + Comparator + + + Bits + 10 + + + + + + Const + + + Value + 654 + + + Bits + 10 + + + intFormat + dec + + + + + + Comparator + + + Bits + 10 + + + + + + Const + + + Value + 491 + + + Bits + 10 + + + intFormat + dec + + + + + + Tunnel + + + NetName + VSYNC + + + + + + NAnd + + + + + Tunnel + + + NetName + HSYNC + + + + + + NAnd + + + + + VGA + + + + + Tunnel + + + rotation + + + + NetName + PCLK + + + + + + Tunnel + + + rotation + + + + NetName + HSYNC + + + + + + Tunnel + + + rotation + + + + NetName + VSYNC + + + + + + Tunnel + + + rotation + + + + NetName + PR + + + + + + Tunnel + + + rotation + + + + NetName + PG + + + + + + Tunnel + + + rotation + + + + NetName + PB + + + + + + In + + + Description + Pixel clock + + + Label + PCLK + + + + + + Tunnel + + + NetName + PCLK + + + + + + Add + + + Bits + 10 + + + + + + Const + + + Bits + 10 + + + + + + In + + + Description + CPU clock + + + Label + CLK + + + + + + Tunnel + + + NetName + CLK + + + + + + Ground + + + + + BarrelShifter + + + Bits + 10 + + + direction + right + + + + + + Const + + + Bits + 4 + + + + + + BarrelShifter + + + Bits + 10 + + + direction + right + + + + + + Const + + + Bits + 4 + + + + + + Splitter + + + Input Splitting + 10 + + + Output Splitting + 2,8 + + + + + + Splitter + + + Input Splitting + 10 + + + Output Splitting + 1,9 + + + + + + Out + + + Description + Index of next scanline + + + Label + SCANLINE + + + Bits + 9 + + + + + + Register + + + Label + VWORD + + + Bits + 16 + + + + + + Const + + + Value + 16927 + + + Bits + 16 + + + intFormat + hex + + + + + + VDD + + + rotation + + + + + + + Tunnel + + + rotation + + + + NetName + CLK + + + + + + Splitter + + + Input Splitting + 16 + + + Output Splitting + 4*4 + + + + + + Multiplexer + + + Selector Bits + 2 + + + Bits + 4 + + + + + + Splitter + + + Input Splitting + 4 + + + Output Splitting + 1*4 + + + + + + Tunnel + + + NetName + PG + + + + + + Tunnel + + + NetName + PB + + + + + + Tunnel + + + NetName + PR + + + + + + Add + + + Bits + 2 + + + + + + Ground + + + + + Splitter + + + Input Splitting + 10 + + + Output Splitting + 2,8 + + + + + + Tunnel + + + NetName + SCAN_L2 + + + + + + Tunnel + + + rotation + + + + NetName + SCAN_L2 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file -- cgit v1.3