把PSW的CP并入selector

This commit is contained in:
2022-05-24 17:59:14 +08:00
parent 6802c17dfc
commit 29bfc72238
3 changed files with 485 additions and 352 deletions

View File

@@ -20,7 +20,7 @@ applicable agreement for further details.
*/
(header "symbol" (version "1.1"))
(symbol
(rect 64 64 208 320)
(rect 64 64 232 320)
(text "cp_selector" (rect 5 0 72 14)(font "Arial" (font_size 8)))
(text "inst" (rect 8 240 25 252)(font "Arial" ))
(port
@@ -66,90 +66,104 @@ applicable agreement for further details.
(line (pt 0 112)(pt 16 112)(line_width 1))
)
(port
(pt 144 32)
(output)
(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))
(pt 0 128)
(input)
(text "ALU_CP_EN_PSW" (rect 0 0 103 14)(font "Arial" (font_size 8)))
(text "ALU_CP_EN_PSW" (rect 21 123 124 137)(font "Arial" (font_size 8)))
(line (pt 0 128)(pt 16 128)(line_width 1))
)
(port
(pt 144 48)
(pt 168 32)
(output)
(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))
(text "CP_7" (rect -72 0 -43 14)(font "Arial" (font_size 8)))
(text "CP_7" (rect 118 27 147 41)(font "Arial" (font_size 8)))
(line (pt 168 32)(pt 152 32)(line_width 1))
)
(port
(pt 144 64)
(pt 168 48)
(output)
(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))
(text "CP_6" (rect -72 0 -43 14)(font "Arial" (font_size 8)))
(text "CP_6" (rect 118 43 147 57)(font "Arial" (font_size 8)))
(line (pt 168 48)(pt 152 48)(line_width 1))
)
(port
(pt 144 80)
(pt 168 64)
(output)
(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))
(text "CP_5" (rect -72 0 -43 14)(font "Arial" (font_size 8)))
(text "CP_5" (rect 118 59 147 73)(font "Arial" (font_size 8)))
(line (pt 168 64)(pt 152 64)(line_width 1))
)
(port
(pt 144 96)
(pt 168 80)
(output)
(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))
(text "CP_4" (rect -72 0 -43 14)(font "Arial" (font_size 8)))
(text "CP_4" (rect 118 75 147 89)(font "Arial" (font_size 8)))
(line (pt 168 80)(pt 152 80)(line_width 1))
)
(port
(pt 144 112)
(pt 168 96)
(output)
(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))
(text "CP_3" (rect -72 0 -43 14)(font "Arial" (font_size 8)))
(text "CP_3" (rect 118 91 147 105)(font "Arial" (font_size 8)))
(line (pt 168 96)(pt 152 96)(line_width 1))
)
(port
(pt 144 128)
(pt 168 112)
(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))
(text "CP_2" (rect -72 0 -43 14)(font "Arial" (font_size 8)))
(text "CP_2" (rect 118 107 147 121)(font "Arial" (font_size 8)))
(line (pt 168 112)(pt 152 112)(line_width 1))
)
(port
(pt 144 144)
(pt 168 128)
(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))
(text "CP_1" (rect -72 0 -43 14)(font "Arial" (font_size 8)))
(text "CP_1" (rect 118 123 147 137)(font "Arial" (font_size 8)))
(line (pt 168 128)(pt 152 128)(line_width 1))
)
(port
(pt 144 176)
(pt 168 144)
(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))
(text "CP_0" (rect -72 0 -43 14)(font "Arial" (font_size 8)))
(text "CP_0" (rect 118 139 147 153)(font "Arial" (font_size 8)))
(line (pt 168 144)(pt 152 144)(line_width 1))
)
(port
(pt 144 192)
(pt 168 160)
(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))
(text "ALU_CP3" (rect -72 0 -18 14)(font "Arial" (font_size 8)))
(text "ALU_CP3" (rect 93 155 147 169)(font "Arial" (font_size 8)))
(line (pt 168 160)(pt 152 160)(line_width 1))
)
(port
(pt 144 208)
(pt 168 176)
(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))
(text "ALU_CP2" (rect -72 0 -18 14)(font "Arial" (font_size 8)))
(text "ALU_CP2" (rect 93 171 147 185)(font "Arial" (font_size 8)))
(line (pt 168 176)(pt 152 176)(line_width 1))
)
(port
(pt 144 224)
(pt 168 192)
(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))
(text "ALU_CP1" (rect -72 0 -18 14)(font "Arial" (font_size 8)))
(text "ALU_CP1" (rect 93 187 147 201)(font "Arial" (font_size 8)))
(line (pt 168 192)(pt 152 192)(line_width 1))
)
(port
(pt 168 208)
(output)
(text "ALU_CP0" (rect -72 0 -18 14)(font "Arial" (font_size 8)))
(text "ALU_CP0" (rect 93 203 147 217)(font "Arial" (font_size 8)))
(line (pt 168 208)(pt 152 208)(line_width 1))
)
(port
(pt 168 224)
(output)
(text "ALU_CP_PSW" (rect -72 0 9 14)(font "Arial" (font_size 8)))
(text "ALU_CP_PSW" (rect 66 219 147 233)(font "Arial" (font_size 8)))
(line (pt 168 224)(pt 152 224)(line_width 1))
)
(drawing
(rectangle (rect 16 16 128 240)(line_width 1))
(rectangle (rect 16 16 152 240)(line_width 1))
)
)