From 6b94054c71a0f371d83e97cee0200c29e685c5c2 Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Fri, 3 Nov 2023 13:39:19 +0200 Subject: Work on TPU --- digital/atk16_ppu.dig | 1036 ++++++++++--------------------------------------- 1 file changed, 199 insertions(+), 837 deletions(-) (limited to 'digital/atk16_ppu.dig') diff --git a/digital/atk16_ppu.dig b/digital/atk16_ppu.dig index c2cbdba..e6e7608 100644 --- a/digital/atk16_ppu.dig +++ b/digital/atk16_ppu.dig @@ -14,187 +14,6 @@ - - Comparator - - - Bits - 10 - - - - - - Const - - - Value - 798 - - - Bits - 10 - - - intFormat - dec - - - - - - Counter - - - Bits - 10 - - - - - - VDD - - - rotation - - - - - - - Tunnel - - - rotation - - - - NetName - PCLK - - - - - - Comparator - - - Bits - 10 - - - - - - Const - - - Value - 113 - - - Bits - 10 - - - intFormat - dec - - - - - - Comparator - - - Bits - 10 - - - - - - Const - - - Value - 16 - - - Bits - 10 - - - intFormat - dec - - - - - - NAnd - - - - - Tunnel - - - NetName - HSYNC - - - - - - In - - - Description - Pixel clock - - - Label - PCLK - - - - - - Tunnel - - - NetName - PCLK - - - - - - In - - - Description - CPU clock - - - Label - CLK - - - - - - Tunnel - - - NetName - CLK - - - - RAMDualPort @@ -282,28 +101,18 @@ sprite mem, starting from 0x0800 Description - Data bus + MMI/O selector Label - DBUS + MMIO_S Bits - 16 - - - - - - Tunnel - - - NetName - DBUS + 13 - + Tunnel @@ -333,24 +142,6 @@ sprite mem, starting from 0x0800 - - In - - - Description - MMI/O selector - - - Label - MMIO_S - - - Bits - 13 - - - - Splitter @@ -402,341 +193,108 @@ sprite mem, starting from 0x0800 - Const + RAMDualPort - Value - 160 + AddrBits + 9 - Bits - 10 + Label + SCAN BUFFER - intFormat - dec + Bits + 4 - + - Sub + Tunnel - Bits - 10 + rotation + - - - - - Ground - - - - - Comparator - - Bits - 10 + NetName + X - + - Const + Splitter - Value - 523 + mirror + true - Bits - 10 + Input Splitting + 4 - intFormat - dec + Output Splitting + 1*4 - + - Counter - - - Bits - 10 - - - + atk16_ppu_palette.dig + + - VDD + Splitter - rotation - + Input Splitting + 1,1 - - - - - Comparator - - Bits - 10 + Output Splitting + 2 - + - Const + Splitter - Value - 10 - - - Bits - 10 - - - intFormat - dec + Input Splitting + 1,1 - - - - - Comparator - - Bits - 10 + Output Splitting + 2 - + - Const + Splitter - Value - 13 - - - Bits - 10 + Input Splitting + 1,1 - intFormat - dec + Output Splitting + 2 - + Tunnel NetName - VSYNC - - - - - - NAnd - - - - - Const - - - Value - 45 - - - Bits - 10 - - - intFormat - dec - - - - - - Sub - - - Bits - 10 - - - - - - Ground - - - - - Splitter - - - Input Splitting - 10 - - - Output Splitting - 1,9 - - - - - - Splitter - - - Input Splitting - 10 - - - Output Splitting - 1,9 - - - - - - Text - - - Description - Div 2 - - - - - - Text - - - Description - Div 2 - - - - - - RAMDualPort - - - AddrBits - 9 - - - Label - SCAN BUFFER - - - Bits - 4 - - - - - - Tunnel - - - rotation - - - - NetName - X - - - - - - Splitter - - - mirror - true - - - Input Splitting - 4 - - - Output Splitting - 1*4 - - - - - - atk16_ppu_palette.dig - - - - - Splitter - - - Input Splitting - 1,1 - - - Output Splitting - 2 - - - - - - Splitter - - - Input Splitting - 1,1 - - - Output Splitting - 2 - - - - - - Splitter - - - Input Splitting - 1,1 - - - Output Splitting - 2 - - - - - - Tunnel - - - NetName - PR + PR @@ -852,26 +410,6 @@ sprite mem, starting from 0x0800 - - Tunnel - - - NetName - X - - - - - - Tunnel - - - NetName - Y - - - - Text @@ -945,28 +483,32 @@ sprite mem, starting from 0x0800 - Out + Tunnel - Label - HSYNC + rotation + + + + NetName + PB - + - Out + Tunnel - Label - VSYNC + rotation + - Bits - 2 + NetName + PR - + Tunnel @@ -977,104 +519,172 @@ sprite mem, starting from 0x0800 NetName - PB + PG - + - Tunnel + In - rotation - + Description + Pixel clock - NetName - PR + Label + PCLK - + Tunnel - rotation - + NetName + PCLK + + + + + In + - NetName - PG + Description + CPU clock + + + Label + CLK - + Tunnel - rotation - + NetName + CLK + + + + + Tunnel + NetName - HSYNC + DBUS + + + + + + In + + + Description + Data bus + + + Label + DBUS + + + Bits + 16 + + + + + + In + + + Description + X pixel + + + Label + X + + + Bits + 9 - + Tunnel - rotation - + NetName + X + + + + + + In + + + Description + Y pixel + + Label + Y + + + Bits + 8 + + + + + + Tunnel + NetName - VSYNC + Y - + - - - - - - + + - - - - - - + + - - + + - - + + - - + + - - + + - - + + @@ -1084,6 +694,10 @@ sprite mem, starting from 0x0800 + + + + @@ -1100,34 +714,10 @@ sprite mem, starting from 0x0800 - - - - - - - - - - - - - - - - - - - - - - - - @@ -1137,160 +727,8 @@ sprite mem, starting from 0x0800 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + @@ -1304,14 +742,6 @@ sprite mem, starting from 0x0800 - - - - - - - - @@ -1325,36 +755,24 @@ sprite mem, starting from 0x0800 - - - - - - - - - - - - - - + + - - + + - - + + - - + + - - + + @@ -1365,16 +783,20 @@ sprite mem, starting from 0x0800 - - + + - - + + - - + + + + + + @@ -1384,70 +806,10 @@ sprite mem, starting from 0x0800 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -- cgit v1.3