将原有ALU寄存器逻辑改为2-4译码
此提交包含在:
@@ -20,94 +20,136 @@ applicable agreement for further details.
|
||||
*/
|
||||
(header "symbol" (version "1.1"))
|
||||
(symbol
|
||||
(rect 16 16 144 208)
|
||||
(rect 64 64 208 320)
|
||||
(text "cp_selector" (rect 5 0 72 14)(font "Arial" (font_size 8)))
|
||||
(text "inst" (rect 8 176 25 188)(font "Arial" ))
|
||||
(text "inst" (rect 8 240 25 252)(font "Arial" ))
|
||||
(port
|
||||
(pt 0 32)
|
||||
(input)
|
||||
(text "CP_EN2" (rect 0 0 44 14)(font "Arial" (font_size 8)))
|
||||
(text "CP_EN2" (rect 21 27 65 41)(font "Arial" (font_size 8)))
|
||||
(text "CP" (rect 0 0 15 14)(font "Arial" (font_size 8)))
|
||||
(text "CP" (rect 21 27 36 41)(font "Arial" (font_size 8)))
|
||||
(line (pt 0 32)(pt 16 32)(line_width 1))
|
||||
)
|
||||
(port
|
||||
(pt 0 48)
|
||||
(input)
|
||||
(text "CP_EN1" (rect 0 0 44 14)(font "Arial" (font_size 8)))
|
||||
(text "CP_EN1" (rect 21 43 65 57)(font "Arial" (font_size 8)))
|
||||
(text "CP_EN2" (rect 0 0 44 14)(font "Arial" (font_size 8)))
|
||||
(text "CP_EN2" (rect 21 43 65 57)(font "Arial" (font_size 8)))
|
||||
(line (pt 0 48)(pt 16 48)(line_width 1))
|
||||
)
|
||||
(port
|
||||
(pt 0 64)
|
||||
(input)
|
||||
(text "CP_EN0" (rect 0 0 44 14)(font "Arial" (font_size 8)))
|
||||
(text "CP_EN0" (rect 21 59 65 73)(font "Arial" (font_size 8)))
|
||||
(text "CP_EN1" (rect 0 0 44 14)(font "Arial" (font_size 8)))
|
||||
(text "CP_EN1" (rect 21 59 65 73)(font "Arial" (font_size 8)))
|
||||
(line (pt 0 64)(pt 16 64)(line_width 1))
|
||||
)
|
||||
(port
|
||||
(pt 0 80)
|
||||
(input)
|
||||
(text "CP" (rect 0 0 15 14)(font "Arial" (font_size 8)))
|
||||
(text "CP" (rect 21 75 36 89)(font "Arial" (font_size 8)))
|
||||
(text "CP_EN0" (rect 0 0 44 14)(font "Arial" (font_size 8)))
|
||||
(text "CP_EN0" (rect 21 75 65 89)(font "Arial" (font_size 8)))
|
||||
(line (pt 0 80)(pt 16 80)(line_width 1))
|
||||
)
|
||||
(port
|
||||
(pt 128 32)
|
||||
(output)
|
||||
(text "CP_7" (rect 0 0 29 14)(font "Arial" (font_size 8)))
|
||||
(text "CP_7" (rect 78 27 107 41)(font "Arial" (font_size 8)))
|
||||
(line (pt 128 32)(pt 112 32)(line_width 1))
|
||||
(pt 0 96)
|
||||
(input)
|
||||
(text "ALU_CP_EN1" (rect 0 0 76 14)(font "Arial" (font_size 8)))
|
||||
(text "ALU_CP_EN1" (rect 21 91 97 105)(font "Arial" (font_size 8)))
|
||||
(line (pt 0 96)(pt 16 96)(line_width 1))
|
||||
)
|
||||
(port
|
||||
(pt 128 48)
|
||||
(output)
|
||||
(text "CP_6" (rect 0 0 29 14)(font "Arial" (font_size 8)))
|
||||
(text "CP_6" (rect 78 43 107 57)(font "Arial" (font_size 8)))
|
||||
(line (pt 128 48)(pt 112 48)(line_width 1))
|
||||
(pt 0 112)
|
||||
(input)
|
||||
(text "ALU_CP_EN0" (rect 0 0 76 14)(font "Arial" (font_size 8)))
|
||||
(text "ALU_CP_EN0" (rect 21 107 97 121)(font "Arial" (font_size 8)))
|
||||
(line (pt 0 112)(pt 16 112)(line_width 1))
|
||||
)
|
||||
(port
|
||||
(pt 128 64)
|
||||
(pt 144 32)
|
||||
(output)
|
||||
(text "CP_5" (rect 0 0 29 14)(font "Arial" (font_size 8)))
|
||||
(text "CP_5" (rect 78 59 107 73)(font "Arial" (font_size 8)))
|
||||
(line (pt 128 64)(pt 112 64)(line_width 1))
|
||||
(text "CP_7" (rect -40 0 -11 14)(font "Arial" (font_size 8)))
|
||||
(text "CP_7" (rect 94 27 123 41)(font "Arial" (font_size 8)))
|
||||
(line (pt 144 32)(pt 128 32)(line_width 1))
|
||||
)
|
||||
(port
|
||||
(pt 128 80)
|
||||
(pt 144 48)
|
||||
(output)
|
||||
(text "CP_4" (rect 0 0 29 14)(font "Arial" (font_size 8)))
|
||||
(text "CP_4" (rect 78 75 107 89)(font "Arial" (font_size 8)))
|
||||
(line (pt 128 80)(pt 112 80)(line_width 1))
|
||||
(text "CP_6" (rect -40 0 -11 14)(font "Arial" (font_size 8)))
|
||||
(text "CP_6" (rect 94 43 123 57)(font "Arial" (font_size 8)))
|
||||
(line (pt 144 48)(pt 128 48)(line_width 1))
|
||||
)
|
||||
(port
|
||||
(pt 128 96)
|
||||
(pt 144 64)
|
||||
(output)
|
||||
(text "CP_3" (rect 0 0 29 14)(font "Arial" (font_size 8)))
|
||||
(text "CP_3" (rect 78 91 107 105)(font "Arial" (font_size 8)))
|
||||
(line (pt 128 96)(pt 112 96)(line_width 1))
|
||||
(text "CP_5" (rect -40 0 -11 14)(font "Arial" (font_size 8)))
|
||||
(text "CP_5" (rect 94 59 123 73)(font "Arial" (font_size 8)))
|
||||
(line (pt 144 64)(pt 128 64)(line_width 1))
|
||||
)
|
||||
(port
|
||||
(pt 128 112)
|
||||
(pt 144 80)
|
||||
(output)
|
||||
(text "CP_2" (rect 0 0 29 14)(font "Arial" (font_size 8)))
|
||||
(text "CP_2" (rect 78 107 107 121)(font "Arial" (font_size 8)))
|
||||
(line (pt 128 112)(pt 112 112)(line_width 1))
|
||||
(text "CP_4" (rect -40 0 -11 14)(font "Arial" (font_size 8)))
|
||||
(text "CP_4" (rect 94 75 123 89)(font "Arial" (font_size 8)))
|
||||
(line (pt 144 80)(pt 128 80)(line_width 1))
|
||||
)
|
||||
(port
|
||||
(pt 128 128)
|
||||
(pt 144 96)
|
||||
(output)
|
||||
(text "CP_1" (rect 0 0 29 14)(font "Arial" (font_size 8)))
|
||||
(text "CP_1" (rect 78 123 107 137)(font "Arial" (font_size 8)))
|
||||
(line (pt 128 128)(pt 112 128)(line_width 1))
|
||||
(text "CP_3" (rect -40 0 -11 14)(font "Arial" (font_size 8)))
|
||||
(text "CP_3" (rect 94 91 123 105)(font "Arial" (font_size 8)))
|
||||
(line (pt 144 96)(pt 128 96)(line_width 1))
|
||||
)
|
||||
(port
|
||||
(pt 128 144)
|
||||
(pt 144 112)
|
||||
(output)
|
||||
(text "CP_0" (rect 0 0 29 14)(font "Arial" (font_size 8)))
|
||||
(text "CP_0" (rect 78 139 107 153)(font "Arial" (font_size 8)))
|
||||
(line (pt 128 144)(pt 112 144)(line_width 1))
|
||||
(text "CP_2" (rect -40 0 -11 14)(font "Arial" (font_size 8)))
|
||||
(text "CP_2" (rect 94 107 123 121)(font "Arial" (font_size 8)))
|
||||
(line (pt 144 112)(pt 128 112)(line_width 1))
|
||||
)
|
||||
(port
|
||||
(pt 144 128)
|
||||
(output)
|
||||
(text "CP_1" (rect -40 0 -11 14)(font "Arial" (font_size 8)))
|
||||
(text "CP_1" (rect 94 123 123 137)(font "Arial" (font_size 8)))
|
||||
(line (pt 144 128)(pt 128 128)(line_width 1))
|
||||
)
|
||||
(port
|
||||
(pt 144 144)
|
||||
(output)
|
||||
(text "CP_0" (rect -40 0 -11 14)(font "Arial" (font_size 8)))
|
||||
(text "CP_0" (rect 94 139 123 153)(font "Arial" (font_size 8)))
|
||||
(line (pt 144 144)(pt 128 144)(line_width 1))
|
||||
)
|
||||
(port
|
||||
(pt 144 176)
|
||||
(output)
|
||||
(text "ALU_CP3" (rect -40 0 14 14)(font "Arial" (font_size 8)))
|
||||
(text "ALU_CP3" (rect 69 171 123 185)(font "Arial" (font_size 8)))
|
||||
(line (pt 144 176)(pt 128 176)(line_width 1))
|
||||
)
|
||||
(port
|
||||
(pt 144 192)
|
||||
(output)
|
||||
(text "ALU_CP2" (rect -40 0 14 14)(font "Arial" (font_size 8)))
|
||||
(text "ALU_CP2" (rect 69 187 123 201)(font "Arial" (font_size 8)))
|
||||
(line (pt 144 192)(pt 128 192)(line_width 1))
|
||||
)
|
||||
(port
|
||||
(pt 144 208)
|
||||
(output)
|
||||
(text "ALU_CP1" (rect -40 0 14 14)(font "Arial" (font_size 8)))
|
||||
(text "ALU_CP1" (rect 69 203 123 217)(font "Arial" (font_size 8)))
|
||||
(line (pt 144 208)(pt 128 208)(line_width 1))
|
||||
)
|
||||
(port
|
||||
(pt 144 224)
|
||||
(output)
|
||||
(text "ALU_CP0" (rect -40 0 14 14)(font "Arial" (font_size 8)))
|
||||
(text "ALU_CP0" (rect 69 219 123 233)(font "Arial" (font_size 8)))
|
||||
(line (pt 144 224)(pt 128 224)(line_width 1))
|
||||
)
|
||||
(drawing
|
||||
(rectangle (rect 16 16 112 176)(line_width 1))
|
||||
(rectangle (rect 16 16 128 240)(line_width 1))
|
||||
)
|
||||
)
|
||||
|
新增問題並參考
封鎖使用者