Add output for Rj and upgrade the starter

This commit is contained in:
2022-05-24 13:36:48 +08:00
parent 5290380a65
commit cb19d88901
5 changed files with 913 additions and 314 deletions

View File

@@ -22,7 +22,7 @@ applicable agreement for further details.
(header "graphic" (version "1.3"))
(pin
(input)
(rect 456 344 624 360)
(rect 456 296 624 312)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "CLR" (rect 5 0 27 12)(font "Arial" ))
(pt 168 8)
@@ -35,11 +35,11 @@ applicable agreement for further details.
(line (pt 117 12)(pt 121 8)(line_width 1))
)
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
(annotation_block (location)(rect 408 360 456 376))
(annotation_block (location)(rect 408 312 456 328))
)
(pin
(input)
(rect 456 296 624 312)
(rect 456 280 624 296)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "CK_Single" (rect 5 0 55 12)(font "Arial" ))
(pt 168 8)
@@ -52,24 +52,7 @@ applicable agreement for further details.
(line (pt 117 12)(pt 121 8)(line_width 1))
)
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
(annotation_block (location)(rect 400 312 456 328))
)
(pin
(input)
(rect 456 248 624 264)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "CK_Constant" (rect 5 0 71 12)(font "Arial" ))
(pt 168 8)
(drawing
(line (pt 92 12)(pt 117 12)(line_width 1))
(line (pt 92 4)(pt 117 4)(line_width 1))
(line (pt 121 8)(pt 168 8)(line_width 1))
(line (pt 92 12)(pt 92 4)(line_width 1))
(line (pt 117 4)(pt 121 8)(line_width 1))
(line (pt 117 12)(pt 121 8)(line_width 1))
)
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
(annotation_block (location)(rect 400 264 456 280))
(annotation_block (location)(rect 400 296 456 312))
)
(pin
(input)
@@ -394,6 +377,57 @@ applicable agreement for further details.
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
(annotation_block (location)(rect 3536 1816 3584 1832))
)
(pin
(input)
(rect 456 312 624 328)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "Consistant_EN" (rect 5 0 79 12)(font "Arial" ))
(pt 168 8)
(drawing
(line (pt 92 12)(pt 117 12)(line_width 1))
(line (pt 92 4)(pt 117 4)(line_width 1))
(line (pt 121 8)(pt 168 8)(line_width 1))
(line (pt 92 12)(pt 92 4)(line_width 1))
(line (pt 117 4)(pt 121 8)(line_width 1))
(line (pt 117 12)(pt 121 8)(line_width 1))
)
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
(annotation_block (location)(rect 408 328 456 344))
)
(pin
(input)
(rect 456 328 624 344)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "Circuit2_EN" (rect 5 0 64 12)(font "Arial" ))
(pt 168 8)
(drawing
(line (pt 92 12)(pt 117 12)(line_width 1))
(line (pt 92 4)(pt 117 4)(line_width 1))
(line (pt 121 8)(pt 168 8)(line_width 1))
(line (pt 92 12)(pt 92 4)(line_width 1))
(line (pt 117 4)(pt 121 8)(line_width 1))
(line (pt 117 12)(pt 121 8)(line_width 1))
)
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
(annotation_block (location)(rect 408 344 456 360))
)
(pin
(input)
(rect 456 264 624 280)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "CK_Consistant" (rect 5 0 79 12)(font "Arial" ))
(pt 168 8)
(drawing
(line (pt 92 12)(pt 117 12)(line_width 1))
(line (pt 92 4)(pt 117 4)(line_width 1))
(line (pt 121 8)(pt 168 8)(line_width 1))
(line (pt 92 12)(pt 92 4)(line_width 1))
(line (pt 117 4)(pt 121 8)(line_width 1))
(line (pt 117 12)(pt 121 8)(line_width 1))
)
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
(annotation_block (location)(rect 400 280 456 296))
)
(pin
(output)
(rect 3128 1384 3304 1400)
@@ -938,74 +972,6 @@ applicable agreement for further details.
)
(annotation_block (location)(rect 3624 1664 3680 1680))
)
(pin
(output)
(rect 3064 2152 3240 2168)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "IR4" (rect 90 0 107 12)(font "Arial" ))
(pt 0 8)
(drawing
(line (pt 0 8)(pt 52 8)(line_width 1))
(line (pt 52 4)(pt 78 4)(line_width 1))
(line (pt 52 12)(pt 78 12)(line_width 1))
(line (pt 52 12)(pt 52 4)(line_width 1))
(line (pt 78 4)(pt 82 8)(line_width 1))
(line (pt 82 8)(pt 78 12)(line_width 1))
(line (pt 78 12)(pt 82 8)(line_width 1))
)
(annotation_block (location)(rect 3240 2168 3288 2184))
)
(pin
(output)
(rect 3064 2136 3240 2152)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "IR5" (rect 90 0 107 12)(font "Arial" ))
(pt 0 8)
(drawing
(line (pt 0 8)(pt 52 8)(line_width 1))
(line (pt 52 4)(pt 78 4)(line_width 1))
(line (pt 52 12)(pt 78 12)(line_width 1))
(line (pt 52 12)(pt 52 4)(line_width 1))
(line (pt 78 4)(pt 82 8)(line_width 1))
(line (pt 82 8)(pt 78 12)(line_width 1))
(line (pt 78 12)(pt 82 8)(line_width 1))
)
(annotation_block (location)(rect 3240 2152 3288 2168))
)
(pin
(output)
(rect 3064 2120 3240 2136)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "IR6" (rect 90 0 107 12)(font "Arial" ))
(pt 0 8)
(drawing
(line (pt 0 8)(pt 52 8)(line_width 1))
(line (pt 52 4)(pt 78 4)(line_width 1))
(line (pt 52 12)(pt 78 12)(line_width 1))
(line (pt 52 12)(pt 52 4)(line_width 1))
(line (pt 78 4)(pt 82 8)(line_width 1))
(line (pt 82 8)(pt 78 12)(line_width 1))
(line (pt 78 12)(pt 82 8)(line_width 1))
)
(annotation_block (location)(rect 3240 2136 3288 2152))
)
(pin
(output)
(rect 3064 2104 3240 2120)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "IR7" (rect 90 0 107 12)(font "Arial" ))
(pt 0 8)
(drawing
(line (pt 0 8)(pt 52 8)(line_width 1))
(line (pt 52 4)(pt 78 4)(line_width 1))
(line (pt 52 12)(pt 78 12)(line_width 1))
(line (pt 52 12)(pt 52 4)(line_width 1))
(line (pt 78 4)(pt 82 8)(line_width 1))
(line (pt 82 8)(pt 78 12)(line_width 1))
(line (pt 78 12)(pt 82 8)(line_width 1))
)
(annotation_block (location)(rect 3240 2120 3288 2136))
)
(pin
(output)
(rect 3392 1224 3568 1240)
@@ -1414,6 +1380,134 @@ applicable agreement for further details.
)
(annotation_block (location)(rect 3664 824 3712 840))
)
(pin
(output)
(rect 2176 2064 2352 2080)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "Rj_0" (rect 90 0 112 12)(font "Arial" ))
(pt 0 8)
(drawing
(line (pt 0 8)(pt 52 8)(line_width 1))
(line (pt 52 4)(pt 78 4)(line_width 1))
(line (pt 52 12)(pt 78 12)(line_width 1))
(line (pt 52 12)(pt 52 4)(line_width 1))
(line (pt 78 4)(pt 82 8)(line_width 1))
(line (pt 82 8)(pt 78 12)(line_width 1))
(line (pt 78 12)(pt 82 8)(line_width 1))
)
)
(pin
(output)
(rect 2176 2048 2352 2064)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "Rj_1" (rect 90 0 112 12)(font "Arial" ))
(pt 0 8)
(drawing
(line (pt 0 8)(pt 52 8)(line_width 1))
(line (pt 52 4)(pt 78 4)(line_width 1))
(line (pt 52 12)(pt 78 12)(line_width 1))
(line (pt 52 12)(pt 52 4)(line_width 1))
(line (pt 78 4)(pt 82 8)(line_width 1))
(line (pt 82 8)(pt 78 12)(line_width 1))
(line (pt 78 12)(pt 82 8)(line_width 1))
)
)
(pin
(output)
(rect 2176 2032 2352 2048)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "Rj_2" (rect 90 0 112 12)(font "Arial" ))
(pt 0 8)
(drawing
(line (pt 0 8)(pt 52 8)(line_width 1))
(line (pt 52 4)(pt 78 4)(line_width 1))
(line (pt 52 12)(pt 78 12)(line_width 1))
(line (pt 52 12)(pt 52 4)(line_width 1))
(line (pt 78 4)(pt 82 8)(line_width 1))
(line (pt 82 8)(pt 78 12)(line_width 1))
(line (pt 78 12)(pt 82 8)(line_width 1))
)
)
(pin
(output)
(rect 2176 2016 2352 2032)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "Rj_3" (rect 90 0 112 12)(font "Arial" ))
(pt 0 8)
(drawing
(line (pt 0 8)(pt 52 8)(line_width 1))
(line (pt 52 4)(pt 78 4)(line_width 1))
(line (pt 52 12)(pt 78 12)(line_width 1))
(line (pt 52 12)(pt 52 4)(line_width 1))
(line (pt 78 4)(pt 82 8)(line_width 1))
(line (pt 82 8)(pt 78 12)(line_width 1))
(line (pt 78 12)(pt 82 8)(line_width 1))
)
)
(pin
(output)
(rect 2176 2000 2352 2016)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "Rj_4" (rect 90 0 112 12)(font "Arial" ))
(pt 0 8)
(drawing
(line (pt 0 8)(pt 52 8)(line_width 1))
(line (pt 52 4)(pt 78 4)(line_width 1))
(line (pt 52 12)(pt 78 12)(line_width 1))
(line (pt 52 12)(pt 52 4)(line_width 1))
(line (pt 78 4)(pt 82 8)(line_width 1))
(line (pt 82 8)(pt 78 12)(line_width 1))
(line (pt 78 12)(pt 82 8)(line_width 1))
)
)
(pin
(output)
(rect 2176 1984 2352 2000)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "Rj_5" (rect 90 0 112 12)(font "Arial" ))
(pt 0 8)
(drawing
(line (pt 0 8)(pt 52 8)(line_width 1))
(line (pt 52 4)(pt 78 4)(line_width 1))
(line (pt 52 12)(pt 78 12)(line_width 1))
(line (pt 52 12)(pt 52 4)(line_width 1))
(line (pt 78 4)(pt 82 8)(line_width 1))
(line (pt 82 8)(pt 78 12)(line_width 1))
(line (pt 78 12)(pt 82 8)(line_width 1))
)
)
(pin
(output)
(rect 2176 1968 2352 1984)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "Rj_6" (rect 90 0 112 12)(font "Arial" ))
(pt 0 8)
(drawing
(line (pt 0 8)(pt 52 8)(line_width 1))
(line (pt 52 4)(pt 78 4)(line_width 1))
(line (pt 52 12)(pt 78 12)(line_width 1))
(line (pt 52 12)(pt 52 4)(line_width 1))
(line (pt 78 4)(pt 82 8)(line_width 1))
(line (pt 82 8)(pt 78 12)(line_width 1))
(line (pt 78 12)(pt 82 8)(line_width 1))
)
)
(pin
(output)
(rect 2176 1952 2352 1968)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "Rj_7" (rect 90 0 112 12)(font "Arial" ))
(pt 0 8)
(drawing
(line (pt 0 8)(pt 52 8)(line_width 1))
(line (pt 52 4)(pt 78 4)(line_width 1))
(line (pt 52 12)(pt 78 12)(line_width 1))
(line (pt 52 12)(pt 52 4)(line_width 1))
(line (pt 78 4)(pt 82 8)(line_width 1))
(line (pt 82 8)(pt 78 12)(line_width 1))
(line (pt 78 12)(pt 82 8)(line_width 1))
)
)
(pin
(bidir)
(rect 3352 1032 3528 1048)
@@ -3722,6 +3816,63 @@ applicable agreement for further details.
(rectangle (rect 16 16 104 368)(line_width 1))
)
)
(symbol
(rect 680 208 792 368)
(text "start_circuit" (rect 5 0 72 14)(font "Arial" (font_size 8)))
(text "inst3" (rect 8 144 31 156)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "HALT" (rect 0 0 31 14)(font "Arial" (font_size 8)))
(text "HALT" (rect 21 27 52 41)(font "Arial" (font_size 8)))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "2nd_EN" (rect 0 0 43 14)(font "Arial" (font_size 8)))
(text "2nd_EN" (rect 21 43 64 57)(font "Arial" (font_size 8)))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 0 64)
(input)
(text "CK_C" (rect 0 0 31 14)(font "Arial" (font_size 8)))
(text "CK_C" (rect 21 59 52 73)(font "Arial" (font_size 8)))
(line (pt 0 64)(pt 16 64)(line_width 1))
)
(port
(pt 0 80)
(input)
(text "CK" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "CK" (rect 21 75 37 89)(font "Arial" (font_size 8)))
(line (pt 0 80)(pt 16 80)(line_width 1))
)
(port
(pt 0 96)
(input)
(text "CLR" (rect 0 0 23 14)(font "Arial" (font_size 8)))
(text "CLR" (rect 21 91 44 105)(font "Arial" (font_size 8)))
(line (pt 0 96)(pt 16 96)(line_width 1))
)
(port
(pt 0 112)
(input)
(text "C_EN" (rect 0 0 30 14)(font "Arial" (font_size 8)))
(text "C_EN" (rect 21 107 51 121)(font "Arial" (font_size 8)))
(line (pt 0 112)(pt 16 112)(line_width 1))
)
(port
(pt 112 32)
(output)
(text "CP" (rect 0 0 15 14)(font "Arial" (font_size 8)))
(text "CP" (rect 76 27 91 41)(font "Arial" (font_size 8)))
(line (pt 112 32)(pt 96 32)(line_width 1))
)
(drawing
(rectangle (rect 16 16 96 144)(line_width 1))
)
)
(connector
(pt 2952 1408)
(pt 3016 1408)
@@ -4086,38 +4237,6 @@ applicable agreement for further details.
(pt 1680 1464)
(pt 1856 1464)
)
(connector
(pt 672 2072)
(pt 2048 2072)
)
(connector
(pt 656 2056)
(pt 2064 2056)
)
(connector
(pt 640 2040)
(pt 2080 2040)
)
(connector
(pt 624 2024)
(pt 2096 2024)
)
(connector
(pt 608 2008)
(pt 2112 2008)
)
(connector
(pt 592 1992)
(pt 2128 1992)
)
(connector
(pt 576 1976)
(pt 2144 1976)
)
(connector
(pt 560 1960)
(pt 2160 1960)
)
(connector
(pt 528 1928)
(pt 2192 1928)
@@ -5158,22 +5277,6 @@ applicable agreement for further details.
(pt 1824 1432)
(color 0 0 0)
)
(connector
(pt 688 240)
(pt 656 240)
)
(connector
(pt 640 272)
(pt 640 304)
)
(connector
(pt 624 304)
(pt 640 304)
)
(connector
(pt 624 256)
(pt 688 256)
)
(connector
(pt 1248 1376)
(pt 1232 1376)
@@ -5184,16 +5287,6 @@ applicable agreement for further details.
(pt 1232 352)
(color 0 0 0)
)
(connector
(pt 672 288)
(pt 688 288)
(color 0 0 0)
)
(connector
(pt 672 288)
(pt 672 352)
(color 0 0 0)
)
(connector
(pt 880 416)
(pt 864 416)
@@ -5210,16 +5303,6 @@ applicable agreement for further details.
(pt 1408 1264)
(pt 1408 2120)
)
(connector
(pt 624 352)
(pt 672 352)
(color 0 0 0)
)
(connector
(pt 672 352)
(pt 1232 352)
(color 0 0 0)
)
(connector
(pt 1232 352)
(pt 1824 352)
@@ -5235,14 +5318,6 @@ applicable agreement for further details.
(pt 1824 1432)
(color 0 0 0)
)
(connector
(pt 784 240)
(pt 800 240)
)
(connector
(pt 800 240)
(pt 808 240)
)
(connector
(pt 856 240)
(pt 864 240)
@@ -5577,10 +5652,6 @@ applicable agreement for further details.
(pt 656 128)
(pt 3664 128)
)
(connector
(pt 656 128)
(pt 656 240)
)
(connector
(pt 3032 1800)
(pt 2920 1800)
@@ -5629,10 +5700,6 @@ applicable agreement for further details.
(pt 2872 1752)
(pt 2872 2152)
)
(connector
(pt 784 272)
(pt 784 240)
)
(connector
(pt 3416 1528)
(pt 3416 1656)
@@ -5829,50 +5896,18 @@ applicable agreement for further details.
(pt 2976 1528)
(pt 2976 1656)
)
(connector
(pt 2976 1656)
(pt 2976 2112)
)
(connector
(pt 2976 2112)
(pt 3064 2112)
)
(connector
(pt 3064 2128)
(pt 2968 2128)
)
(connector
(pt 2968 1544)
(pt 2968 1672)
)
(connector
(pt 2968 1672)
(pt 2968 2128)
)
(connector
(pt 3064 2144)
(pt 2960 2144)
)
(connector
(pt 2960 1560)
(pt 2960 1688)
)
(connector
(pt 2960 1688)
(pt 2960 2144)
)
(connector
(pt 3064 2160)
(pt 2952 2160)
)
(connector
(pt 2952 1576)
(pt 2952 1704)
)
(connector
(pt 2952 1704)
(pt 2952 2160)
)
(connector
(pt 1040 592)
(pt 1040 1392)
@@ -6172,10 +6207,6 @@ applicable agreement for further details.
(pt 864 272)
(pt 3544 272)
)
(connector
(pt 640 272)
(pt 784 272)
)
(connector
(pt 864 416)
(pt 864 272)
@@ -6186,6 +6217,126 @@ applicable agreement for further details.
(pt 864 240)
(color 0 128 0)
)
(connector
(pt 792 240)
(pt 800 240)
)
(connector
(pt 800 240)
(pt 808 240)
)
(connector
(pt 656 240)
(pt 680 240)
)
(connector
(pt 656 128)
(pt 656 240)
)
(connector
(pt 664 352)
(pt 1232 352)
)
(connector
(pt 680 272)
(pt 624 272)
)
(connector
(pt 624 288)
(pt 680 288)
)
(connector
(pt 664 304)
(pt 664 352)
)
(connector
(pt 624 304)
(pt 664 304)
)
(connector
(pt 664 304)
(pt 680 304)
)
(connector
(pt 680 320)
(pt 624 320)
)
(connector
(pt 680 256)
(pt 640 256)
)
(connector
(pt 640 256)
(pt 640 336)
)
(connector
(pt 640 336)
(pt 624 336)
)
(connector
(pt 672 2072)
(pt 2048 2072)
)
(connector
(pt 2048 2072)
(pt 2176 2072)
)
(connector
(pt 656 2056)
(pt 2064 2056)
)
(connector
(pt 2064 2056)
(pt 2176 2056)
)
(connector
(pt 640 2040)
(pt 2080 2040)
)
(connector
(pt 2080 2040)
(pt 2176 2040)
)
(connector
(pt 624 2024)
(pt 2096 2024)
)
(connector
(pt 2096 2024)
(pt 2176 2024)
)
(connector
(pt 608 2008)
(pt 2112 2008)
)
(connector
(pt 2112 2008)
(pt 2176 2008)
)
(connector
(pt 592 1992)
(pt 2128 1992)
)
(connector
(pt 2128 1992)
(pt 2176 1992)
)
(connector
(pt 576 1976)
(pt 2144 1976)
)
(connector
(pt 2144 1976)
(pt 2176 1976)
)
(connector
(pt 560 1960)
(pt 2160 1960)
)
(connector
(pt 2160 1960)
(pt 2176 1960)
)
(junction (pt 2856 1120))
(junction (pt 2872 1136))
(junction (pt 2888 1152))
@@ -6238,7 +6389,6 @@ applicable agreement for further details.
(junction (pt 2504 1072))
(junction (pt 1824 1072))
(junction (pt 800 216))
(junction (pt 672 352))
(junction (pt 1232 352))
(junction (pt 800 240))
(junction (pt 1728 1672))
@@ -6257,10 +6407,6 @@ applicable agreement for further details.
(junction (pt 3376 1608))
(junction (pt 3368 1624))
(junction (pt 3360 1640))
(junction (pt 2976 1656))
(junction (pt 2968 1672))
(junction (pt 2960 1688))
(junction (pt 2952 1704))
(junction (pt 2712 2296))
(junction (pt 2728 2280))
(junction (pt 2744 2264))
@@ -6278,6 +6424,15 @@ applicable agreement for further details.
(junction (pt 3288 784))
(junction (pt 3304 800))
(junction (pt 864 272))
(junction (pt 664 304))
(junction (pt 2048 2072))
(junction (pt 2064 2056))
(junction (pt 2080 2040))
(junction (pt 2096 2024))
(junction (pt 2112 2008))
(junction (pt 2128 1992))
(junction (pt 2144 1976))
(junction (pt 2160 1960))
(text "from PC" (rect 784 1408 828 1422)(font "Arial" (font_size 8)))
(text "from general registers" (rect 792 1360 918 1374)(font "Arial" (font_size 8)))
(text "Ri" (rect 1760 1760 1790 1792)(font "Arial" (color 128 0 128)(font_size 20)))