upgrade single adder to ALU with adder & shifter
This commit is contained in:
@@ -20,9 +20,9 @@ applicable agreement for further details.
|
||||
*/
|
||||
(header "symbol" (version "1.1"))
|
||||
(symbol
|
||||
(rect 16 16 144 400)
|
||||
(rect 64 64 192 480)
|
||||
(text "ALU_3_in_1" (rect 5 0 74 14)(font "Arial" (font_size 8)))
|
||||
(text "inst" (rect 8 368 25 380)(font "Arial" ))
|
||||
(text "inst" (rect 8 400 25 412)(font "Arial" ))
|
||||
(port
|
||||
(pt 0 32)
|
||||
(input)
|
||||
@@ -163,6 +163,20 @@ applicable agreement for further details.
|
||||
(text "CP_Z" (rect 21 331 51 345)(font "Arial" (font_size 8)))
|
||||
(line (pt 0 336)(pt 16 336)(line_width 1))
|
||||
)
|
||||
(port
|
||||
(pt 0 352)
|
||||
(input)
|
||||
(text "S1" (rect 0 0 15 14)(font "Arial" (font_size 8)))
|
||||
(text "S1" (rect 21 347 36 361)(font "Arial" (font_size 8)))
|
||||
(line (pt 0 352)(pt 16 352)(line_width 1))
|
||||
)
|
||||
(port
|
||||
(pt 0 368)
|
||||
(input)
|
||||
(text "S0" (rect 0 0 15 14)(font "Arial" (font_size 8)))
|
||||
(text "S0" (rect 21 363 36 377)(font "Arial" (font_size 8)))
|
||||
(line (pt 0 368)(pt 16 368)(line_width 1))
|
||||
)
|
||||
(port
|
||||
(pt 128 32)
|
||||
(output)
|
||||
@@ -219,35 +233,35 @@ applicable agreement for further details.
|
||||
(text "Q7" (rect 91 139 107 153)(font "Arial" (font_size 8)))
|
||||
(line (pt 128 144)(pt 112 144)(line_width 1))
|
||||
)
|
||||
(port
|
||||
(pt 128 160)
|
||||
(output)
|
||||
(text "FLG_V" (rect 0 0 40 14)(font "Arial" (font_size 8)))
|
||||
(text "FLG_V" (rect 67 155 107 169)(font "Arial" (font_size 8)))
|
||||
(line (pt 128 160)(pt 112 160)(line_width 1))
|
||||
)
|
||||
(port
|
||||
(pt 128 176)
|
||||
(output)
|
||||
(text "FLG_N" (rect 0 0 38 14)(font "Arial" (font_size 8)))
|
||||
(text "FLG_N" (rect 69 171 107 185)(font "Arial" (font_size 8)))
|
||||
(text "FLG_V" (rect 0 0 40 14)(font "Arial" (font_size 8)))
|
||||
(text "FLG_V" (rect 67 171 107 185)(font "Arial" (font_size 8)))
|
||||
(line (pt 128 176)(pt 112 176)(line_width 1))
|
||||
)
|
||||
(port
|
||||
(pt 128 192)
|
||||
(output)
|
||||
(text "FLG_Z" (rect 0 0 38 14)(font "Arial" (font_size 8)))
|
||||
(text "FLG_Z" (rect 69 187 107 201)(font "Arial" (font_size 8)))
|
||||
(text "FLG_N" (rect 0 0 38 14)(font "Arial" (font_size 8)))
|
||||
(text "FLG_N" (rect 69 187 107 201)(font "Arial" (font_size 8)))
|
||||
(line (pt 128 192)(pt 112 192)(line_width 1))
|
||||
)
|
||||
(port
|
||||
(pt 128 208)
|
||||
(output)
|
||||
(text "FLG_C" (rect 0 0 38 14)(font "Arial" (font_size 8)))
|
||||
(text "FLG_C" (rect 69 203 107 217)(font "Arial" (font_size 8)))
|
||||
(text "FLG_Z" (rect 0 0 38 14)(font "Arial" (font_size 8)))
|
||||
(text "FLG_Z" (rect 69 203 107 217)(font "Arial" (font_size 8)))
|
||||
(line (pt 128 208)(pt 112 208)(line_width 1))
|
||||
)
|
||||
(port
|
||||
(pt 128 160)
|
||||
(output)
|
||||
(text "FLG_C" (rect 0 0 38 14)(font "Arial" (font_size 8)))
|
||||
(text "FLG_C" (rect 69 155 107 169)(font "Arial" (font_size 8)))
|
||||
(line (pt 128 160)(pt 112 160)(line_width 1))
|
||||
)
|
||||
(drawing
|
||||
(rectangle (rect 16 16 112 368)(line_width 1))
|
||||
(rectangle (rect 16 16 112 400)(line_width 1))
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user