From 5b6637fb92c54b8f367ec8751f53f6f238d8dbed Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Sun, 9 Apr 2023 18:26:25 +0300 Subject: Remake ALU --- digital/atk16.dig | 1080 ++++++++++++++++++++++++++++++----------------------- 1 file changed, 603 insertions(+), 477 deletions(-) (limited to 'digital/atk16.dig') diff --git a/digital/atk16.dig b/digital/atk16.dig index 15912d7..2716409 100644 --- a/digital/atk16.dig +++ b/digital/atk16.dig @@ -2,6 +2,12 @@ 2 + + romContent + + + + view1 @@ -41,6 +47,10 @@ + + showDataTable + true + @@ -145,36 +155,6 @@ - - EEPROM - - - AddrBits - 8 - - - Label - UCODE - - - Bits - 16 - - - 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 - - - - Splitter @@ -185,16 +165,6 @@ - - VDD - - - rotation - - - - - Tunnel @@ -209,16 +179,6 @@ - - Ground - - - rotation - - - - - BitSelector @@ -261,34 +221,6 @@ - - VDD - - - rotation - - - - - - - Splitter - - - mirror - true - - - Input Splitting - 16 - - - Output Splitting - 1*16 - - - - CounterPreset @@ -326,7 +258,7 @@ rotation - + @@ -345,136 +277,6 @@ - - Tunnel - - - NetName - PC_CO - - - - - - Tunnel - - - NetName - PC_IE - - - - - - Tunnel - - - NetName - PC_OE - - - - - - Tunnel - - - NetName - MAR_IE - - - - - - Tunnel - - - NetName - MEM_IE - - - - - - Tunnel - - - NetName - MEM_OE - - - - - - Tunnel - - - NetName - R1_OE - - - - - - Tunnel - - - NetName - R2_OE - - - - - - Tunnel - - - NetName - IR_IE - - - - - - Tunnel - - - NetName - JA_OE - - - - - - Tunnel - - - NetName - ALU_OE - - - - - - Tunnel - - - NetName - US_RS - - - - - - Tunnel - - - NetName - FR_IE - - - - Clock @@ -598,20 +400,24 @@ shapeType - SIMPLE + CUSTOM - + Tunnel + + rotation + + NetName - OPCODE + RW_IE - + Tunnel @@ -622,24 +428,33 @@ NetName - JA_OE + CLK - + - Tunnel + atk16_regbank.dig + + + + + Counter - rotation - + valueIsProbe + true - NetName - IR_IE + Label + Microsequencer + + + Bits + 3 - + Tunnel @@ -650,20 +465,25 @@ NetName - CLK + US_RS - + - Tunnel + VDD - NetName - RW_IE + rotation + - + + + + Not + + Tunnel @@ -674,157 +494,310 @@ NetName - RW_IE + CLK - + - Tunnel + Reset - rotation - - - - NetName - CLK + invertOutput + false - + - atk16_regbank.dig + Or - + - atk16_alu.dig + Tunnel - shapeType - SIMPLE + NetName + FLAG_EQ + + + + + + Out + + + Description + Dummy output Label - ALU + OUT - + - Driver + Ground - Bits - 16 + rotation + + + + + + In + - flipSelPos - true + Label + IN - + - Driver + Ground - Bits - 16 + rotation + + + + + + + Tunnel + + + rotation + - flipSelPos + NetName + IR_IE + + + + + + Tunnel + + + rotation + + + + NetName + CLK + + + + + + Tunnel + + + NetName + OPCODE + + + + + + Splitter + + + mirror true + + Input Splitting + 16 + + + Output Splitting + 1*16 + - + Tunnel NetName - R2_OE + PC_CO - + - Driver + Tunnel - Bits - 16 + NetName + PC_IE - + Tunnel - rotation - + NetName + PC_OE + + + + + Tunnel + NetName - ALU_OE + MAR_IE - + Tunnel NetName - R1_OE + MEM_IE - + - Probe + Tunnel - Label - ALU + NetName + MEM_OE - + - Counter + Tunnel - valueIsProbe - true + NetName + R1_OE + + + + + Tunnel + - Label - Microsequencer + NetName + R2_OE + + + + + Tunnel + - Bits - 3 + NetName + IR_IE - + Tunnel - rotation - + NetName + ALU_OE + + + + + Tunnel + NetName US_RS - + + + + Tunnel + + + NetName + FR_IE + + + + + + Tunnel + + + NetName + RW_IE + + + + + + Stop + + + + + Tunnel + + + NetName + LI_OE + + + + + + EEPROM + + + AddrBits + 8 + + + Label + UCODE + + + Bits + 16 + + + 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,90,8000,0,0,0,c,221,88,90,8000,0,0,0,c,221,840,8000 +,4*0,c,221,840,8000,4*0,c,221,82,8000,4*0,c,221,82,8000,4*0,c +,221,802,8000,4*0,c,221,802,8000,4*0,c,221,8000,5*0,c,221,82,8000 +,4*0,c,221,8000,5*0,c,221,802,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,4000,5*0,c,221,4000 + + + VDD @@ -834,12 +807,27 @@ - + - Not - - + Ground + + + rotation + + + + + + + VDD + + + rotation + + + + Tunnel @@ -850,58 +838,101 @@ NetName - CLK + LI_OE - + - Reset + atk16_alu.dig - invertOutput - false + shapeType + SIMPLE + + + Label + ALU - + - Or + atk16_alu_inputs.dig - + + + + Driver + + + Bits + 16 + + + + + + Driver + + + Bits + 16 + + + flipSelPos + true + + + + + + Driver + + + Bits + 16 + + + flipSelPos + true + + + Tunnel NetName - FLAG_EQ + R1_OE - + - Stop - - + Tunnel + + + NetName + R2_OE + + + - Probe + Tunnel rotation - Label + NetName OPCODE - - intFormat - bin - - + Testcase @@ -921,51 +952,74 @@ program(0x4051, 0x40a2, 0x029b) - + - Out + atk16_jump_unit.dig + + + + + Tunnel - Label - OUT + rotation + - Description - Dummy output + NetName + OPCODE - + - Ground + Tunnel rotation + + NetName + ALU_OE + - + - In + Probe Label - IN + PC - + - Ground + Tunnel rotation - + + + + NetName + OPCODE - + + + + Probe + + + Label + OPCODE + + + @@ -974,32 +1028,40 @@ program(0x4051, 0x40a2, 0x029b) - - + + - - + + - - + + - + - + - - + + + + + + - - + + + + + + @@ -1009,6 +1071,10 @@ program(0x4051, 0x40a2, 0x029b) + + + + @@ -1026,60 +1092,64 @@ program(0x4051, 0x40a2, 0x029b) - - + + + + + + - + - - - - - - + + - - + + - - + + + + + + - + - - + + - + - - + + - - + + @@ -1087,51 +1157,63 @@ program(0x4051, 0x40a2, 0x029b) - + - - + + - - + + - - + + - - + + - - + + + + + + + + + + - - + + - - + + - - + + - - + + - - + + + + + + @@ -1150,93 +1232,93 @@ program(0x4051, 0x40a2, 0x029b) - - + + + + + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - - - @@ -1246,8 +1328,12 @@ program(0x4051, 0x40a2, 0x029b) - - + + + + + + @@ -1262,12 +1348,12 @@ program(0x4051, 0x40a2, 0x029b) - - + + - - + + @@ -1277,69 +1363,77 @@ program(0x4051, 0x40a2, 0x029b) + + + + - - + + - - + + - - + + - - + + + + + + - - + + - + - + - - + + - - + + - - + + - - + + - - + + - - + + - - + + @@ -1347,20 +1441,28 @@ program(0x4051, 0x40a2, 0x029b) - + - - + + + + + + - - + + + + + + @@ -1374,56 +1476,60 @@ program(0x4051, 0x40a2, 0x029b) - - + + - - - - - - + + + + + + - + - - + + - - + + - - + + - - + + - - + + - - + + + + + + @@ -1434,17 +1540,37 @@ program(0x4051, 0x40a2, 0x029b) - - + + - - + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file -- cgit v1.3