URL
https://opencores.org/ocsvn/a-z80/a-z80/trunk
Subversion Repositories a-z80
[/] [a-z80/] [trunk/] [cpu/] [alu/] [alu_control.bdf] - Rev 4
Go to most recent revision | Compare with Previous | Blame | View Log
/*
WARNING: Do NOT edit the input and output ports in this file in a text
editor if you plan to continue editing the block that represents it in
the Block Editor! File corruption is VERY likely to occur.
*/
/*
Copyright (C) 1991-2013 Altera Corporation
Your use of Altera Corporation's design tools, logic functions
and other software and tools, and its AMPP partner logic
functions, and any output files from any of the foregoing
(including device programming or simulation files), and any
associated documentation or information are expressly subject
to the terms and conditions of the Altera Program License
Subscription Agreement, Altera MegaCore Function License
Agreement, or other applicable license agreement, including,
without limitation, that your use is for the sole purpose of
programming logic devices manufactured by Altera and sold by
Altera or its authorized distributors. Please refer to the
applicable agreement for further details.
*/
(header "graphic" (version "1.4"))
(pin
(input)
(rect 32 256 208 272)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "op543[2..0]" (rect 9 0 64 12)(font "Arial" ))
(pt 176 8)
(drawing
(line (pt 92 12)(pt 117 12))
(line (pt 92 4)(pt 117 4))
(line (pt 121 8)(pt 176 8))
(line (pt 92 12)(pt 92 4))
(line (pt 117 4)(pt 121 8))
(line (pt 117 12)(pt 121 8))
)
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
)
(pin
(input)
(rect 32 88 208 104)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "alu_shift_db0" (rect 9 0 75 12)(font "Arial" ))
(pt 176 8)
(drawing
(line (pt 92 12)(pt 117 12))
(line (pt 92 4)(pt 117 4))
(line (pt 121 8)(pt 176 8))
(line (pt 92 12)(pt 92 4))
(line (pt 117 4)(pt 121 8))
(line (pt 117 12)(pt 121 8))
)
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
)
(pin
(input)
(rect 32 40 208 56)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "alu_shift_db7" (rect 9 0 75 12)(font "Arial" ))
(pt 176 8)
(drawing
(line (pt 92 12)(pt 117 12))
(line (pt 92 4)(pt 117 4))
(line (pt 121 8)(pt 176 8))
(line (pt 92 12)(pt 92 4))
(line (pt 117 4)(pt 121 8))
(line (pt 117 12)(pt 121 8))
)
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
)
(pin
(input)
(rect 32 144 208 160)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "ctl_shift_en" (rect 9 0 66 12)(font "Arial" ))
(pt 176 8)
(drawing
(line (pt 92 12)(pt 117 12))
(line (pt 92 4)(pt 117 4))
(line (pt 121 8)(pt 176 8))
(line (pt 92 12)(pt 92 4))
(line (pt 117 4)(pt 121 8))
(line (pt 117 12)(pt 121 8))
)
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
)
(pin
(input)
(rect 32 872 208 888)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "alu_low_gt_9" (rect 9 0 71 12)(font "Arial" ))
(pt 176 8)
(drawing
(line (pt 92 12)(pt 117 12))
(line (pt 92 4)(pt 117 4))
(line (pt 121 8)(pt 176 8))
(line (pt 92 12)(pt 92 4))
(line (pt 117 4)(pt 121 8))
(line (pt 117 12)(pt 121 8))
)
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
)
(pin
(input)
(rect 32 992 208 1008)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "alu_high_gt_9" (rect 9 0 76 12)(font "Arial" ))
(pt 176 8)
(drawing
(line (pt 92 12)(pt 117 12))
(line (pt 92 4)(pt 117 4))
(line (pt 121 8)(pt 176 8))
(line (pt 92 12)(pt 92 4))
(line (pt 117 4)(pt 121 8))
(line (pt 117 12)(pt 121 8))
)
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
)
(pin
(input)
(rect 32 968 208 984)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "alu_high_eq_9" (rect 9 0 78 12)(font "Arial" ))
(pt 176 8)
(drawing
(line (pt 92 12)(pt 117 12))
(line (pt 92 4)(pt 117 4))
(line (pt 121 8)(pt 176 8))
(line (pt 92 12)(pt 92 4))
(line (pt 117 4)(pt 121 8))
(line (pt 117 12)(pt 121 8))
)
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
)
(pin
(input)
(rect 32 800 208 816)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "ctl_daa_oe" (rect 9 0 62 12)(font "Arial" ))
(pt 176 8)
(drawing
(line (pt 92 12)(pt 117 12))
(line (pt 92 4)(pt 117 4))
(line (pt 121 8)(pt 176 8))
(line (pt 92 12)(pt 92 4))
(line (pt 117 4)(pt 121 8))
(line (pt 117 12)(pt 121 8))
)
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
)
(pin
(input)
(rect 32 1192 208 1208)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "ctl_alu_op_low" (rect 9 0 79 12)(font "Arial" ))
(pt 176 8)
(drawing
(line (pt 92 12)(pt 117 12))
(line (pt 92 4)(pt 117 4))
(line (pt 121 8)(pt 176 8))
(line (pt 92 12)(pt 92 4))
(line (pt 117 4)(pt 121 8))
(line (pt 117 12)(pt 121 8))
)
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
)
(pin
(input)
(rect 32 1160 208 1176)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "alu_parity_out" (rect 9 0 78 12)(font "Arial" ))
(pt 176 8)
(drawing
(line (pt 92 12)(pt 117 12))
(line (pt 92 4)(pt 117 4))
(line (pt 121 8)(pt 176 8))
(line (pt 92 12)(pt 92 4))
(line (pt 117 4)(pt 121 8))
(line (pt 117 12)(pt 121 8))
)
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
)
(pin
(input)
(rect 32 648 208 664)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "flags_cf" (rect 9 0 50 12)(font "Arial" ))
(pt 176 8)
(drawing
(line (pt 92 12)(pt 117 12))
(line (pt 92 4)(pt 117 4))
(line (pt 121 8)(pt 176 8))
(line (pt 92 12)(pt 92 4))
(line (pt 117 4)(pt 121 8))
(line (pt 117 12)(pt 121 8))
)
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
)
(pin
(input)
(rect 32 632 208 648)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "flags_zf" (rect 9 0 49 12)(font "Arial" ))
(pt 176 8)
(drawing
(line (pt 92 12)(pt 117 12))
(line (pt 92 4)(pt 117 4))
(line (pt 121 8)(pt 176 8))
(line (pt 92 12)(pt 92 4))
(line (pt 117 4)(pt 121 8))
(line (pt 117 12)(pt 121 8))
)
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
)
(pin
(input)
(rect 32 664 208 680)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "flags_pf" (rect 9 0 50 12)(font "Arial" ))
(pt 176 8)
(drawing
(line (pt 92 12)(pt 117 12))
(line (pt 92 4)(pt 117 4))
(line (pt 121 8)(pt 176 8))
(line (pt 92 12)(pt 92 4))
(line (pt 117 4)(pt 121 8))
(line (pt 117 12)(pt 121 8))
)
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
)
(pin
(input)
(rect 32 680 208 696)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "flags_sf" (rect 9 0 50 12)(font "Arial" ))
(pt 176 8)
(drawing
(line (pt 92 12)(pt 117 12))
(line (pt 92 4)(pt 117 4))
(line (pt 121 8)(pt 176 8))
(line (pt 92 12)(pt 92 4))
(line (pt 117 4)(pt 121 8))
(line (pt 117 12)(pt 121 8))
)
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
)
(pin
(input)
(rect 32 600 208 616)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "ctl_cond_short" (rect 9 0 80 12)(font "Arial" ))
(pt 176 8)
(drawing
(line (pt 92 12)(pt 117 12))
(line (pt 92 4)(pt 117 4))
(line (pt 121 8)(pt 176 8))
(line (pt 92 12)(pt 92 4))
(line (pt 117 4)(pt 121 8))
(line (pt 117 12)(pt 121 8))
)
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
)
(pin
(input)
(rect 32 1416 208 1432)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "alu_vf_out" (rect 9 0 62 12)(font "Arial" ))
(pt 176 8)
(drawing
(line (pt 92 12)(pt 117 12))
(line (pt 92 4)(pt 117 4))
(line (pt 121 8)(pt 176 8))
(line (pt 92 12)(pt 92 4))
(line (pt 117 4)(pt 121 8))
(line (pt 117 12)(pt 121 8))
)
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
)
(pin
(input)
(rect 32 1432 208 1448)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "iff2" (rect 9 0 26 12)(font "Arial" ))
(pt 176 8)
(drawing
(line (pt 92 12)(pt 117 12))
(line (pt 92 4)(pt 117 4))
(line (pt 121 8)(pt 176 8))
(line (pt 92 12)(pt 92 4))
(line (pt 117 4)(pt 121 8))
(line (pt 117 12)(pt 121 8))
)
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
)
(pin
(input)
(rect 32 1384 208 1400)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "ctl_pf_sel[1..0]" (rect 9 0 83 12)(font "Arial" ))
(pt 176 8)
(drawing
(line (pt 92 12)(pt 117 12))
(line (pt 92 4)(pt 117 4))
(line (pt 121 8)(pt 176 8))
(line (pt 92 12)(pt 92 4))
(line (pt 117 4)(pt 121 8))
(line (pt 117 12)(pt 121 8))
)
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
)
(pin
(input)
(rect 32 1552 208 1568)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "ctl_alu_core_hf" (rect 9 0 84 12)(font "Arial" ))
(pt 176 8)
(drawing
(line (pt 92 12)(pt 117 12))
(line (pt 92 4)(pt 117 4))
(line (pt 121 8)(pt 176 8))
(line (pt 92 12)(pt 92 4))
(line (pt 117 4)(pt 121 8))
(line (pt 117 12)(pt 121 8))
)
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
)
(pin
(input)
(rect 32 728 208 744)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "ctl_eval_cond" (rect 9 0 77 12)(font "Arial" ))
(pt 176 8)
(drawing
(line (pt 92 12)(pt 117 12))
(line (pt 92 4)(pt 117 4))
(line (pt 121 8)(pt 176 8))
(line (pt 92 12)(pt 92 4))
(line (pt 117 4)(pt 121 8))
(line (pt 117 12)(pt 121 8))
)
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
)
(pin
(input)
(rect 32 1448 208 1464)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "repeat_en" (rect 9 0 57 12)(font "Arial" ))
(pt 176 8)
(drawing
(line (pt 92 12)(pt 117 12))
(line (pt 92 4)(pt 117 4))
(line (pt 121 8)(pt 176 8))
(line (pt 92 12)(pt 92 4))
(line (pt 117 4)(pt 121 8))
(line (pt 117 12)(pt 121 8))
)
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
)
(pin
(input)
(rect 32 304 208 320)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "flags_cf_latch" (rect 9 0 79 12)(font "Arial" ))
(pt 176 8)
(drawing
(line (pt 92 12)(pt 117 12))
(line (pt 92 4)(pt 117 4))
(line (pt 121 8)(pt 176 8))
(line (pt 92 12)(pt 92 4))
(line (pt 117 4)(pt 121 8))
(line (pt 117 12)(pt 121 8))
)
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
)
(pin
(input)
(rect 32 888 208 904)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "flags_hf2" (rect 9 0 56 12)(font "Arial" ))
(pt 176 8)
(drawing
(line (pt 92 12)(pt 117 12))
(line (pt 92 4)(pt 117 4))
(line (pt 121 8)(pt 176 8))
(line (pt 92 12)(pt 92 4))
(line (pt 117 4)(pt 121 8))
(line (pt 117 12)(pt 121 8))
)
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
)
(pin
(input)
(rect 32 1592 208 1608)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "flags_hf" (rect 9 0 50 12)(font "Arial" ))
(pt 176 8)
(drawing
(line (pt 92 12)(pt 117 12))
(line (pt 92 4)(pt 117 4))
(line (pt 121 8)(pt 176 8))
(line (pt 92 12)(pt 92 4))
(line (pt 117 4)(pt 121 8))
(line (pt 117 12)(pt 121 8))
)
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
)
(pin
(input)
(rect 32 840 208 856)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "ctl_66_oe" (rect 9 0 56 12)(font "Arial" ))
(pt 176 8)
(drawing
(line (pt 92 12)(pt 117 12))
(line (pt 92 4)(pt 117 4))
(line (pt 121 8)(pt 176 8))
(line (pt 92 12)(pt 92 4))
(line (pt 117 4)(pt 121 8))
(line (pt 117 12)(pt 121 8))
)
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
)
(pin
(input)
(rect 32 1176 208 1192)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "clk" (rect 9 0 23 12)(font "Arial" ))
(pt 176 8)
(drawing
(line (pt 92 12)(pt 117 12))
(line (pt 92 4)(pt 117 4))
(line (pt 121 8)(pt 176 8))
(line (pt 92 12)(pt 92 4))
(line (pt 117 4)(pt 121 8))
(line (pt 117 12)(pt 121 8))
)
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
)
(pin
(output)
(rect 648 256 824 272)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "alu_shift_in" (rect 90 0 146 12)(font "Arial" ))
(pt 0 8)
(drawing
(line (pt 0 8)(pt 52 8))
(line (pt 52 4)(pt 78 4))
(line (pt 52 12)(pt 78 12))
(line (pt 52 12)(pt 52 4))
(line (pt 78 4)(pt 82 8))
(line (pt 82 8)(pt 78 12))
(line (pt 78 12)(pt 82 8))
)
)
(pin
(output)
(rect 648 200 824 216)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "alu_shift_right" (rect 90 0 159 12)(font "Arial" ))
(pt 0 8)
(drawing
(line (pt 0 8)(pt 52 8))
(line (pt 52 4)(pt 78 4))
(line (pt 52 12)(pt 78 12))
(line (pt 52 12)(pt 52 4))
(line (pt 78 4)(pt 82 8))
(line (pt 82 8)(pt 78 12))
(line (pt 78 12)(pt 82 8))
)
)
(pin
(output)
(rect 648 152 824 168)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "alu_shift_left" (rect 90 0 154 12)(font "Arial" ))
(pt 0 8)
(drawing
(line (pt 0 8)(pt 52 8))
(line (pt 52 4)(pt 78 4))
(line (pt 52 12)(pt 78 12))
(line (pt 52 12)(pt 52 4))
(line (pt 78 4)(pt 82 8))
(line (pt 82 8)(pt 78 12))
(line (pt 78 12)(pt 82 8))
)
)
(pin
(output)
(rect 648 72 824 88)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "shift_cf_out" (rect 90 0 150 12)(font "Arial" ))
(pt 0 8)
(drawing
(line (pt 0 8)(pt 52 8))
(line (pt 52 4)(pt 78 4))
(line (pt 52 12)(pt 78 12))
(line (pt 52 12)(pt 52 4))
(line (pt 78 4)(pt 82 8))
(line (pt 82 8)(pt 78 12))
(line (pt 78 12)(pt 82 8))
)
)
(pin
(output)
(rect 792 872 968 888)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "db[7..0]" (rect 90 0 127 12)(font "Arial" ))
(pt 0 8)
(drawing
(line (pt 0 8)(pt 52 8))
(line (pt 52 4)(pt 78 4))
(line (pt 52 12)(pt 78 12))
(line (pt 52 12)(pt 52 4))
(line (pt 78 4)(pt 82 8))
(line (pt 82 8)(pt 78 12))
(line (pt 78 12)(pt 82 8))
)
)
(pin
(output)
(rect 576 1248 752 1264)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "alu_parity_in" (rect 90 0 152 12)(font "Arial" ))
(pt 0 8)
(drawing
(line (pt 0 8)(pt 52 8))
(line (pt 52 4)(pt 78 4))
(line (pt 52 12)(pt 78 12))
(line (pt 52 12)(pt 52 4))
(line (pt 78 4)(pt 82 8))
(line (pt 82 8)(pt 78 12))
(line (pt 78 12)(pt 82 8))
)
)
(pin
(output)
(rect 800 608 976 624)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "flags_cond_true" (rect 90 0 169 12)(font "Arial" ))
(pt 0 8)
(drawing
(line (pt 0 8)(pt 52 8))
(line (pt 52 4)(pt 78 4))
(line (pt 52 12)(pt 78 12))
(line (pt 52 12)(pt 52 4))
(line (pt 78 4)(pt 82 8))
(line (pt 82 8)(pt 78 12))
(line (pt 78 12)(pt 82 8))
)
)
(pin
(output)
(rect 792 1072 968 1088)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "daa_cf_out" (rect 90 0 145 12)(font "Arial" ))
(pt 0 8)
(drawing
(line (pt 0 8)(pt 52 8))
(line (pt 52 4)(pt 78 4))
(line (pt 52 12)(pt 78 12))
(line (pt 52 12)(pt 52 4))
(line (pt 78 4)(pt 82 8))
(line (pt 82 8)(pt 78 12))
(line (pt 78 12)(pt 82 8))
)
)
(pin
(output)
(rect 584 1384 760 1400)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "pf_sel" (rect 90 0 120 12)(font "Arial" ))
(pt 0 8)
(drawing
(line (pt 0 8)(pt 52 8))
(line (pt 52 4)(pt 78 4))
(line (pt 52 12)(pt 78 12))
(line (pt 52 12)(pt 52 4))
(line (pt 78 4)(pt 82 8))
(line (pt 82 8)(pt 78 12))
(line (pt 78 12)(pt 82 8))
)
)
(pin
(output)
(rect 576 1288 752 1304)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "alu_op_low" (rect 90 0 143 12)(font "Arial" ))
(pt 0 8)
(drawing
(line (pt 0 8)(pt 52 8))
(line (pt 52 4)(pt 78 4))
(line (pt 52 12)(pt 78 12))
(line (pt 52 12)(pt 52 4))
(line (pt 78 4)(pt 82 8))
(line (pt 82 8)(pt 78 12))
(line (pt 78 12)(pt 82 8))
)
)
(pin
(output)
(rect 528 1608 704 1624)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "alu_core_cf_in" (rect 90 0 161 12)(font "Arial" ))
(pt 0 8)
(drawing
(line (pt 0 8)(pt 52 8))
(line (pt 52 4)(pt 78 4))
(line (pt 52 12)(pt 78 12))
(line (pt 52 12)(pt 52 4))
(line (pt 78 4)(pt 82 8))
(line (pt 82 8)(pt 78 12))
(line (pt 78 12)(pt 82 8))
)
)
(symbol
(rect 336 352 368 368)
(text "VCC" (rect 7 0 27 10)(font "Arial" (font_size 6)))
(text "vcc_inst" (rect 3 5 45 17)(font "Arial" )(invisible))
(port
(pt 16 16)
(output)
(text "1" (rect 19 7 24 19)(font "Courier New" (bold))(invisible))
(text "1" (rect 19 7 24 19)(font "Courier New" (bold))(invisible))
(line (pt 16 16)(pt 16 8))
)
(drawing
(line (pt 8 8)(pt 24 8))
)
)
(symbol
(rect 384 408 416 440)
(text "GND" (rect 8 16 29 26)(font "Arial" (font_size 6)))
(text "gnd_inst" (rect 3 21 44 33)(font "Arial" )(invisible))
(port
(pt 16 0)
(output)
(text "1" (rect 18 0 23 12)(font "Courier New" (bold))(invisible))
(text "1" (rect 18 0 23 12)(font "Courier New" (bold))(invisible))
(line (pt 16 8)(pt 16 0))
)
(drawing
(line (pt 8 8)(pt 16 16))
(line (pt 16 16)(pt 24 8))
(line (pt 8 8)(pt 24 8))
)
)
(symbol
(rect 448 232 560 424)
(text "alu_mux_8" (rect 5 0 66 14)(font "Arial" (font_size 8)))
(text "inst_shift_mux" (rect 8 176 81 188)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "sel[2..0]" (rect 0 0 44 14)(font "Arial" (font_size 8)))
(text "sel[2..0]" (rect 21 27 65 41)(font "Arial" (font_size 8)))
(line (pt 0 32)(pt 16 32)(line_width 3))
)
(port
(pt 0 48)
(input)
(text "in0" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "in0" (rect 21 43 37 57)(font "Arial" (font_size 8)))
(line (pt 0 48)(pt 16 48))
)
(port
(pt 0 64)
(input)
(text "in1" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "in1" (rect 21 59 37 73)(font "Arial" (font_size 8)))
(line (pt 0 64)(pt 16 64))
)
(port
(pt 0 80)
(input)
(text "in2" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "in2" (rect 21 75 37 89)(font "Arial" (font_size 8)))
(line (pt 0 80)(pt 16 80))
)
(port
(pt 0 96)
(input)
(text "in3" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "in3" (rect 21 91 37 105)(font "Arial" (font_size 8)))
(line (pt 0 96)(pt 16 96))
)
(port
(pt 0 112)
(input)
(text "in4" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "in4" (rect 21 107 37 121)(font "Arial" (font_size 8)))
(line (pt 0 112)(pt 16 112))
)
(port
(pt 0 128)
(input)
(text "in5" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "in5" (rect 21 123 37 137)(font "Arial" (font_size 8)))
(line (pt 0 128)(pt 16 128))
)
(port
(pt 0 144)
(input)
(text "in6" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "in6" (rect 21 139 37 153)(font "Arial" (font_size 8)))
(line (pt 0 144)(pt 16 144))
)
(port
(pt 0 160)
(input)
(text "in7" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "in7" (rect 21 155 37 169)(font "Arial" (font_size 8)))
(line (pt 0 160)(pt 16 160))
)
(port
(pt 112 32)
(output)
(text "out" (rect 0 0 17 14)(font "Arial" (font_size 8)))
(text "out" (rect 74 27 91 41)(font "Arial" (font_size 8)))
(line (pt 112 32)(pt 96 32))
)
(drawing
(rectangle (rect 16 16 96 176))
)
)
(symbol
(rect 480 136 544 184)
(text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6)))
(text "inst2" (rect 3 37 26 49)(font "Arial" ))
(port
(pt 0 16)
(input)
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(line (pt 0 16)(pt 14 16))
)
(port
(pt 0 32)
(input)
(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(line (pt 0 32)(pt 14 32))
)
(port
(pt 64 24)
(output)
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 48 15 62 27)(font "Courier New" (bold))(invisible))
(line (pt 42 24)(pt 64 24))
)
(drawing
(line (pt 14 12)(pt 30 12))
(line (pt 14 37)(pt 31 37))
(line (pt 14 12)(pt 14 37))
(arc (pt 31 37)(pt 30 12)(rect 18 12 43 37))
)
)
(symbol
(rect 480 184 544 232)
(text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6)))
(text "inst1" (rect 3 37 26 49)(font "Arial" ))
(port
(pt 0 16)
(input)
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(line (pt 0 16)(pt 14 16))
)
(port
(pt 0 32)
(input)
(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(line (pt 0 32)(pt 14 32))
)
(port
(pt 64 24)
(output)
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 48 15 62 27)(font "Courier New" (bold))(invisible))
(line (pt 42 24)(pt 64 24))
)
(drawing
(line (pt 14 12)(pt 30 12))
(line (pt 14 37)(pt 31 37))
(line (pt 14 12)(pt 14 37))
(arc (pt 31 37)(pt 30 12)(rect 18 12 43 37))
)
)
(symbol
(rect 384 152 432 184)
(text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6)))
(text "not1" (rect 3 21 24 33)(font "Arial" ))
(port
(pt 0 16)
(input)
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
(line (pt 0 16)(pt 13 16))
)
(port
(pt 48 16)
(output)
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 32 7 46 19)(font "Courier New" (bold))(invisible))
(line (pt 39 16)(pt 48 16))
)
(drawing
(line (pt 13 25)(pt 13 7))
(line (pt 13 7)(pt 31 16))
(line (pt 13 25)(pt 31 16))
(circle (rect 31 12 39 20))
)
)
(symbol
(rect 384 48 432 80)
(text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6)))
(text "not2" (rect 3 21 24 33)(font "Arial" ))
(port
(pt 0 16)
(input)
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
(line (pt 0 16)(pt 13 16))
)
(port
(pt 48 16)
(output)
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 32 7 46 19)(font "Courier New" (bold))(invisible))
(line (pt 39 16)(pt 48 16))
)
(drawing
(line (pt 13 25)(pt 13 7))
(line (pt 13 7)(pt 31 16))
(line (pt 13 25)(pt 31 16))
(circle (rect 31 12 39 20))
)
)
(symbol
(rect 480 80 544 128)
(text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6)))
(text "inst3" (rect 3 37 26 49)(font "Arial" ))
(port
(pt 0 16)
(input)
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(line (pt 0 16)(pt 14 16))
)
(port
(pt 0 32)
(input)
(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(line (pt 0 32)(pt 14 32))
)
(port
(pt 64 24)
(output)
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 48 15 62 27)(font "Courier New" (bold))(invisible))
(line (pt 42 24)(pt 64 24))
)
(drawing
(line (pt 14 12)(pt 30 12))
(line (pt 14 37)(pt 31 37))
(line (pt 14 12)(pt 14 37))
(arc (pt 31 37)(pt 30 12)(rect 18 12 43 37))
)
)
(symbol
(rect 480 32 544 80)
(text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6)))
(text "inst4" (rect 3 37 26 49)(font "Arial" ))
(port
(pt 0 16)
(input)
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(line (pt 0 16)(pt 14 16))
)
(port
(pt 0 32)
(input)
(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(line (pt 0 32)(pt 14 32))
)
(port
(pt 64 24)
(output)
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 48 15 62 27)(font "Courier New" (bold))(invisible))
(line (pt 42 24)(pt 64 24))
)
(drawing
(line (pt 14 12)(pt 30 12))
(line (pt 14 37)(pt 31 37))
(line (pt 14 12)(pt 14 37))
(arc (pt 31 37)(pt 30 12)(rect 18 12 43 37))
)
)
(symbol
(rect 576 56 640 104)
(text "OR2" (rect 1 0 19 10)(font "Arial" (font_size 6)))
(text "inst5" (rect 3 37 26 49)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(line (pt 0 32)(pt 15 32))
)
(port
(pt 0 16)
(input)
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(line (pt 0 16)(pt 15 16))
)
(port
(pt 64 24)
(output)
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 48 15 62 27)(font "Courier New" (bold))(invisible))
(line (pt 48 24)(pt 64 24))
)
(drawing
(line (pt 14 36)(pt 25 36))
(line (pt 14 13)(pt 25 13))
(arc (pt 7 29)(pt 7 19)(rect -14 8 19 41))
(arc (pt 49 24)(pt 25 13)(rect -6 13 57 76))
(arc (pt 25 35)(pt 49 24)(rect -6 -27 57 36))
)
)
(symbol
(rect 704 864 752 896)
(text "TRI" (rect 1 0 16 10)(font "Arial" (font_size 6)))
(text "inst" (rect 3 21 20 33)(font "Arial" ))
(port
(pt 0 16)
(input)
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
(line (pt 0 16)(pt 14 16))
)
(port
(pt 24 0)
(input)
(text "OE" (rect 26 0 37 12)(font "Courier New" (bold))(invisible))
(text "OE" (rect 26 0 37 12)(font "Courier New" (bold))(invisible))
(line (pt 24 12)(pt 24 0))
)
(port
(pt 48 16)
(output)
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 32 7 46 19)(font "Courier New" (bold))(invisible))
(line (pt 32 16)(pt 48 16))
)
(drawing
(line (pt 14 25)(pt 14 7))
(line (pt 14 25)(pt 32 16))
(line (pt 14 7)(pt 32 16))
)
)
(symbol
(rect 320 864 384 912)
(text "OR2" (rect 1 0 19 10)(font "Arial" (font_size 6)))
(text "inst22" (rect 3 37 32 49)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(line (pt 0 32)(pt 15 32))
)
(port
(pt 0 16)
(input)
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(line (pt 0 16)(pt 15 16))
)
(port
(pt 64 24)
(output)
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 48 15 62 27)(font "Courier New" (bold))(invisible))
(line (pt 48 24)(pt 64 24))
)
(drawing
(line (pt 14 36)(pt 25 36))
(line (pt 14 13)(pt 25 13))
(arc (pt 7 29)(pt 7 19)(rect -14 8 19 41))
(arc (pt 49 24)(pt 25 13)(rect -6 13 57 76))
(arc (pt 25 35)(pt 49 24)(rect -6 -27 57 36))
)
)
(symbol
(rect 320 944 384 992)
(text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6)))
(text "inst23" (rect 3 37 32 49)(font "Arial" ))
(port
(pt 0 16)
(input)
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(line (pt 0 16)(pt 14 16))
)
(port
(pt 0 32)
(input)
(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(line (pt 0 32)(pt 14 32))
)
(port
(pt 64 24)
(output)
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 48 15 62 27)(font "Courier New" (bold))(invisible))
(line (pt 42 24)(pt 64 24))
)
(drawing
(line (pt 14 12)(pt 30 12))
(line (pt 14 37)(pt 31 37))
(line (pt 14 12)(pt 14 37))
(arc (pt 31 37)(pt 30 12)(rect 18 12 43 37))
)
)
(symbol
(rect 584 1096 616 1128)
(text "GND" (rect 8 16 29 26)(font "Arial" (font_size 6)))
(text "gnd_inst8" (rect 3 21 50 33)(font "Arial" )(invisible))
(port
(pt 16 0)
(output)
(text "1" (rect 18 0 23 12)(font "Courier New" (bold))(invisible))
(text "1" (rect 18 0 23 12)(font "Courier New" (bold))(invisible))
(line (pt 16 8)(pt 16 0))
)
(drawing
(line (pt 8 8)(pt 16 16))
(line (pt 16 16)(pt 24 8))
(line (pt 8 8)(pt 24 8))
)
)
(symbol
(rect 224 592 272 624)
(text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6)))
(text "notcc" (rect 3 21 30 33)(font "Arial" ))
(port
(pt 0 16)
(input)
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
(line (pt 0 16)(pt 13 16))
)
(port
(pt 48 16)
(output)
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 32 7 46 19)(font "Courier New" (bold))(invisible))
(line (pt 39 16)(pt 48 16))
)
(drawing
(line (pt 13 25)(pt 13 7))
(line (pt 13 7)(pt 31 16))
(line (pt 13 25)(pt 31 16))
(circle (rect 31 12 39 20))
)
)
(symbol
(rect 288 536 336 568)
(text "WIRE" (rect 1 0 24 10)(font "Arial" (font_size 6)))
(text "inst15" (rect 3 21 32 33)(font "Arial" ))
(port
(pt 0 16)
(input)
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
(line (pt 0 16)(pt 14 16))
)
(port
(pt 48 16)
(output)
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 32 7 46 19)(font "Courier New" (bold))(invisible))
(line (pt 32 16)(pt 48 16))
)
(drawing
(line (pt 14 7)(pt 32 16))
(line (pt 14 25)(pt 14 7))
(line (pt 14 25)(pt 32 16))
)
)
(symbol
(rect 432 856 496 904)
(text "OR2" (rect 1 0 19 10)(font "Arial" (font_size 6)))
(text "inst24" (rect 3 37 32 49)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(line (pt 0 32)(pt 15 32))
)
(port
(pt 0 16)
(input)
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(line (pt 0 16)(pt 15 16))
)
(port
(pt 64 24)
(output)
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 48 15 62 27)(font "Courier New" (bold))(invisible))
(line (pt 48 24)(pt 64 24))
)
(drawing
(line (pt 14 36)(pt 25 36))
(line (pt 14 13)(pt 25 13))
(arc (pt 7 29)(pt 7 19)(rect -14 8 19 41))
(arc (pt 49 24)(pt 25 13)(rect -6 13 57 76))
(arc (pt 25 35)(pt 49 24)(rect -6 -27 57 36))
)
)
(symbol
(rect 536 888 584 920)
(text "WIRE" (rect 1 0 24 10)(font "Arial" (font_size 6)))
(text "inst16" (rect 3 21 32 33)(font "Arial" ))
(port
(pt 0 16)
(input)
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
(line (pt 0 16)(pt 14 16))
)
(port
(pt 48 16)
(output)
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 32 7 46 19)(font "Courier New" (bold))(invisible))
(line (pt 32 16)(pt 48 16))
)
(drawing
(line (pt 14 7)(pt 32 16))
(line (pt 14 25)(pt 14 7))
(line (pt 14 25)(pt 32 16))
)
)
(symbol
(rect 536 920 584 952)
(text "WIRE" (rect 1 0 24 10)(font "Arial" (font_size 6)))
(text "inst17" (rect 3 21 32 33)(font "Arial" ))
(port
(pt 0 16)
(input)
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
(line (pt 0 16)(pt 14 16))
)
(port
(pt 48 16)
(output)
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 32 7 46 19)(font "Courier New" (bold))(invisible))
(line (pt 32 16)(pt 48 16))
)
(drawing
(line (pt 14 7)(pt 32 16))
(line (pt 14 25)(pt 14 7))
(line (pt 14 25)(pt 32 16))
)
)
(symbol
(rect 536 992 584 1024)
(text "WIRE" (rect 1 0 24 10)(font "Arial" (font_size 6)))
(text "inst18" (rect 3 21 32 33)(font "Arial" ))
(port
(pt 0 16)
(input)
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
(line (pt 0 16)(pt 14 16))
)
(port
(pt 48 16)
(output)
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 32 7 46 19)(font "Courier New" (bold))(invisible))
(line (pt 32 16)(pt 48 16))
)
(drawing
(line (pt 14 7)(pt 32 16))
(line (pt 14 25)(pt 14 7))
(line (pt 14 25)(pt 32 16))
)
)
(symbol
(rect 536 1024 584 1056)
(text "WIRE" (rect 1 0 24 10)(font "Arial" (font_size 6)))
(text "inst19" (rect 3 21 32 33)(font "Arial" ))
(port
(pt 0 16)
(input)
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
(line (pt 0 16)(pt 14 16))
)
(port
(pt 48 16)
(output)
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 32 7 46 19)(font "Courier New" (bold))(invisible))
(line (pt 32 16)(pt 48 16))
)
(drawing
(line (pt 14 7)(pt 32 16))
(line (pt 14 25)(pt 14 7))
(line (pt 14 25)(pt 32 16))
)
)
(symbol
(rect 360 1360 472 1488)
(text "alu_mux_4" (rect 5 0 66 14)(font "Arial" (font_size 8)))
(text "inst_pf_sel" (rect 8 112 62 124)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "sel[1..0]" (rect 0 0 44 14)(font "Arial" (font_size 8)))
(text "sel[1..0]" (rect 21 27 65 41)(font "Arial" (font_size 8)))
(line (pt 0 32)(pt 16 32)(line_width 3))
)
(port
(pt 0 48)
(input)
(text "in0" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "in0" (rect 21 43 37 57)(font "Arial" (font_size 8)))
(line (pt 0 48)(pt 16 48))
)
(port
(pt 0 64)
(input)
(text "in1" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "in1" (rect 21 59 37 73)(font "Arial" (font_size 8)))
(line (pt 0 64)(pt 16 64))
)
(port
(pt 0 80)
(input)
(text "in2" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "in2" (rect 21 75 37 89)(font "Arial" (font_size 8)))
(line (pt 0 80)(pt 16 80))
)
(port
(pt 0 96)
(input)
(text "in3" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "in3" (rect 21 91 37 105)(font "Arial" (font_size 8)))
(line (pt 0 96)(pt 16 96))
)
(port
(pt 112 32)
(output)
(text "out" (rect 0 0 17 14)(font "Arial" (font_size 8)))
(text "out" (rect 74 27 91 41)(font "Arial" (font_size 8)))
(line (pt 112 32)(pt 96 32))
)
(drawing
(rectangle (rect 16 16 96 112))
)
)
(symbol
(rect 416 1232 480 1280)
(text "OR2" (rect 1 0 19 10)(font "Arial" (font_size 6)))
(text "inst10" (rect 3 37 32 49)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(line (pt 0 32)(pt 15 32))
)
(port
(pt 0 16)
(input)
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(line (pt 0 16)(pt 15 16))
)
(port
(pt 64 24)
(output)
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 48 15 62 27)(font "Courier New" (bold))(invisible))
(line (pt 48 24)(pt 64 24))
)
(drawing
(line (pt 14 36)(pt 25 36))
(line (pt 14 13)(pt 25 13))
(arc (pt 7 29)(pt 7 19)(rect -14 8 19 41))
(arc (pt 49 24)(pt 25 13)(rect -6 13 57 76))
(arc (pt 25 35)(pt 49 24)(rect -6 -27 57 36))
)
)
(symbol
(rect 336 1568 400 1616)
(text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6)))
(text "inst6" (rect 3 37 26 49)(font "Arial" ))
(port
(pt 0 16)
(input)
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(line (pt 0 16)(pt 14 16))
)
(port
(pt 0 32)
(input)
(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(line (pt 0 32)(pt 14 32))
)
(port
(pt 64 24)
(output)
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 48 15 62 27)(font "Courier New" (bold))(invisible))
(line (pt 42 24)(pt 64 24))
)
(drawing
(line (pt 14 12)(pt 30 12))
(line (pt 14 37)(pt 31 37))
(line (pt 14 12)(pt 14 37))
(arc (pt 31 37)(pt 30 12)(rect 18 12 43 37))
)
)
(symbol
(rect 336 1616 400 1664)
(text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6)))
(text "inst7" (rect 3 37 26 49)(font "Arial" ))
(port
(pt 0 16)
(input)
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(line (pt 0 16)(pt 14 16))
)
(port
(pt 0 32)
(input)
(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(line (pt 0 32)(pt 14 32))
)
(port
(pt 64 24)
(output)
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 48 15 62 27)(font "Courier New" (bold))(invisible))
(line (pt 42 24)(pt 64 24))
)
(drawing
(line (pt 14 12)(pt 30 12))
(line (pt 14 37)(pt 31 37))
(line (pt 14 12)(pt 14 37))
(arc (pt 31 37)(pt 30 12)(rect 18 12 43 37))
)
)
(symbol
(rect 432 1592 496 1640)
(text "OR2" (rect 1 0 19 10)(font "Arial" (font_size 6)))
(text "inst8" (rect 3 37 26 49)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(line (pt 0 32)(pt 15 32))
)
(port
(pt 0 16)
(input)
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(line (pt 0 16)(pt 15 16))
)
(port
(pt 64 24)
(output)
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 48 15 62 27)(font "Courier New" (bold))(invisible))
(line (pt 48 24)(pt 64 24))
)
(drawing
(line (pt 14 36)(pt 25 36))
(line (pt 14 13)(pt 25 13))
(arc (pt 7 29)(pt 7 19)(rect -14 8 19 41))
(arc (pt 49 24)(pt 25 13)(rect -6 13 57 76))
(arc (pt 25 35)(pt 49 24)(rect -6 -27 57 36))
)
)
(symbol
(rect 256 1616 304 1648)
(text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6)))
(text "inst9" (rect 3 21 26 33)(font "Arial" ))
(port
(pt 0 16)
(input)
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
(line (pt 0 16)(pt 13 16))
)
(port
(pt 48 16)
(output)
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 32 7 46 19)(font "Courier New" (bold))(invisible))
(line (pt 39 16)(pt 48 16))
)
(drawing
(line (pt 13 25)(pt 13 7))
(line (pt 13 7)(pt 31 16))
(line (pt 13 25)(pt 31 16))
(circle (rect 31 12 39 20))
)
)
(symbol
(rect 432 952 496 1032)
(text "OR4" (rect 1 0 19 10)(font "Arial" (font_size 6)))
(text "inst20" (rect 3 69 32 81)(font "Arial" ))
(port
(pt 0 16)
(input)
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(line (pt 0 16)(pt 13 16))
)
(port
(pt 0 48)
(input)
(text "IN3" (rect 2 39 19 51)(font "Courier New" (bold))(invisible))
(text "IN3" (rect 2 39 19 51)(font "Courier New" (bold))(invisible))
(line (pt 0 48)(pt 15 48))
)
(port
(pt 0 64)
(input)
(text "IN4" (rect 2 55 19 67)(font "Courier New" (bold))(invisible))
(text "IN4" (rect 2 55 19 67)(font "Courier New" (bold))(invisible))
(line (pt 0 64)(pt 13 64))
)
(port
(pt 0 32)
(input)
(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(line (pt 0 32)(pt 15 32))
)
(port
(pt 64 40)
(output)
(text "OUT" (rect 48 31 65 43)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 48 31 62 43)(font "Courier New" (bold))(invisible))
(line (pt 48 40)(pt 64 40))
)
(drawing
(line (pt 13 67)(pt 13 51))
(line (pt 25 52)(pt 13 52))
(line (pt 13 12)(pt 13 29))
(line (pt 13 29)(pt 25 29))
(arc (pt 7 45)(pt 7 35)(rect -14 24 19 57))
(arc (pt 49 40)(pt 25 29)(rect -6 29 57 92))
(arc (pt 25 51)(pt 49 40)(rect -6 -11 57 52))
)
)
(symbol
(rect 320 792 384 840)
(text "OR2" (rect 1 0 19 10)(font "Arial" (font_size 6)))
(text "inst11" (rect 3 37 32 49)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(line (pt 0 32)(pt 15 32))
)
(port
(pt 0 16)
(input)
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(line (pt 0 16)(pt 15 16))
)
(port
(pt 64 24)
(output)
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 48 15 62 27)(font "Courier New" (bold))(invisible))
(line (pt 48 24)(pt 64 24))
)
(drawing
(line (pt 14 36)(pt 25 36))
(line (pt 14 13)(pt 25 13))
(arc (pt 7 29)(pt 7 19)(rect -14 8 19 41))
(arc (pt 49 24)(pt 25 13)(rect -6 13 57 76))
(arc (pt 25 35)(pt 49 24)(rect -6 -27 57 36))
)
)
(symbol
(rect 448 592 560 720)
(text "alu_mux_4" (rect 5 0 66 14)(font "Arial" (font_size 8)))
(text "inst_cond_mux" (rect 8 112 82 124)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "sel[1..0]" (rect 0 0 44 14)(font "Arial" (font_size 8)))
(text "sel[1..0]" (rect 21 27 65 41)(font "Arial" (font_size 8)))
(line (pt 0 32)(pt 16 32)(line_width 3))
)
(port
(pt 0 48)
(input)
(text "in0" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "in0" (rect 21 43 37 57)(font "Arial" (font_size 8)))
(line (pt 0 48)(pt 16 48))
)
(port
(pt 0 64)
(input)
(text "in1" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "in1" (rect 21 59 37 73)(font "Arial" (font_size 8)))
(line (pt 0 64)(pt 16 64))
)
(port
(pt 0 80)
(input)
(text "in2" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "in2" (rect 21 75 37 89)(font "Arial" (font_size 8)))
(line (pt 0 80)(pt 16 80))
)
(port
(pt 0 96)
(input)
(text "in3" (rect 0 0 16 14)(font "Arial" (font_size 8)))
(text "in3" (rect 21 91 37 105)(font "Arial" (font_size 8)))
(line (pt 0 96)(pt 16 96))
)
(port
(pt 112 32)
(output)
(text "out" (rect 0 0 17 14)(font "Arial" (font_size 8)))
(text "out" (rect 74 27 91 41)(font "Arial" (font_size 8)))
(line (pt 112 32)(pt 96 32))
)
(drawing
(rectangle (rect 16 16 96 112))
)
)
(symbol
(rect 288 496 336 528)
(text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6)))
(text "inst27" (rect 3 21 32 33)(font "Arial" ))
(port
(pt 0 16)
(input)
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
(line (pt 0 16)(pt 13 16))
)
(port
(pt 48 16)
(output)
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 32 7 46 19)(font "Courier New" (bold))(invisible))
(line (pt 39 16)(pt 48 16))
)
(drawing
(line (pt 13 25)(pt 13 7))
(line (pt 13 7)(pt 31 16))
(line (pt 13 25)(pt 31 16))
(circle (rect 31 12 39 20))
)
)
(symbol
(rect 288 576 352 624)
(text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6)))
(text "inst28" (rect 3 37 32 49)(font "Arial" ))
(port
(pt 0 16)
(input)
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(line (pt 0 16)(pt 14 16))
)
(port
(pt 0 32)
(input)
(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(line (pt 0 32)(pt 14 32))
)
(port
(pt 64 24)
(output)
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 48 15 62 27)(font "Courier New" (bold))(invisible))
(line (pt 42 24)(pt 64 24))
)
(drawing
(line (pt 14 12)(pt 30 12))
(line (pt 14 37)(pt 31 37))
(line (pt 14 12)(pt 14 37))
(arc (pt 31 37)(pt 30 12)(rect 18 12 43 37))
)
)
(symbol
(rect 592 592 656 640)
(text "XOR" (rect 1 0 21 10)(font "Arial" (font_size 6)))
(text "cond_neg" (rect 3 37 50 49)(font "Arial" ))
(port
(pt 0 16)
(input)
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(line (pt 0 16)(pt 11 16))
)
(port
(pt 0 32)
(input)
(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(line (pt 0 32)(pt 11 32))
)
(port
(pt 64 24)
(output)
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 48 15 62 27)(font "Courier New" (bold))(invisible))
(line (pt 49 24)(pt 64 24))
)
(drawing
(line (pt 14 13)(pt 25 13))
(line (pt 14 36)(pt 25 36))
(arc (pt 7 29)(pt 7 19)(rect -14 8 19 41))
(arc (pt 49 24)(pt 25 13)(rect -6 13 57 76))
(arc (pt 25 35)(pt 49 24)(rect -6 -27 57 36))
(arc (pt 8 36)(pt 8 12)(rect -21 7 14 42))
)
)
(symbol
(rect 728 592 792 672)
(text "DFFE" (rect 1 0 25 10)(font "Arial" (font_size 6)))
(text "inst_cond" (rect 3 68 50 80)(font "Arial" ))
(port
(pt 32 0)
(input)
(text "PRN" (rect 24 13 41 25)(font "Courier New" (bold)))
(text "PRN" (rect 24 11 41 23)(font "Courier New" (bold)))
(line (pt 32 4)(pt 32 0))
)
(port
(pt 32 80)
(input)
(text "CLRN" (rect 21 59 44 71)(font "Courier New" (bold)))
(text "CLRN" (rect 21 58 44 70)(font "Courier New" (bold)))
(line (pt 32 80)(pt 32 76))
)
(port
(pt 0 24)
(input)
(text "D" (rect 14 20 19 32)(font "Courier New" (bold)))
(text "D" (rect 14 20 19 32)(font "Courier New" (bold)))
(line (pt 0 24)(pt 12 24))
)
(port
(pt 0 40)
(input)
(text "CLK" (rect 2 28 19 40)(font "Courier New" (bold))(invisible))
(text "CLK" (rect 2 28 19 40)(font "Courier New" (bold))(invisible))
(line (pt 0 40)(pt 12 40))
)
(port
(pt 0 56)
(input)
(text "ENA" (rect 14 50 31 62)(font "Courier New" (bold)))
(text "ENA" (rect 14 50 31 62)(font "Courier New" (bold)))
(line (pt 0 56)(pt 12 56))
)
(port
(pt 64 24)
(output)
(text "Q" (rect 44 20 49 32)(font "Courier New" (bold)))
(text "Q" (rect 44 20 48 32)(font "Courier New" (bold)))
(line (pt 53 24)(pt 64 24))
)
(drawing
(line (pt 12 68)(pt 52 68))
(line (pt 12 12)(pt 52 12))
(line (pt 52 68)(pt 52 12))
(line (pt 12 68)(pt 12 12))
(line (pt 12 34)(pt 19 41))
(line (pt 18 41)(pt 12 47))
(circle (rect 28 4 36 12))
(circle (rect 28 68 36 76))
)
)
(symbol
(rect 320 1144 384 1224)
(text "DFFE" (rect 1 0 25 10)(font "Arial" (font_size 6)))
(text "latch_pf_tmp" (rect 3 68 67 80)(font "Arial" ))
(port
(pt 32 0)
(input)
(text "PRN" (rect 24 13 41 25)(font "Courier New" (bold)))
(text "PRN" (rect 24 11 41 23)(font "Courier New" (bold)))
(line (pt 32 4)(pt 32 0))
)
(port
(pt 32 80)
(input)
(text "CLRN" (rect 21 59 44 71)(font "Courier New" (bold)))
(text "CLRN" (rect 21 58 44 70)(font "Courier New" (bold)))
(line (pt 32 80)(pt 32 76))
)
(port
(pt 0 24)
(input)
(text "D" (rect 14 20 19 32)(font "Courier New" (bold)))
(text "D" (rect 14 20 19 32)(font "Courier New" (bold)))
(line (pt 0 24)(pt 12 24))
)
(port
(pt 0 40)
(input)
(text "CLK" (rect 2 28 19 40)(font "Courier New" (bold))(invisible))
(text "CLK" (rect 2 28 19 40)(font "Courier New" (bold))(invisible))
(line (pt 0 40)(pt 12 40))
)
(port
(pt 0 56)
(input)
(text "ENA" (rect 14 50 31 62)(font "Courier New" (bold)))
(text "ENA" (rect 14 50 31 62)(font "Courier New" (bold)))
(line (pt 0 56)(pt 12 56))
)
(port
(pt 64 24)
(output)
(text "Q" (rect 44 20 49 32)(font "Courier New" (bold)))
(text "Q" (rect 44 20 48 32)(font "Courier New" (bold)))
(line (pt 53 24)(pt 64 24))
)
(drawing
(line (pt 12 68)(pt 52 68))
(line (pt 12 12)(pt 52 12))
(line (pt 52 68)(pt 52 12))
(line (pt 12 68)(pt 12 12))
(line (pt 12 34)(pt 19 41))
(line (pt 18 41)(pt 12 47))
(circle (rect 28 4 36 12))
(circle (rect 28 68 36 76))
)
)
(connector
(pt 320 168)
(pt 384 168)
)
(connector
(pt 320 64)
(pt 384 64)
)
(connector
(pt 456 200)
(pt 456 152)
)
(connector
(pt 560 56)
(pt 560 72)
)
(connector
(pt 560 104)
(pt 560 88)
)
(connector
(pt 640 80)
(pt 648 80)
)
(connector
(pt 456 200)
(pt 480 200)
)
(connector
(pt 320 216)
(pt 480 216)
)
(connector
(pt 560 88)
(pt 576 88)
)
(connector
(pt 560 72)
(pt 576 72)
)
(connector
(pt 400 392)
(pt 448 392)
)
(connector
(pt 448 344)
(pt 400 344)
)
(connector
(pt 400 312)
(pt 400 328)
)
(connector
(pt 448 328)
(pt 400 328)
)
(connector
(pt 376 280)
(pt 376 360)
)
(connector
(pt 448 360)
(pt 376 360)
)
(connector
(pt 352 376)
(pt 352 368)
)
(connector
(pt 448 376)
(pt 352 376)
)
(connector
(pt 288 96)
(pt 288 296)
)
(connector
(pt 448 296)
(pt 288 296)
)
(connector
(pt 264 48)
(pt 264 280)
)
(connector
(pt 416 872)
(pt 432 872)
)
(connector
(text "out[3]" (rect 612 944 640 956)(font "Arial" ))
(pt 600 960)
(pt 656 960)
)
(connector
(text "out[7]" (rect 614 1048 642 1060)(font "Arial" ))
(pt 600 1064)
(pt 656 1064)
)
(connector
(text "out[7..0]" (rect 659 864 700 876)(font "Arial" ))
(pt 656 880)
(pt 704 880)
(bus)
)
(connector
(pt 520 904)
(pt 536 904)
)
(connector
(pt 520 936)
(pt 536 936)
)
(connector
(pt 520 1008)
(pt 536 1008)
)
(connector
(pt 520 1040)
(pt 536 1040)
)
(connector
(pt 400 1248)
(pt 416 1248)
)
(connector
(pt 320 112)
(pt 480 112)
)
(connector
(text "out[0]" (rect 616 864 644 876)(font "Arial" ))
(pt 600 880)
(pt 656 880)
)
(connector
(text "out[4]" (rect 614 968 642 980)(font "Arial" ))
(pt 600 984)
(pt 656 984)
)
(connector
(pt 416 1264)
(pt 288 1264)
)
(connector
(pt 360 1408)
(pt 264 1408)
)
(connector
(pt 264 1168)
(pt 264 1408)
)
(connector
(pt 288 1296)
(pt 576 1296)
)
(connector
(text "op543[0]" (rect 304 212 316 254)(font "Arial" )(vertical))
(pt 320 216)
(pt 320 264)
)
(connector
(pt 400 344)
(pt 400 392)
)
(connector
(pt 400 392)
(pt 400 408)
)
(connector
(pt 264 280)
(pt 376 280)
)
(connector
(pt 376 280)
(pt 448 280)
)
(connector
(pt 320 264)
(pt 448 264)
(bus)
)
(connector
(pt 320 64)
(pt 320 112)
)
(connector
(pt 320 112)
(pt 320 168)
)
(connector
(pt 320 168)
(pt 320 216)
)
(connector
(pt 288 1264)
(pt 288 1296)
)
(connector
(pt 288 96)
(pt 480 96)
)
(connector
(pt 264 48)
(pt 480 48)
)
(connector
(pt 456 152)
(pt 480 152)
)
(connector
(pt 264 1168)
(pt 320 1168)
)
(connector
(pt 560 264)
(pt 648 264)
)
(connector
(pt 544 160)
(pt 648 160)
)
(connector
(pt 544 208)
(pt 648 208)
)
(connector
(pt 432 168)
(pt 480 168)
)
(connector
(pt 432 64)
(pt 480 64)
)
(connector
(pt 544 104)
(pt 560 104)
)
(connector
(pt 544 56)
(pt 560 56)
)
(connector
(pt 752 880)
(pt 792 880)
(bus)
)
(connector
(pt 496 880)
(pt 520 880)
)
(connector
(text "out[1]" (rect 610 888 638 900)(font "Arial" ))
(pt 584 904)
(pt 656 904)
)
(connector
(text "out[2]" (rect 613 920 641 932)(font "Arial" ))
(pt 584 936)
(pt 656 936)
)
(connector
(text "out[5]" (rect 611 992 639 1004)(font "Arial" ))
(pt 584 1008)
(pt 656 1008)
)
(connector
(text "out[6]" (rect 614 1024 642 1036)(font "Arial" ))
(pt 584 1040)
(pt 656 1040)
)
(connector
(pt 472 1392)
(pt 584 1392)
)
(connector
(pt 480 1256)
(pt 576 1256)
)
(connector
(pt 208 96)
(pt 288 96)
)
(connector
(pt 208 48)
(pt 264 48)
)
(connector
(pt 208 152)
(pt 456 152)
)
(connector
(pt 208 1168)
(pt 264 1168)
)
(connector
(pt 208 1424)
(pt 360 1424)
)
(connector
(pt 208 1440)
(pt 360 1440)
)
(connector
(pt 208 1392)
(pt 360 1392)
(bus)
)
(connector
(pt 496 1616)
(pt 528 1616)
)
(connector
(pt 400 1592)
(pt 416 1592)
)
(connector
(pt 416 1592)
(pt 416 1608)
)
(connector
(pt 416 1608)
(pt 432 1608)
)
(connector
(pt 400 1640)
(pt 416 1640)
)
(connector
(pt 416 1640)
(pt 416 1624)
)
(connector
(pt 416 1624)
(pt 432 1624)
)
(connector
(pt 232 1560)
(pt 208 1560)
)
(connector
(text "flags_cf" (rect 124 1632 165 1644)(font "Arial" ))
(pt 120 1648)
(pt 336 1648)
)
(connector
(pt 232 1584)
(pt 336 1584)
)
(connector
(pt 232 1560)
(pt 232 1584)
)
(connector
(pt 232 1584)
(pt 232 1632)
)
(connector
(pt 304 1632)
(pt 336 1632)
)
(connector
(pt 256 1632)
(pt 232 1632)
)
(connector
(pt 208 1456)
(pt 360 1456)
)
(connector
(pt 208 312)
(pt 400 312)
)
(connector
(pt 400 312)
(pt 448 312)
)
(connector
(pt 520 992)
(pt 496 992)
)
(connector
(pt 520 1080)
(pt 792 1080)
)
(connector
(pt 432 888)
(pt 384 888)
)
(connector
(pt 208 976)
(pt 320 976)
)
(connector
(pt 240 880)
(pt 240 960)
)
(connector
(pt 240 960)
(pt 320 960)
)
(connector
(pt 432 968)
(pt 416 968)
)
(connector
(pt 432 984)
(pt 400 984)
)
(connector
(pt 400 984)
(pt 400 968)
)
(connector
(pt 384 968)
(pt 400 968)
)
(connector
(pt 432 1000)
(pt 208 1000)
)
(connector
(pt 432 1016)
(pt 400 1016)
)
(connector
(pt 400 1016)
(pt 400 1032)
)
(connector
(text "flags_cf_latch" (rect 136 1016 206 1028)(font "Arial" ))
(pt 400 1032)
(pt 128 1032)
)
(connector
(pt 208 896)
(pt 320 896)
)
(connector
(pt 208 1600)
(pt 336 1600)
)
(connector
(pt 520 880)
(pt 520 904)
)
(connector
(pt 520 904)
(pt 520 936)
)
(connector
(pt 600 880)
(pt 600 960)
)
(connector
(pt 600 960)
(pt 600 984)
)
(connector
(pt 600 984)
(pt 600 1064)
)
(connector
(pt 600 1064)
(pt 600 1096)
)
(connector
(pt 656 880)
(pt 656 904)
(bus)
)
(connector
(pt 656 904)
(pt 656 936)
(bus)
)
(connector
(pt 656 936)
(pt 656 960)
(bus)
)
(connector
(pt 656 960)
(pt 656 984)
(bus)
)
(connector
(pt 656 984)
(pt 656 1008)
(bus)
)
(connector
(pt 656 1008)
(pt 656 1040)
(bus)
)
(connector
(pt 656 1040)
(pt 656 1064)
(bus)
)
(connector
(pt 208 880)
(pt 240 880)
)
(connector
(pt 240 880)
(pt 320 880)
)
(connector
(pt 416 848)
(pt 416 872)
)
(connector
(pt 416 872)
(pt 416 968)
)
(connector
(pt 520 992)
(pt 520 1008)
)
(connector
(pt 520 1008)
(pt 520 1040)
)
(connector
(pt 520 1040)
(pt 520 1080)
)
(connector
(pt 728 864)
(pt 728 816)
)
(connector
(pt 384 816)
(pt 728 816)
)
(connector
(pt 208 808)
(pt 320 808)
)
(connector
(pt 320 824)
(pt 240 824)
)
(connector
(pt 240 824)
(pt 240 848)
)
(connector
(pt 240 848)
(pt 416 848)
)
(connector
(pt 208 848)
(pt 240 848)
)
(connector
(text "op543[0]" (rect 243 496 285 508)(font "Arial" ))
(pt 232 512)
(pt 288 512)
)
(connector
(text "op543[2]" (rect 238 576 280 588)(font "Arial" ))
(pt 288 592)
(pt 232 592)
)
(connector
(text "op543[1]" (rect 242 536 284 548)(font "Arial" ))
(pt 232 552)
(pt 288 552)
)
(connector
(pt 272 608)
(pt 288 608)
)
(connector
(pt 208 608)
(pt 224 608)
)
(connector
(pt 208 264)
(pt 232 264)
(bus)
)
(connector
(pt 232 264)
(pt 320 264)
(bus)
)
(connector
(pt 232 264)
(pt 232 512)
(bus)
)
(connector
(pt 232 512)
(pt 232 552)
(bus)
)
(connector
(pt 232 552)
(pt 232 592)
(bus)
)
(connector
(text "sel[0]" (rect 357 536 384 548)(font "Arial" ))
(pt 336 552)
(pt 392 552)
)
(connector
(text "sel[1]" (rect 358 584 385 596)(font "Arial" ))
(pt 352 600)
(pt 392 600)
)
(connector
(text "sel[1..0]" (rect 407 608 447 620)(font "Arial" ))
(pt 392 624)
(pt 448 624)
(bus)
)
(connector
(pt 392 552)
(pt 392 600)
(bus)
)
(connector
(pt 392 600)
(pt 392 624)
(bus)
)
(connector
(pt 208 656)
(pt 448 656)
)
(connector
(pt 208 640)
(pt 448 640)
)
(connector
(pt 208 672)
(pt 448 672)
)
(connector
(pt 208 688)
(pt 448 688)
)
(connector
(text "condition" (rect 669 600 712 612)(font "Arial" ))
(pt 656 616)
(pt 728 616)
)
(connector
(pt 560 624)
(pt 592 624)
)
(connector
(pt 336 512)
(pt 576 512)
)
(connector
(pt 576 512)
(pt 576 608)
)
(connector
(pt 576 608)
(pt 592 608)
)
(connector
(pt 792 616)
(pt 800 616)
)
(connector
(pt 728 648)
(pt 680 648)
)
(connector
(pt 680 648)
(pt 680 736)
)
(connector
(pt 680 736)
(pt 208 736)
)
(connector
(text "clk" (rect 686 616 700 628)(font "Arial" ))
(pt 728 632)
(pt 680 632)
)
(connector
(pt 400 1248)
(pt 400 1168)
)
(connector
(pt 400 1168)
(pt 384 1168)
)
(connector
(pt 288 1200)
(pt 288 1264)
)
(connector
(pt 208 1200)
(pt 288 1200)
)
(connector
(pt 288 1200)
(pt 320 1200)
)
(connector
(pt 208 1184)
(pt 320 1184)
)
(junction (pt 456 152))
(junction (pt 320 216))
(junction (pt 320 168))
(junction (pt 400 392))
(junction (pt 264 48))
(junction (pt 376 280))
(junction (pt 320 264))
(junction (pt 232 264))
(junction (pt 320 112))
(junction (pt 288 96))
(junction (pt 264 1168))
(junction (pt 288 1264))
(junction (pt 232 1584))
(junction (pt 400 312))
(junction (pt 520 904))
(junction (pt 600 960))
(junction (pt 600 984))
(junction (pt 600 1064))
(junction (pt 656 960))
(junction (pt 656 984))
(junction (pt 656 880))
(junction (pt 656 904))
(junction (pt 656 936))
(junction (pt 656 1008))
(junction (pt 656 1040))
(junction (pt 240 880))
(junction (pt 416 872))
(junction (pt 520 1008))
(junction (pt 520 1040))
(junction (pt 240 848))
(junction (pt 232 512))
(junction (pt 232 552))
(junction (pt 392 600))
(junction (pt 288 1200))
(text "Bit that is shifted in depends on the opcode:" (rect 576 288 824 302)(font "Arial" (font_size 8)))
(text "000 RLC -> old D[7]" (rect 576 304 685 318)(font "Arial" (font_size 8)))
(text "001 RRC -> old D[0]" (rect 576 320 686 334)(font "Arial" (font_size 8)))
(text "010 RL -> CF" (rect 576 336 650 350)(font "Arial" (font_size 8)))
(text "011 RR -> CF" (rect 576 352 651 366)(font "Arial" (font_size 8)))
(text "100 SLA -> 0" (rect 576 368 651 382)(font "Arial" (font_size 8)))
(text "101 SRA -> D[7]" (rect 576 384 668 398)(font "Arial" (font_size 8)))
(text "110 SLL -> 1" (rect 576 400 649 414)(font "Arial" (font_size 8)))
(text "111 SRL -> 0" (rect 576 416 650 430)(font "Arial" (font_size 8)))
(text "Select cf out based on the shift direction" (rect 560 32 790 46)(font "Arial" (font_size 8)))
(text "Low nibble 0x6" (rect 432 832 519 846)(font "Arial" (font_size 8)))
(text "High nibble 0x6" (rect 432 912 518 926)(font "Arial" (font_size 8)))
(text "Shifter control" (rect 352 16 446 32)(font "Arial" (font_size 10)))
(text "DAA + bus(66) logic" (rect 336 768 474 784)(font "Arial" (font_size 10)))
(text "Half-parity control" (rect 352 1104 471 1120)(font "Arial" (font_size 10)))
(text "Flag condition mux" (rect 440 536 569 552)(font "Arial" (font_size 10)))
(text "Parity / Overflow input selector" (rect 336 1328 543 1344)(font "Arial" (font_size 10)))
(text "Mux: when op is low, \"1\"; else pf_tmp" (rect 432 1192 647 1206)(font "Arial" (font_size 8)))
(text "Carry flag into ALU core" (rect 352 1520 514 1536)(font "Arial" (font_size 10)))
(title_block
(rect 32 1696 289 1748)
(name "title-custom-small")
(section (rect 0 0 256 17)(text "PROJECT" (rect 2 0 52 12)(font "Arial" ))(text "A-Z80" (rect 56 2 94 17)(font "Arial" (font_size 9)(bold)))(border))
(section (rect 104 0 256 17)(text "MODULE" (rect 2 1 48 13)(font "Arial" ))(text "alu_control" (rect 43 2 118 17)(font "Arial" (font_size 9)(bold)))(border))
(section (rect 0 18 256 34)(text "DESIGNER" (rect 2 0 59 12)(font "Arial" ))(text "Goran Devic" (rect 56 2 135 17)(font "Arial" (font_size 9)))(border))
(section (rect 0 35 256 51)(text "DATE" (rect 2 0 30 12)(font "Arial" ))(text "June 28, 2014" (rect 56 3 136 17)(font "Arial" (font_size 8)))(border))
(section (rect 192 35 256 51)(text "REV" (rect 2 1 25 13)(font "Arial" ))(text "1.6" (rect 43 3 60 17)(font "Arial" (font_size 8)))(border))
(drawing
)
)
Go to most recent revision | Compare with Previous | Blame | View Log