URL
https://opencores.org/ocsvn/a-z80/a-z80/trunk
Subversion Repositories a-z80
Compare Revisions
- This comparison shows the changes necessary to convert path
/a-z80/trunk/cpu/alu
- from Rev 3 to Rev 8
- ↔ Reverse comparison
Rev 3 → Rev 8
/alu_flags.bdf
373,9 → 373,9
) |
(pin |
(input) |
(rect 24 1408 200 1424) |
(rect 24 1544 200 1560) |
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) |
(text "ctl_flags_cf2_sel[1..0]" (rect 9 0 119 12)(font "Arial" )) |
(text "ctl_flags_use_cf2" (rect 9 0 97 12)(font "Arial" )) |
(pt 176 8) |
(drawing |
(line (pt 92 12)(pt 117 12)) |
389,9 → 389,9
) |
(pin |
(input) |
(rect 24 1544 200 1560) |
(rect 24 720 200 736) |
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) |
(text "ctl_flags_use_cf2" (rect 9 0 97 12)(font "Arial" )) |
(text "ctl_flags_hf2_we" (rect 9 0 92 12)(font "Arial" )) |
(pt 176 8) |
(drawing |
(line (pt 92 12)(pt 117 12)) |
405,9 → 405,9
) |
(pin |
(input) |
(rect 24 720 200 736) |
(rect 24 1128 200 1144) |
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) |
(text "ctl_flags_hf2_we" (rect 9 0 92 12)(font "Arial" )) |
(text "ctl_flags_nf_clr" (rect 9 0 85 12)(font "Arial" )) |
(pt 176 8) |
(drawing |
(line (pt 92 12)(pt 117 12)) |
421,9 → 421,9
) |
(pin |
(input) |
(rect 24 1128 200 1144) |
(rect 24 336 200 352) |
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) |
(text "ctl_flags_nf_clr" (rect 9 0 85 12)(font "Arial" )) |
(text "ctl_alu_zero_16bit" (rect 9 0 96 12)(font "Arial" )) |
(pt 176 8) |
(drawing |
(line (pt 92 12)(pt 117 12)) |
437,9 → 437,9
) |
(pin |
(input) |
(rect 24 336 200 352) |
(rect 24 1520 200 1536) |
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) |
(text "ctl_alu_zero_16bit" (rect 9 0 96 12)(font "Arial" )) |
(text "clk" (rect 9 0 23 12)(font "Arial" )) |
(pt 176 8) |
(drawing |
(line (pt 92 12)(pt 117 12)) |
453,9 → 453,9
) |
(pin |
(input) |
(rect 24 1520 200 1536) |
(rect 24 1384 200 1400) |
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) |
(text "clk" (rect 9 0 23 12)(font "Arial" )) |
(text "ctl_flags_cf2_sel_shift" (rect 9 0 122 12)(font "Arial" )) |
(pt 176 8) |
(drawing |
(line (pt 92 12)(pt 117 12)) |
468,6 → 468,22
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6))) |
) |
(pin |
(input) |
(rect 24 1408 200 1424) |
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6))) |
(text "ctl_flags_cf2_sel_daa" (rect 9 0 117 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 912 160 1088 176) |
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6))) |
634,7 → 650,7
(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)) |
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) |
(line (pt 42 24)(pt 64 24)) |
) |
(drawing |
666,7 → 682,7
(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)) |
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) |
(line (pt 42 24)(pt 64 24)) |
) |
(drawing |
698,7 → 714,7
(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)) |
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) |
(line (pt 42 24)(pt 64 24)) |
) |
(drawing |
730,7 → 746,7
(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)) |
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) |
(line (pt 42 24)(pt 64 24)) |
) |
(drawing |
762,7 → 778,7
(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)) |
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) |
(line (pt 42 24)(pt 64 24)) |
) |
(drawing |
794,7 → 810,7
(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)) |
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) |
(line (pt 42 24)(pt 64 24)) |
) |
(drawing |
826,7 → 842,7
(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)) |
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) |
(line (pt 42 24)(pt 64 24)) |
) |
(drawing |
858,7 → 874,7
(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)) |
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) |
(line (pt 42 24)(pt 64 24)) |
) |
(drawing |
890,7 → 906,7
(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)) |
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) |
(line (pt 42 24)(pt 64 24)) |
) |
(drawing |
922,7 → 938,7
(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)) |
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) |
(line (pt 42 24)(pt 64 24)) |
) |
(drawing |
954,7 → 970,7
(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)) |
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) |
(line (pt 42 24)(pt 64 24)) |
) |
(drawing |
986,7 → 1002,7
(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)) |
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) |
(line (pt 42 24)(pt 64 24)) |
) |
(drawing |
1018,7 → 1034,7
(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)) |
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) |
(line (pt 42 24)(pt 64 24)) |
) |
(drawing |
1050,7 → 1066,7
(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)) |
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) |
(line (pt 42 24)(pt 64 24)) |
) |
(drawing |
1082,7 → 1098,7
(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)) |
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) |
(line (pt 42 24)(pt 64 24)) |
) |
(drawing |
1114,7 → 1130,7
(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)) |
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) |
(line (pt 48 24)(pt 64 24)) |
) |
(drawing |
1147,7 → 1163,7
(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)) |
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) |
(line (pt 48 24)(pt 64 24)) |
) |
(drawing |
1180,7 → 1196,7
(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)) |
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) |
(line (pt 48 24)(pt 64 24)) |
) |
(drawing |
1213,7 → 1229,7
(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)) |
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) |
(line (pt 48 24)(pt 64 24)) |
) |
(drawing |
1246,7 → 1262,7
(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)) |
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) |
(line (pt 48 24)(pt 64 24)) |
) |
(drawing |
1279,7 → 1295,7
(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)) |
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) |
(line (pt 48 24)(pt 64 24)) |
) |
(drawing |
1312,7 → 1328,7
(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)) |
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) |
(line (pt 48 24)(pt 64 24)) |
) |
(drawing |
1345,7 → 1361,7
(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)) |
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) |
(line (pt 32 16)(pt 48 16)) |
) |
(drawing |
1376,7 → 1392,7
(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)) |
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) |
(line (pt 32 16)(pt 48 16)) |
) |
(drawing |
1407,7 → 1423,7
(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)) |
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) |
(line (pt 32 16)(pt 48 16)) |
) |
(drawing |
1438,7 → 1454,7
(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)) |
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) |
(line (pt 32 16)(pt 48 16)) |
) |
(drawing |
1469,7 → 1485,7
(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)) |
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) |
(line (pt 32 16)(pt 48 16)) |
) |
(drawing |
1500,7 → 1516,7
(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)) |
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) |
(line (pt 32 16)(pt 48 16)) |
) |
(drawing |
1531,7 → 1547,7
(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)) |
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) |
(line (pt 32 16)(pt 48 16)) |
) |
(drawing |
1562,7 → 1578,7
(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)) |
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) |
(line (pt 32 16)(pt 48 16)) |
) |
(drawing |
1593,7 → 1609,7
(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)) |
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) |
(line (pt 48 24)(pt 64 24)) |
) |
(drawing |
1626,7 → 1642,7
(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)) |
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) |
(line (pt 42 24)(pt 64 24)) |
) |
(drawing |
1651,7 → 1667,7
(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)) |
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) |
(line (pt 39 16)(pt 48 16)) |
) |
(drawing |
1683,7 → 1699,7
(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)) |
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) |
(line (pt 49 24)(pt 64 24)) |
) |
(drawing |
1717,7 → 1733,7
(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)) |
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) |
(line (pt 49 24)(pt 64 24)) |
) |
(drawing |
1854,7 → 1870,7
(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)) |
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) |
(line (pt 42 24)(pt 64 24)) |
) |
(drawing |
1879,7 → 1895,7
(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)) |
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) |
(line (pt 39 16)(pt 48 16)) |
) |
(drawing |
1911,7 → 1927,7
(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)) |
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) |
(line (pt 42 24)(pt 64 24)) |
) |
(drawing |
1950,7 → 1966,7
(pt 64 24) |
(output) |
(text "OUT" (rect 47 15 64 27)(font "Courier New" (bold))(invisible)) |
(text "OUT" (rect 47 15 61 27)(font "Courier New" (bold))(invisible)) |
(text "OUT" (rect 47 15 64 27)(font "Courier New" (bold))(invisible)) |
(line (pt 49 24)(pt 64 24)) |
) |
(drawing |
1983,7 → 1999,7
(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)) |
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) |
(line (pt 42 24)(pt 64 24)) |
) |
(drawing |
2008,7 → 2024,7
(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)) |
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible)) |
(line (pt 39 16)(pt 48 16)) |
) |
(drawing |
2040,7 → 2056,7
(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)) |
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible)) |
(line (pt 48 24)(pt 64 24)) |
) |
(drawing |
2094,7 → 2110,7
(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))) |
(text "Q" (rect 44 20 49 32)(font "Courier New" (bold))) |
(line (pt 53 24)(pt 64 24)) |
) |
(drawing |
2151,7 → 2167,7
(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))) |
(text "Q" (rect 44 20 49 32)(font "Courier New" (bold))) |
(line (pt 53 24)(pt 64 24)) |
) |
(drawing |
2208,7 → 2224,7
(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))) |
(text "Q" (rect 44 20 49 32)(font "Courier New" (bold))) |
(line (pt 53 24)(pt 64 24)) |
) |
(drawing |
2265,7 → 2281,7
(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))) |
(text "Q" (rect 44 20 49 32)(font "Courier New" (bold))) |
(line (pt 53 24)(pt 64 24)) |
) |
(drawing |
2322,7 → 2338,7
(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))) |
(text "Q" (rect 44 20 49 32)(font "Courier New" (bold))) |
(line (pt 53 24)(pt 64 24)) |
) |
(drawing |
2379,7 → 2395,7
(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))) |
(text "Q" (rect 44 20 49 32)(font "Courier New" (bold))) |
(line (pt 53 24)(pt 64 24)) |
) |
(drawing |
2436,7 → 2452,7
(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))) |
(text "Q" (rect 44 20 49 32)(font "Courier New" (bold))) |
(line (pt 53 24)(pt 64 24)) |
) |
(drawing |
2493,7 → 2509,7
(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))) |
(text "Q" (rect 44 20 49 32)(font "Courier New" (bold))) |
(line (pt 53 24)(pt 64 24)) |
) |
(drawing |
2550,7 → 2566,7
(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))) |
(text "Q" (rect 44 20 49 32)(font "Courier New" (bold))) |
(line (pt 53 24)(pt 64 24)) |
) |
(drawing |
2607,7 → 2623,7
(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))) |
(text "Q" (rect 44 20 49 32)(font "Courier New" (bold))) |
(line (pt 53 24)(pt 64 24)) |
) |
(drawing |
3673,11 → 3689,6
(pt 504 1416) |
) |
(connector |
(pt 200 1416) |
(pt 288 1416) |
(bus) |
) |
(connector |
(pt 200 1464) |
(pt 288 1464) |
) |
3861,6 → 3872,26
(pt 600 1288) |
(pt 912 1288) |
) |
(connector |
(pt 248 1392) |
(pt 248 1416) |
) |
(connector |
(text "sel[0]" (rect 206 1376 233 1388)(font "Arial" )) |
(pt 200 1392) |
(pt 248 1392) |
) |
(connector |
(text "sel[1]" (rect 204 1400 231 1412)(font "Arial" )) |
(pt 200 1416) |
(pt 248 1416) |
) |
(connector |
(text "sel[1..0]" (rect 251 1400 291 1412)(font "Arial" )) |
(pt 288 1416) |
(pt 248 1416) |
(bus) |
) |
(junction (pt 816 568)) |
(junction (pt 840 640)) |
(junction (pt 496 504)) |
3912,6 → 3943,7
(junction (pt 520 576)) |
(junction (pt 600 1288)) |
(junction (pt 480 1432)) |
(junction (pt 248 1416)) |
(text "Connect flags directly to other modules" (rect 912 128 1133 142)(font "Arial" (font_size 8))) |
(text "Carry Flag" (rect 512 1184 582 1200)(font "Arial" (font_size 10))) |
(text "Parity Flag" (rect 512 904 586 920)(font "Arial" (font_size 10))) |
3928,11 → 3960,11
(title_block |
(rect 872 1568 1129 1620) |
(name "title-custom-small") |
(section (rect 0 35 256 51)(text "DATE" (rect 2 0 30 12)(font "Arial" ))(text "June 21, 2014, 2016" (rect 56 3 171 17)(font "Arial" (font_size 8)))(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 104 0 256 17)(text "MODULE" (rect 2 1 48 13)(font "Arial" ))(text "alu_flags" (rect 43 2 104 17)(font "Arial" (font_size 9)(bold)))(border)) |
(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_flags" (rect 43 2 104 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 21, 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.5" (rect 43 3 60 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 |
) |
) |
/alu_flags.v
14,7 → 14,7
|
// PROGRAM "Quartus II 64-Bit" |
// VERSION "Version 13.0.1 Build 232 06/12/2013 Service Pack 1 SJ Web Edition" |
// CREATED "Sun Oct 19 14:48:51 2014" |
// CREATED "Tue Feb 23 22:17:29 2016" |
|
module alu_flags( |
ctl_flags_oe, |
44,7 → 44,8
ctl_flags_nf_clr, |
ctl_alu_zero_16bit, |
clk, |
ctl_flags_cf2_sel, |
ctl_flags_cf2_sel_shift, |
ctl_flags_cf2_sel_daa, |
flags_sf, |
flags_zf, |
flags_hf, |
84,7 → 85,8
input wire ctl_flags_nf_clr; |
input wire ctl_alu_zero_16bit; |
input wire clk; |
input wire [1:0] ctl_flags_cf2_sel; |
input wire ctl_flags_cf2_sel_shift; |
input wire ctl_flags_cf2_sel_daa; |
output wire flags_sf; |
output wire flags_zf; |
output wire flags_hf; |
97,6 → 99,7
|
reg flags_xf; |
reg flags_yf; |
wire [1:0] sel; |
wire SYNTHESIZED_WIRE_0; |
reg DFFE_inst_latch_hf; |
wire SYNTHESIZED_WIRE_1; |
341,8 → 344,10
.in1(shift_cf_out), |
.in2(daa_cf_out), |
.in3(SYNTHESIZED_WIRE_37), |
.sel(ctl_flags_cf2_sel), |
.sel(sel), |
.out(SYNTHESIZED_WIRE_28)); |
|
assign sel[0] = ctl_flags_cf2_sel_shift; |
assign sel[1] = ctl_flags_cf2_sel_daa; |
|
endmodule |
/simulation/modelsim/test_alu.mpf
2,9 → 2,9
; |
; All Rights Reserved. |
; |
; THIS WORK CONTAINS TRADE SECRET AND PROPRIETARY INFORMATION WHICH IS THE PROPERTY OF |
; THIS WORK CONTAINS TRADE SECRET AND PROPRIETARY INFORMATION WHICH IS THE PROPERTY OF |
; MENTOR GRAPHICS CORPORATION OR ITS LICENSORS AND IS SUBJECT TO LICENSE TERMS. |
; |
; |
|
[Library] |
std = $MODEL_TECH/../std |
129,7 → 129,7
|
work = work |
[vcom] |
; VHDL93 variable selects language version as the default. |
; VHDL93 variable selects language version as the default. |
; Default is VHDL-2002. |
; Value of 0 or 1987 for VHDL-1987. |
; Value of 1 or 1993 for VHDL-1993. |
272,7 → 272,7
BreakOnAssertion = 3 |
|
; Assertion Message Format |
; %S - Severity Level |
; %S - Severity Level |
; %R - Report Message |
; %T - Time of assertion |
; %D - Delta |
423,10 → 423,10
; description of a message. |
|
; Control transcripting of elaboration/runtime messages. |
; The default is to have messages appear in the transcript and |
; The default is to have messages appear in the transcript and |
; recorded in the wlf file (messages that are recorded in the |
; wlf file can be viewed in the MsgViewer). The other settings |
; are to send messages only to the transcript or only to the |
; are to send messages only to the transcript or only to the |
; wlf file. The valid values are |
; both {default} |
; tran {transcript only} |
498,42 → 498,42
ForceSoftPaths = 1 |
ProjectStatusDelay = 5000 |
VERILOG_DoubleClick = Edit |
VERILOG_CustomDoubleClick = |
VERILOG_CustomDoubleClick = |
SYSTEMVERILOG_DoubleClick = Edit |
SYSTEMVERILOG_CustomDoubleClick = |
SYSTEMVERILOG_CustomDoubleClick = |
VHDL_DoubleClick = Edit |
VHDL_CustomDoubleClick = |
VHDL_CustomDoubleClick = |
PSL_DoubleClick = Edit |
PSL_CustomDoubleClick = |
PSL_CustomDoubleClick = |
TEXT_DoubleClick = Edit |
TEXT_CustomDoubleClick = |
TEXT_CustomDoubleClick = |
SYSTEMC_DoubleClick = Edit |
SYSTEMC_CustomDoubleClick = |
SYSTEMC_CustomDoubleClick = |
TCL_DoubleClick = Edit |
TCL_CustomDoubleClick = |
TCL_CustomDoubleClick = |
MACRO_DoubleClick = Edit |
MACRO_CustomDoubleClick = |
MACRO_CustomDoubleClick = |
VCD_DoubleClick = Edit |
VCD_CustomDoubleClick = |
VCD_CustomDoubleClick = |
SDF_DoubleClick = Edit |
SDF_CustomDoubleClick = |
SDF_CustomDoubleClick = |
XML_DoubleClick = Edit |
XML_CustomDoubleClick = |
XML_CustomDoubleClick = |
LOGFILE_DoubleClick = Edit |
LOGFILE_CustomDoubleClick = |
LOGFILE_CustomDoubleClick = |
UCDB_DoubleClick = Edit |
UCDB_CustomDoubleClick = |
UCDB_CustomDoubleClick = |
UPF_DoubleClick = Edit |
UPF_CustomDoubleClick = |
UPF_CustomDoubleClick = |
PCF_DoubleClick = Edit |
PCF_CustomDoubleClick = |
PCF_CustomDoubleClick = |
PROJECT_DoubleClick = Edit |
PROJECT_CustomDoubleClick = |
PROJECT_CustomDoubleClick = |
VRM_DoubleClick = Edit |
VRM_CustomDoubleClick = |
VRM_CustomDoubleClick = |
DEBUGDATABASE_DoubleClick = Edit |
DEBUGDATABASE_CustomDoubleClick = |
DEBUGDATABASE_CustomDoubleClick = |
DEBUGARCHIVE_DoubleClick = Edit |
DEBUGARCHIVE_CustomDoubleClick = |
DEBUGARCHIVE_CustomDoubleClick = |
Project_Major_Version = 10 |
Project_Minor_Version = 1 |
/alu_flags.bsf
173,53 → 173,60
(port |
(pt 0 368) |
(input) |
(text "ctl_flags_cf2_sel[1..0]" (rect 0 0 126 14)(font "Arial" (font_size 8))) |
(text "ctl_flags_cf2_sel[1..0]" (rect 21 363 147 377)(font "Arial" (font_size 8))) |
(line (pt 0 368)(pt 16 368)(line_width 3)) |
(text "ctl_flags_cf2_sel_shift" (rect 0 0 129 14)(font "Arial" (font_size 8))) |
(text "ctl_flags_cf2_sel_shift" (rect 21 363 150 377)(font "Arial" (font_size 8))) |
(line (pt 0 368)(pt 16 368)) |
) |
(port |
(pt 0 384) |
(input) |
(text "shift_cf_out" (rect 0 0 68 14)(font "Arial" (font_size 8))) |
(text "shift_cf_out" (rect 21 379 89 393)(font "Arial" (font_size 8))) |
(text "ctl_flags_cf2_sel_daa" (rect 0 0 126 14)(font "Arial" (font_size 8))) |
(text "ctl_flags_cf2_sel_daa" (rect 21 379 147 393)(font "Arial" (font_size 8))) |
(line (pt 0 384)(pt 16 384)) |
) |
(port |
(pt 0 400) |
(input) |
(text "daa_cf_out" (rect 0 0 64 14)(font "Arial" (font_size 8))) |
(text "daa_cf_out" (rect 21 395 85 409)(font "Arial" (font_size 8))) |
(text "shift_cf_out" (rect 0 0 68 14)(font "Arial" (font_size 8))) |
(text "shift_cf_out" (rect 21 395 89 409)(font "Arial" (font_size 8))) |
(line (pt 0 400)(pt 16 400)) |
) |
(port |
(pt 0 416) |
(input) |
(text "clk" (rect 0 0 15 14)(font "Arial" (font_size 8))) |
(text "clk" (rect 21 411 36 425)(font "Arial" (font_size 8))) |
(text "daa_cf_out" (rect 0 0 64 14)(font "Arial" (font_size 8))) |
(text "daa_cf_out" (rect 21 411 85 425)(font "Arial" (font_size 8))) |
(line (pt 0 416)(pt 16 416)) |
) |
(port |
(pt 0 432) |
(input) |
(text "ctl_flags_use_cf2" (rect 0 0 102 14)(font "Arial" (font_size 8))) |
(text "ctl_flags_use_cf2" (rect 21 427 123 441)(font "Arial" (font_size 8))) |
(text "clk" (rect 0 0 15 14)(font "Arial" (font_size 8))) |
(text "clk" (rect 21 427 36 441)(font "Arial" (font_size 8))) |
(line (pt 0 432)(pt 16 432)) |
) |
(port |
(pt 0 448) |
(input) |
(text "ctl_flags_cf_set" (rect 0 0 92 14)(font "Arial" (font_size 8))) |
(text "ctl_flags_cf_set" (rect 21 443 113 457)(font "Arial" (font_size 8))) |
(text "ctl_flags_use_cf2" (rect 0 0 102 14)(font "Arial" (font_size 8))) |
(text "ctl_flags_use_cf2" (rect 21 443 123 457)(font "Arial" (font_size 8))) |
(line (pt 0 448)(pt 16 448)) |
) |
(port |
(pt 0 464) |
(input) |
(text "ctl_flags_cf_cpl" (rect 0 0 90 14)(font "Arial" (font_size 8))) |
(text "ctl_flags_cf_cpl" (rect 21 459 111 473)(font "Arial" (font_size 8))) |
(text "ctl_flags_cf_set" (rect 0 0 92 14)(font "Arial" (font_size 8))) |
(text "ctl_flags_cf_set" (rect 21 459 113 473)(font "Arial" (font_size 8))) |
(line (pt 0 464)(pt 16 464)) |
) |
(port |
(pt 0 480) |
(input) |
(text "ctl_flags_cf_cpl" (rect 0 0 90 14)(font "Arial" (font_size 8))) |
(text "ctl_flags_cf_cpl" (rect 21 475 111 489)(font "Arial" (font_size 8))) |
(line (pt 0 480)(pt 16 480)) |
) |
(port |
(pt 264 48) |
(output) |
(text "flags_sf" (rect 0 0 47 14)(font "Arial" (font_size 8))) |