From 5ab9865fa6ed343ae0cffefb81b20af2e533e36f Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Sat, 8 Apr 2023 17:20:32 +0300 Subject: Move from logisim to digital --- digital/atk16.dig | 1470 ++++++++++++++++++++--------------------------------- 1 file changed, 546 insertions(+), 924 deletions(-) (limited to 'digital/atk16.dig') diff --git a/digital/atk16.dig b/digital/atk16.dig index 8c350c2..15912d7 100644 --- a/digital/atk16.dig +++ b/digital/atk16.dig @@ -1,29 +1,55 @@ 2 - + + + view1 + + + 0.8446671195652201 + 0.0 + 0.0 + 0.8446671195652201 + 481.55870489058793 + 445.5141438507956 + + + + + view2 + + + 0.8446671195652201 + 0.0 + 0.0 + 0.8446671195652201 + 481.55870489058793 + 445.5141438507956 + + + + + view3 + + + 0.8446671195652201 + 0.0 + 0.0 + 0.8446671195652201 + 481.55870489058793 + 445.5141438507956 + + + + - RegisterFile + Register - AddrBits - 3 + valueIsProbe + true - - Label - Register file - - - Bits - 16 - - - - - - Register - Label MAR @@ -39,33 +65,9 @@ Register - Label - IR - - - Bits - 16 - - - - - - atk16_alu.dig - - - Label - ALU - - - shapeType - SIMPLE + valueIsProbe + true - - - - - Register - Label FR @@ -138,261 +140,37 @@ NetName - IR_IE - - - - - - Tunnel - - - rotation - - - - NetName - IR_IE + PC_IE - Splitter - - - Input Splitting - 16 - - - Output Splitting - 3,3,3,3,4 - - - rotation - - - - - - - Tunnel - - - rotation - - - - NetName - OPCODE - - - - - - Tunnel - - - rotation - - - - NetName - IR0 - - - - - - Tunnel - - - rotation - - - - NetName - IR1 - - - - - - Tunnel - - - rotation - - - - NetName - IR2 - - - - - - Tunnel - - - rotation - - - - NetName - IR3 - - - - - - Tunnel - - - rotation - - - - NetName - IR0 - - - - - - Tunnel - - - rotation - - - - NetName - IR1 - - - - - - Tunnel - - - rotation - - - - NetName - IR2 - - - - - - Tunnel - - - rotation - - - - NetName - RW_IE - - - - - - Splitter - - - Input Splitting - 3,1 - - - Output Splitting - 4 - - - - - - Tunnel - - - rotation - - - - NetName - IR3 - - - - - - Tunnel - - - rotation - - - - NetName - OP_PARITY - - - - - - RAMAsync + EEPROM - - Label - MEM_RAM - AddrBits - 15 - - - Bits - 16 - - - - - - Tunnel - - - rotation - + 8 - - NetName - MEM_IE - - - - - - EEPROM - Label UCODE - - AddrBits - 8 - Bits 16 - isProgramMemory - true + Data + c,221,3040,8000,4*0,c,221,3040,8000,4*0,c,221,3040,8000,4*0,c +,221,3040,8000,4*0,c,221,88,60,8000,0,0,0,c,221,88,60,8000,0,0,0 +,c,221,88,110,8000,0,0,0,c,221,88,110,8000,0,0,0,c,221,440,8000 +,4*0,c,221,440,8000,4*0,c,221,82,8000,4*0,c,221,82,8000,4*0,c +,221,8000,5*0,c,221,102,8000,4*0,c,221,8000,5*0,c,221,8000,5*0 +,c,221,8000,5*0,c,221,8000,5*0,c,221,8000,5*0,c,221,8000,5*0,c +,221,8000,5*0,c,221,8000,5*0,c,221,8000,5*0,c,221,8000,5*0,c,221 +,8000,5*0,c,221,8000,5*0,c,221,8000,5*0,c,221,8000,5*0,c,221,8000 +,5*0,c,221,8000,5*0,c,221,4000,5*0,c,221,4000 @@ -402,86 +180,10 @@ Input Splitting - 3,1,4 - - - - - - VDD - - - rotation - - - - - - - Tunnel - - - rotation - - - - NetName - OPCODE - - - - - - Ground - - - rotation - - - - - - - BitSelector - - - Selector Bits - 2 - - - - - - Tunnel - - - rotation - - - - NetName - IR0 - - - - - - Splitter - - - rotation - - - - Input Splitting - 3 - - - Output Splitting - 2, + 3,1,4 - + VDD @@ -491,21 +193,7 @@ - - - - Counter - - - Label - Microsequencer - - - Bits - 3 - - - + Tunnel @@ -516,44 +204,30 @@ NetName - US_RS + OPCODE - - - - And - - + - VDD + Ground rotation - - - - Not - - + - Tunnel + BitSelector - rotation - - - - NetName - IR_L9 + Selector Bits + 2 - + Tunnel @@ -564,40 +238,50 @@ NetName - IR_L12 + FLAG_EQ - + Splitter + + rotation + + Input Splitting - 16 + 3 Output Splitting - 12, + 2, + + + + + VDD + rotation - + - + Splitter - - Input Splitting - 16 - mirror true + + Input Splitting + 16 + Output Splitting 1*16 @@ -608,6 +292,10 @@ CounterPreset + + valueIsProbe + true + Label PC @@ -638,7 +326,7 @@ rotation - + @@ -665,7 +353,7 @@ PC_CO - + Tunnel @@ -675,7 +363,7 @@ PC_IE - + Tunnel @@ -685,7 +373,7 @@ PC_OE - + Tunnel @@ -695,7 +383,7 @@ MAR_IE - + Tunnel @@ -705,7 +393,7 @@ MEM_IE - + Tunnel @@ -715,327 +403,332 @@ MEM_OE - + Tunnel NetName - RW_IE + R1_OE - + - Driver + Tunnel - flipSelPos - true - - - Bits - 16 + NetName + R2_OE - + - Driver + Tunnel - Bits - 16 - - - flipSelPos - true + NetName + IR_IE - + Tunnel NetName - R2_OE + JA_OE - + - Driver + Tunnel - Bits - 16 + NetName + ALU_OE - + Tunnel - - rotation - - NetName - ALU_OE + US_RS - + Tunnel NetName - R1_OE + FR_IE - + - Tunnel + Clock - NetName - R2_OE + small + true + + + runRealTime + true + + + Frequency + 10 - + Tunnel NetName - IR_IE + CLK - + Tunnel + + rotation + + NetName - R1_OE + CLK - + Tunnel + + rotation + + NetName - IR9_OE + CLK - + Tunnel + + rotation + + NetName - IR12_OE + CLK - + - Tunnel + Probe - NetName - ALU_OE + Label + Bus - + + + + atk16_mem.dig + + Tunnel + + rotation + + NetName - HALT + MEM_IE - + Tunnel + + rotation + + NetName - US_RS + MEM_OE - + - Tunnel + Break + + + + + atk16_decoder.dig - NetName - FR_IE + shapeType + SIMPLE - + - BitSelector + Tunnel - Selector Bits - 4 - - - rotation - - - - flipSelPos - true + NetName + OPCODE - + Tunnel rotation - + NetName - OP_PARITY + JA_OE - + - Const + Tunnel rotation - Value - 15 - - - Bits - 4 + NetName + IR_IE - + - Splitter + Tunnel rotation - Input Splitting - 16 - - - Output Splitting - 9, + NetName + CLK - + - Splitter + Tunnel - Input Splitting - 9,7 - - - Output Splitting - 16 + NetName + RW_IE - + - Ground + Tunnel - Bits - 7 + rotation + + + + NetName + RW_IE - + - Splitter + Tunnel - Input Splitting - 12,4 + rotation + - Output Splitting - 16 + NetName + CLK - + - Ground + atk16_regbank.dig + + + + + atk16_alu.dig - Bits - 4 + shapeType + SIMPLE + + + Label + ALU - + Driver - - rotation - - Bits 16 - - - - - Tunnel - - NetName - IR12_OE + flipSelPos + true - + Driver - - rotation - - Bits 16 @@ -1045,217 +738,234 @@ true - + Tunnel - - rotation - - NetName - IR9_OE + R2_OE - + - EEPROM + Driver - - Label - MEM_ROM - - - AddrBits - 15 - Bits 16 - - inverterConfig - - CS - - - + - Splitter + Tunnel - Input Splitting - 16 + rotation + - Output Splitting - 15,1 + NetName + ALU_OE - + - Demultiplexer + Tunnel - Bits - 15 + NetName + R1_OE - + - Ground + Probe - rotation - + Label + ALU - + - Driver + Counter - rotation - + valueIsProbe + true + + + Label + Microsequencer Bits - 16 + 3 - + Tunnel + + rotation + + NetName - MEM_OE + US_RS - + - Driver + VDD - Bits - 16 + rotation + - + - Clock - - - small - true - - - + Not + + Tunnel + + rotation + + NetName CLK - + - Tunnel + Reset - rotation - + invertOutput + false + + + + + Or + + + + + Tunnel + NetName - CLK + FLAG_EQ - + - Tunnel + Stop + + + + + Probe rotation - NetName - CLK + Label + OPCODE + + + intFormat + bin - + - Tunnel + Testcase - rotation - + Label + Sum program TODO - NetName - CLK + Testdata + + IN OUT + +program(0x4051, 0x40a2, 0x029b) + +0 x + - + - Tunnel + Out - rotation - + Label + OUT - NetName - CLK + Description + Dummy output - + - Tunnel + Ground rotation - + + + + + + In + - NetName - CLK + Label + IN - + - Tunnel + Ground rotation - - - - NetName - CLK + - + @@ -1264,136 +974,148 @@ - - + + - - + + - - + + - - + + - - + + - - + + - - + + + + + + + + + + - + - - + + - - + + - - + + - - + + - - + + - + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + + + + + @@ -1404,35 +1126,27 @@ - - - - - - - - - - + + - - + + - - + + - - + + - - + + - + @@ -1441,108 +1155,84 @@ - - - - - - - - - - - - - - - - - + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - - - - - - - @@ -1556,268 +1246,200 @@ - - + + - - - - + + + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + + + + + - - + + - - + + - - + + - - + + - + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - + - - + + - - + + - - + + - - + + - + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + - - + + - - + + -- cgit v1.3