289 lines
8.6 KiB
Plaintext
289 lines
8.6 KiB
Plaintext
|
|
/*
|
||
|
|
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 "symbol" (version "1.2"))
|
||
|
|
(symbol
|
||
|
|
(rect 16 16 248 496)
|
||
|
|
(text "alu_control" (rect 5 0 67 14)(font "Arial" (font_size 8)))
|
||
|
|
(text "inst" (rect 8 464 25 476)(font "Arial" ))
|
||
|
|
(port
|
||
|
|
(pt 0 32)
|
||
|
|
(input)
|
||
|
|
(text "alu_shift_db7" (rect 0 0 76 14)(font "Arial" (font_size 8)))
|
||
|
|
(text "alu_shift_db7" (rect 21 27 97 41)(font "Arial" (font_size 8)))
|
||
|
|
(line (pt 0 32)(pt 16 32))
|
||
|
|
)
|
||
|
|
(port
|
||
|
|
(pt 0 48)
|
||
|
|
(input)
|
||
|
|
(text "alu_shift_db0" (rect 0 0 76 14)(font "Arial" (font_size 8)))
|
||
|
|
(text "alu_shift_db0" (rect 21 43 97 57)(font "Arial" (font_size 8)))
|
||
|
|
(line (pt 0 48)(pt 16 48))
|
||
|
|
)
|
||
|
|
(port
|
||
|
|
(pt 0 64)
|
||
|
|
(input)
|
||
|
|
(text "ctl_shift_en" (rect 0 0 66 14)(font "Arial" (font_size 8)))
|
||
|
|
(text "ctl_shift_en" (rect 21 59 87 73)(font "Arial" (font_size 8)))
|
||
|
|
(line (pt 0 64)(pt 16 64))
|
||
|
|
)
|
||
|
|
(port
|
||
|
|
(pt 0 80)
|
||
|
|
(input)
|
||
|
|
(text "op543[2..0]" (rect 0 0 63 14)(font "Arial" (font_size 8)))
|
||
|
|
(text "op543[2..0]" (rect 21 75 84 89)(font "Arial" (font_size 8)))
|
||
|
|
(line (pt 0 80)(pt 16 80)(line_width 3))
|
||
|
|
)
|
||
|
|
(port
|
||
|
|
(pt 0 96)
|
||
|
|
(input)
|
||
|
|
(text "flags_cf_latch" (rect 0 0 81 14)(font "Arial" (font_size 8)))
|
||
|
|
(text "flags_cf_latch" (rect 21 91 102 105)(font "Arial" (font_size 8)))
|
||
|
|
(line (pt 0 96)(pt 16 96))
|
||
|
|
)
|
||
|
|
(port
|
||
|
|
(pt 0 112)
|
||
|
|
(input)
|
||
|
|
(text "ctl_cond_short" (rect 0 0 84 14)(font "Arial" (font_size 8)))
|
||
|
|
(text "ctl_cond_short" (rect 21 107 105 121)(font "Arial" (font_size 8)))
|
||
|
|
(line (pt 0 112)(pt 16 112))
|
||
|
|
)
|
||
|
|
(port
|
||
|
|
(pt 0 128)
|
||
|
|
(input)
|
||
|
|
(text "flags_zf" (rect 0 0 47 14)(font "Arial" (font_size 8)))
|
||
|
|
(text "flags_zf" (rect 21 123 68 137)(font "Arial" (font_size 8)))
|
||
|
|
(line (pt 0 128)(pt 16 128))
|
||
|
|
)
|
||
|
|
(port
|
||
|
|
(pt 0 144)
|
||
|
|
(input)
|
||
|
|
(text "flags_cf" (rect 0 0 47 14)(font "Arial" (font_size 8)))
|
||
|
|
(text "flags_cf" (rect 21 139 68 153)(font "Arial" (font_size 8)))
|
||
|
|
(line (pt 0 144)(pt 16 144))
|
||
|
|
)
|
||
|
|
(port
|
||
|
|
(pt 0 160)
|
||
|
|
(input)
|
||
|
|
(text "flags_pf" (rect 0 0 47 14)(font "Arial" (font_size 8)))
|
||
|
|
(text "flags_pf" (rect 21 155 68 169)(font "Arial" (font_size 8)))
|
||
|
|
(line (pt 0 160)(pt 16 160))
|
||
|
|
)
|
||
|
|
(port
|
||
|
|
(pt 0 176)
|
||
|
|
(input)
|
||
|
|
(text "flags_sf" (rect 0 0 47 14)(font "Arial" (font_size 8)))
|
||
|
|
(text "flags_sf" (rect 21 171 68 185)(font "Arial" (font_size 8)))
|
||
|
|
(line (pt 0 176)(pt 16 176))
|
||
|
|
)
|
||
|
|
(port
|
||
|
|
(pt 0 192)
|
||
|
|
(input)
|
||
|
|
(text "ctl_eval_cond" (rect 0 0 79 14)(font "Arial" (font_size 8)))
|
||
|
|
(text "ctl_eval_cond" (rect 21 187 100 201)(font "Arial" (font_size 8)))
|
||
|
|
(line (pt 0 192)(pt 16 192))
|
||
|
|
)
|
||
|
|
(port
|
||
|
|
(pt 0 208)
|
||
|
|
(input)
|
||
|
|
(text "ctl_daa_oe" (rect 0 0 62 14)(font "Arial" (font_size 8)))
|
||
|
|
(text "ctl_daa_oe" (rect 21 203 83 217)(font "Arial" (font_size 8)))
|
||
|
|
(line (pt 0 208)(pt 16 208))
|
||
|
|
)
|
||
|
|
(port
|
||
|
|
(pt 0 224)
|
||
|
|
(input)
|
||
|
|
(text "ctl_66_oe" (rect 0 0 55 14)(font "Arial" (font_size 8)))
|
||
|
|
(text "ctl_66_oe" (rect 21 219 76 233)(font "Arial" (font_size 8)))
|
||
|
|
(line (pt 0 224)(pt 16 224))
|
||
|
|
)
|
||
|
|
(port
|
||
|
|
(pt 0 240)
|
||
|
|
(input)
|
||
|
|
(text "alu_low_gt_9" (rect 0 0 76 14)(font "Arial" (font_size 8)))
|
||
|
|
(text "alu_low_gt_9" (rect 21 235 97 249)(font "Arial" (font_size 8)))
|
||
|
|
(line (pt 0 240)(pt 16 240))
|
||
|
|
)
|
||
|
|
(port
|
||
|
|
(pt 0 256)
|
||
|
|
(input)
|
||
|
|
(text "flags_hf2" (rect 0 0 54 14)(font "Arial" (font_size 8)))
|
||
|
|
(text "flags_hf2" (rect 21 251 75 265)(font "Arial" (font_size 8)))
|
||
|
|
(line (pt 0 256)(pt 16 256))
|
||
|
|
)
|
||
|
|
(port
|
||
|
|
(pt 0 272)
|
||
|
|
(input)
|
||
|
|
(text "alu_high_eq_9" (rect 0 0 82 14)(font "Arial" (font_size 8)))
|
||
|
|
(text "alu_high_eq_9" (rect 21 267 103 281)(font "Arial" (font_size 8)))
|
||
|
|
(line (pt 0 272)(pt 16 272))
|
||
|
|
)
|
||
|
|
(port
|
||
|
|
(pt 0 288)
|
||
|
|
(input)
|
||
|
|
(text "alu_high_gt_9" (rect 0 0 79 14)(font "Arial" (font_size 8)))
|
||
|
|
(text "alu_high_gt_9" (rect 21 283 100 297)(font "Arial" (font_size 8)))
|
||
|
|
(line (pt 0 288)(pt 16 288))
|
||
|
|
)
|
||
|
|
(port
|
||
|
|
(pt 0 304)
|
||
|
|
(input)
|
||
|
|
(text "alu_parity_out" (rect 0 0 80 14)(font "Arial" (font_size 8)))
|
||
|
|
(text "alu_parity_out" (rect 21 299 101 313)(font "Arial" (font_size 8)))
|
||
|
|
(line (pt 0 304)(pt 16 304))
|
||
|
|
)
|
||
|
|
(port
|
||
|
|
(pt 0 320)
|
||
|
|
(input)
|
||
|
|
(text "clk" (rect 0 0 15 14)(font "Arial" (font_size 8)))
|
||
|
|
(text "clk" (rect 21 315 36 329)(font "Arial" (font_size 8)))
|
||
|
|
(line (pt 0 320)(pt 16 320))
|
||
|
|
)
|
||
|
|
(port
|
||
|
|
(pt 0 336)
|
||
|
|
(input)
|
||
|
|
(text "ctl_alu_op_low" (rect 0 0 86 14)(font "Arial" (font_size 8)))
|
||
|
|
(text "ctl_alu_op_low" (rect 21 331 107 345)(font "Arial" (font_size 8)))
|
||
|
|
(line (pt 0 336)(pt 16 336))
|
||
|
|
)
|
||
|
|
(port
|
||
|
|
(pt 0 352)
|
||
|
|
(input)
|
||
|
|
(text "ctl_pf_sel[1..0]" (rect 0 0 83 14)(font "Arial" (font_size 8)))
|
||
|
|
(text "ctl_pf_sel[1..0]" (rect 21 347 104 361)(font "Arial" (font_size 8)))
|
||
|
|
(line (pt 0 352)(pt 16 352)(line_width 3))
|
||
|
|
)
|
||
|
|
(port
|
||
|
|
(pt 0 368)
|
||
|
|
(input)
|
||
|
|
(text "alu_vf_out" (rect 0 0 60 14)(font "Arial" (font_size 8)))
|
||
|
|
(text "alu_vf_out" (rect 21 363 81 377)(font "Arial" (font_size 8)))
|
||
|
|
(line (pt 0 368)(pt 16 368))
|
||
|
|
)
|
||
|
|
(port
|
||
|
|
(pt 0 384)
|
||
|
|
(input)
|
||
|
|
(text "iff2" (rect 0 0 18 14)(font "Arial" (font_size 8)))
|
||
|
|
(text "iff2" (rect 21 379 39 393)(font "Arial" (font_size 8)))
|
||
|
|
(line (pt 0 384)(pt 16 384))
|
||
|
|
)
|
||
|
|
(port
|
||
|
|
(pt 0 400)
|
||
|
|
(input)
|
||
|
|
(text "repeat_en" (rect 0 0 57 14)(font "Arial" (font_size 8)))
|
||
|
|
(text "repeat_en" (rect 21 395 78 409)(font "Arial" (font_size 8)))
|
||
|
|
(line (pt 0 400)(pt 16 400))
|
||
|
|
)
|
||
|
|
(port
|
||
|
|
(pt 0 416)
|
||
|
|
(input)
|
||
|
|
(text "ctl_alu_core_hf" (rect 0 0 88 14)(font "Arial" (font_size 8)))
|
||
|
|
(text "ctl_alu_core_hf" (rect 21 411 109 425)(font "Arial" (font_size 8)))
|
||
|
|
(line (pt 0 416)(pt 16 416))
|
||
|
|
)
|
||
|
|
(port
|
||
|
|
(pt 0 432)
|
||
|
|
(input)
|
||
|
|
(text "flags_hf" (rect 0 0 47 14)(font "Arial" (font_size 8)))
|
||
|
|
(text "flags_hf" (rect 21 427 68 441)(font "Arial" (font_size 8)))
|
||
|
|
(line (pt 0 432)(pt 16 432))
|
||
|
|
)
|
||
|
|
(port
|
||
|
|
(pt 232 32)
|
||
|
|
(output)
|
||
|
|
(text "shift_cf_out" (rect 0 0 68 14)(font "Arial" (font_size 8)))
|
||
|
|
(text "shift_cf_out" (rect 143 27 211 41)(font "Arial" (font_size 8)))
|
||
|
|
(line (pt 232 32)(pt 216 32))
|
||
|
|
)
|
||
|
|
(port
|
||
|
|
(pt 232 48)
|
||
|
|
(output)
|
||
|
|
(text "alu_shift_left" (rect 0 0 73 14)(font "Arial" (font_size 8)))
|
||
|
|
(text "alu_shift_left" (rect 138 43 211 57)(font "Arial" (font_size 8)))
|
||
|
|
(line (pt 232 48)(pt 216 48))
|
||
|
|
)
|
||
|
|
(port
|
||
|
|
(pt 232 64)
|
||
|
|
(output)
|
||
|
|
(text "alu_shift_right" (rect 0 0 80 14)(font "Arial" (font_size 8)))
|
||
|
|
(text "alu_shift_right" (rect 131 59 211 73)(font "Arial" (font_size 8)))
|
||
|
|
(line (pt 232 64)(pt 216 64))
|
||
|
|
)
|
||
|
|
(port
|
||
|
|
(pt 232 80)
|
||
|
|
(output)
|
||
|
|
(text "alu_shift_in" (rect 0 0 64 14)(font "Arial" (font_size 8)))
|
||
|
|
(text "alu_shift_in" (rect 147 75 211 89)(font "Arial" (font_size 8)))
|
||
|
|
(line (pt 232 80)(pt 216 80))
|
||
|
|
)
|
||
|
|
(port
|
||
|
|
(pt 232 96)
|
||
|
|
(output)
|
||
|
|
(text "flags_cond_true" (rect 0 0 93 14)(font "Arial" (font_size 8)))
|
||
|
|
(text "flags_cond_true" (rect 118 91 211 105)(font "Arial" (font_size 8)))
|
||
|
|
(line (pt 232 96)(pt 216 96))
|
||
|
|
)
|
||
|
|
(port
|
||
|
|
(pt 232 112)
|
||
|
|
(output)
|
||
|
|
(text "db[7..0]" (rect 0 0 42 14)(font "Arial" (font_size 8)))
|
||
|
|
(text "db[7..0]" (rect 169 107 211 121)(font "Arial" (font_size 8)))
|
||
|
|
(line (pt 232 112)(pt 216 112)(line_width 3))
|
||
|
|
)
|
||
|
|
(port
|
||
|
|
(pt 232 128)
|
||
|
|
(output)
|
||
|
|
(text "daa_cf_out" (rect 0 0 64 14)(font "Arial" (font_size 8)))
|
||
|
|
(text "daa_cf_out" (rect 147 123 211 137)(font "Arial" (font_size 8)))
|
||
|
|
(line (pt 232 128)(pt 216 128))
|
||
|
|
)
|
||
|
|
(port
|
||
|
|
(pt 232 144)
|
||
|
|
(output)
|
||
|
|
(text "alu_parity_in" (rect 0 0 71 14)(font "Arial" (font_size 8)))
|
||
|
|
(text "alu_parity_in" (rect 140 139 211 153)(font "Arial" (font_size 8)))
|
||
|
|
(line (pt 232 144)(pt 216 144))
|
||
|
|
)
|
||
|
|
(port
|
||
|
|
(pt 232 160)
|
||
|
|
(output)
|
||
|
|
(text "alu_op_low" (rect 0 0 66 14)(font "Arial" (font_size 8)))
|
||
|
|
(text "alu_op_low" (rect 145 155 211 169)(font "Arial" (font_size 8)))
|
||
|
|
(line (pt 232 160)(pt 216 160))
|
||
|
|
)
|
||
|
|
(port
|
||
|
|
(pt 232 176)
|
||
|
|
(output)
|
||
|
|
(text "pf_sel" (rect 0 0 35 14)(font "Arial" (font_size 8)))
|
||
|
|
(text "pf_sel" (rect 176 171 211 185)(font "Arial" (font_size 8)))
|
||
|
|
(line (pt 232 176)(pt 216 176))
|
||
|
|
)
|
||
|
|
(port
|
||
|
|
(pt 232 192)
|
||
|
|
(output)
|
||
|
|
(text "alu_core_cf_in" (rect 0 0 84 14)(font "Arial" (font_size 8)))
|
||
|
|
(text "alu_core_cf_in" (rect 127 187 211 201)(font "Arial" (font_size 8)))
|
||
|
|
(line (pt 232 192)(pt 216 192))
|
||
|
|
)
|
||
|
|
(drawing
|
||
|
|
(rectangle (rect 16 16 216 464))
|
||
|
|
)
|
||
|
|
)
|