2020-06-04 15:33:27 +00:00
|
|
|
/*
|
|
|
|
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) 2018 Intel Corporation. All rights reserved.
|
|
|
|
Your use of Intel 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 Intel Program License
|
|
|
|
Subscription Agreement, the Intel Quartus Prime License Agreement,
|
|
|
|
the Intel FPGA IP License Agreement, or other applicable license
|
|
|
|
agreement, including, without limitation, that your use is for
|
|
|
|
the sole purpose of programming logic devices manufactured by
|
|
|
|
Intel and sold by Intel or its authorized distributors. Please
|
|
|
|
refer to the applicable agreement for further details.
|
|
|
|
*/
|
|
|
|
(header "graphic" (version "1.4"))
|
|
|
|
(pin
|
|
|
|
(input)
|
|
|
|
(rect 360 240 528 256)
|
|
|
|
(text "INPUT" (rect 125 0 153 10)(font "Arial" (font_size 6)))
|
2020-06-07 19:51:33 +00:00
|
|
|
(text "ALU_en" (rect 5 0 43 12)(font "Arial" ))
|
2020-06-04 15:33:27 +00:00
|
|
|
(pt 168 8)
|
|
|
|
(drawing
|
|
|
|
(line (pt 84 12)(pt 109 12))
|
|
|
|
(line (pt 84 4)(pt 109 4))
|
|
|
|
(line (pt 113 8)(pt 168 8))
|
|
|
|
(line (pt 84 12)(pt 84 4))
|
|
|
|
(line (pt 109 4)(pt 113 8))
|
|
|
|
(line (pt 109 12)(pt 113 8))
|
|
|
|
)
|
|
|
|
(text "VCC" (rect 128 7 148 17)(font "Arial" (font_size 6)))
|
|
|
|
)
|
|
|
|
(pin
|
|
|
|
(input)
|
|
|
|
(rect 360 256 528 272)
|
|
|
|
(text "INPUT" (rect 125 0 153 10)(font "Arial" (font_size 6)))
|
2020-06-07 19:51:33 +00:00
|
|
|
(text "Rs1[15..0]" (rect 5 0 52 17)(font "Intel Clear" ))
|
2020-06-04 15:33:27 +00:00
|
|
|
(pt 168 8)
|
|
|
|
(drawing
|
|
|
|
(line (pt 84 12)(pt 109 12))
|
|
|
|
(line (pt 84 4)(pt 109 4))
|
|
|
|
(line (pt 113 8)(pt 168 8))
|
|
|
|
(line (pt 84 12)(pt 84 4))
|
|
|
|
(line (pt 109 4)(pt 113 8))
|
|
|
|
(line (pt 109 12)(pt 113 8))
|
|
|
|
)
|
|
|
|
(text "VCC" (rect 128 7 148 17)(font "Arial" (font_size 6)))
|
|
|
|
)
|
|
|
|
(pin
|
|
|
|
(input)
|
|
|
|
(rect 360 272 528 288)
|
|
|
|
(text "INPUT" (rect 125 0 153 10)(font "Arial" (font_size 6)))
|
2020-06-07 19:51:33 +00:00
|
|
|
(text "Rs2[15..0]" (rect 5 0 52 17)(font "Intel Clear" ))
|
2020-06-04 15:33:27 +00:00
|
|
|
(pt 168 8)
|
|
|
|
(drawing
|
|
|
|
(line (pt 84 12)(pt 109 12))
|
|
|
|
(line (pt 84 4)(pt 109 4))
|
|
|
|
(line (pt 113 8)(pt 168 8))
|
|
|
|
(line (pt 84 12)(pt 84 4))
|
|
|
|
(line (pt 109 4)(pt 113 8))
|
|
|
|
(line (pt 109 12)(pt 113 8))
|
|
|
|
)
|
|
|
|
(text "VCC" (rect 128 7 148 17)(font "Arial" (font_size 6)))
|
|
|
|
)
|
|
|
|
(pin
|
|
|
|
(input)
|
|
|
|
(rect 360 288 528 304)
|
|
|
|
(text "INPUT" (rect 125 0 153 10)(font "Arial" (font_size 6)))
|
2020-06-07 19:51:33 +00:00
|
|
|
(text "Rd[15..0]" (rect 5 0 47 17)(font "Intel Clear" ))
|
2020-06-04 15:33:27 +00:00
|
|
|
(pt 168 8)
|
|
|
|
(drawing
|
|
|
|
(line (pt 84 12)(pt 109 12))
|
|
|
|
(line (pt 84 4)(pt 109 4))
|
|
|
|
(line (pt 113 8)(pt 168 8))
|
|
|
|
(line (pt 84 12)(pt 84 4))
|
|
|
|
(line (pt 109 4)(pt 113 8))
|
|
|
|
(line (pt 109 12)(pt 113 8))
|
|
|
|
)
|
|
|
|
(text "VCC" (rect 128 7 148 17)(font "Arial" (font_size 6)))
|
|
|
|
)
|
|
|
|
(pin
|
|
|
|
(input)
|
|
|
|
(rect 360 304 528 320)
|
|
|
|
(text "INPUT" (rect 125 0 153 10)(font "Arial" (font_size 6)))
|
2020-06-07 19:51:33 +00:00
|
|
|
(text "op[5..0]" (rect 5 0 40 17)(font "Intel Clear" ))
|
2020-06-04 15:33:27 +00:00
|
|
|
(pt 168 8)
|
|
|
|
(drawing
|
|
|
|
(line (pt 84 12)(pt 109 12))
|
|
|
|
(line (pt 84 4)(pt 109 4))
|
|
|
|
(line (pt 113 8)(pt 168 8))
|
|
|
|
(line (pt 84 12)(pt 84 4))
|
|
|
|
(line (pt 109 4)(pt 113 8))
|
|
|
|
(line (pt 109 12)(pt 113 8))
|
|
|
|
)
|
|
|
|
(text "VCC" (rect 128 7 148 17)(font "Arial" (font_size 6)))
|
|
|
|
)
|
|
|
|
(pin
|
|
|
|
(input)
|
|
|
|
(rect 360 336 528 352)
|
|
|
|
(text "INPUT" (rect 125 0 153 10)(font "Arial" (font_size 6)))
|
2020-06-07 19:51:33 +00:00
|
|
|
(text "EXEC2" (rect 5 0 36 17)(font "Intel Clear" ))
|
|
|
|
(pt 168 8)
|
|
|
|
(drawing
|
|
|
|
(line (pt 84 12)(pt 109 12))
|
|
|
|
(line (pt 84 4)(pt 109 4))
|
|
|
|
(line (pt 113 8)(pt 168 8))
|
|
|
|
(line (pt 84 12)(pt 84 4))
|
|
|
|
(line (pt 109 4)(pt 113 8))
|
|
|
|
(line (pt 109 12)(pt 113 8))
|
|
|
|
)
|
|
|
|
(text "VCC" (rect 128 7 148 17)(font "Arial" (font_size 6)))
|
|
|
|
)
|
|
|
|
(pin
|
|
|
|
(input)
|
|
|
|
(rect 336 448 504 464)
|
|
|
|
(text "INPUT" (rect 125 0 153 10)(font "Arial" (font_size 6)))
|
|
|
|
(text "CLK" (rect 5 0 27 12)(font "Arial" ))
|
2020-06-04 15:33:27 +00:00
|
|
|
(pt 168 8)
|
|
|
|
(drawing
|
|
|
|
(line (pt 84 12)(pt 109 12))
|
|
|
|
(line (pt 84 4)(pt 109 4))
|
|
|
|
(line (pt 113 8)(pt 168 8))
|
|
|
|
(line (pt 84 12)(pt 84 4))
|
|
|
|
(line (pt 109 4)(pt 113 8))
|
|
|
|
(line (pt 109 12)(pt 113 8))
|
|
|
|
)
|
|
|
|
(text "VCC" (rect 128 7 148 17)(font "Arial" (font_size 6)))
|
|
|
|
)
|
|
|
|
(pin
|
|
|
|
(output)
|
|
|
|
(rect 776 272 952 288)
|
|
|
|
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
|
|
|
|
(text "Rout[15..0]" (rect 90 0 141 17)(font "Intel Clear" ))
|
|
|
|
(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 776 288 952 304)
|
|
|
|
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
|
|
|
|
(text "COND" (rect 90 0 123 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 776 304 952 320)
|
|
|
|
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
|
|
|
|
(text "CARRY" (rect 90 0 130 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 544 424 744 520)
|
|
|
|
(text "mul16" (rect 5 0 43 19)(font "Intel Clear" (font_size 8)))
|
|
|
|
(text "MULTIPLIER" (rect 8 75 67 92)(font "Intel Clear" ))
|
|
|
|
(port
|
|
|
|
(pt 0 32)
|
|
|
|
(input)
|
|
|
|
(text "CLOCK" (rect 0 0 41 19)(font "Intel Clear" (font_size 8)))
|
|
|
|
(text "CLOCK" (rect 21 27 62 46)(font "Intel Clear" (font_size 8)))
|
|
|
|
(line (pt 0 32)(pt 16 32))
|
|
|
|
)
|
|
|
|
(port
|
|
|
|
(pt 0 48)
|
|
|
|
(input)
|
|
|
|
(text "A[15..0]" (rect 0 0 47 19)(font "Intel Clear" (font_size 8)))
|
|
|
|
(text "A[15..0]" (rect 21 43 68 62)(font "Intel Clear" (font_size 8)))
|
|
|
|
(line (pt 0 48)(pt 16 48)(line_width 3))
|
|
|
|
)
|
|
|
|
(port
|
|
|
|
(pt 0 64)
|
|
|
|
(input)
|
|
|
|
(text "B[15..0]" (rect 0 0 47 19)(font "Intel Clear" (font_size 8)))
|
|
|
|
(text "B[15..0]" (rect 21 59 68 78)(font "Intel Clear" (font_size 8)))
|
|
|
|
(line (pt 0 64)(pt 16 64)(line_width 3))
|
|
|
|
)
|
|
|
|
(port
|
|
|
|
(pt 200 32)
|
|
|
|
(output)
|
|
|
|
(text "PRODUCT[31..0]" (rect 0 0 100 19)(font "Intel Clear" (font_size 8)))
|
|
|
|
(text "PRODUCT[31..0]" (rect 79 27 179 46)(font "Intel Clear" (font_size 8)))
|
|
|
|
(line (pt 200 32)(pt 184 32)(line_width 3))
|
|
|
|
)
|
|
|
|
(drawing
|
|
|
|
(rectangle (rect 16 16 184 80))
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(symbol
|
|
|
|
(rect 544 216 752 392)
|
|
|
|
(text "alu" (rect 5 0 19 12)(font "Arial" ))
|
|
|
|
(text "ALU_in" (rect 8 160 43 172)(font "Arial" ))
|
|
|
|
(port
|
|
|
|
(pt 0 32)
|
|
|
|
(input)
|
|
|
|
(text "enable" (rect 0 0 31 12)(font "Arial" ))
|
|
|
|
(text "enable" (rect 21 27 52 39)(font "Arial" ))
|
|
|
|
(line (pt 0 32)(pt 16 32))
|
|
|
|
)
|
|
|
|
(port
|
|
|
|
(pt 0 48)
|
|
|
|
(input)
|
|
|
|
(text "Rs1[15..0]" (rect 0 0 51 12)(font "Arial" ))
|
|
|
|
(text "Rs1[15..0]" (rect 21 43 72 55)(font "Arial" ))
|
|
|
|
(line (pt 0 48)(pt 16 48)(line_width 3))
|
|
|
|
)
|
|
|
|
(port
|
|
|
|
(pt 0 64)
|
|
|
|
(input)
|
|
|
|
(text "Rs2[15..0]" (rect 0 0 51 12)(font "Arial" ))
|
|
|
|
(text "Rs2[15..0]" (rect 21 59 72 71)(font "Arial" ))
|
|
|
|
(line (pt 0 64)(pt 16 64)(line_width 3))
|
|
|
|
)
|
|
|
|
(port
|
|
|
|
(pt 0 80)
|
|
|
|
(input)
|
|
|
|
(text "Rd[15..0]" (rect 0 0 46 12)(font "Arial" ))
|
|
|
|
(text "Rd[15..0]" (rect 21 75 67 87)(font "Arial" ))
|
|
|
|
(line (pt 0 80)(pt 16 80)(line_width 3))
|
|
|
|
)
|
|
|
|
(port
|
|
|
|
(pt 0 96)
|
|
|
|
(input)
|
|
|
|
(text "opcode[5..0]" (rect 0 0 61 12)(font "Arial" ))
|
|
|
|
(text "opcode[5..0]" (rect 21 91 82 103)(font "Arial" ))
|
|
|
|
(line (pt 0 96)(pt 16 96)(line_width 3))
|
|
|
|
)
|
|
|
|
(port
|
|
|
|
(pt 0 112)
|
|
|
|
(input)
|
|
|
|
(text "mulresult[31..0]" (rect 0 0 76 12)(font "Arial" ))
|
|
|
|
(text "mulresult[31..0]" (rect 21 107 97 119)(font "Arial" ))
|
|
|
|
(line (pt 0 112)(pt 16 112)(line_width 3))
|
|
|
|
)
|
|
|
|
(port
|
|
|
|
(pt 0 128)
|
|
|
|
(input)
|
|
|
|
(text "exec2" (rect 0 0 29 12)(font "Arial" ))
|
|
|
|
(text "exec2" (rect 21 123 50 135)(font "Arial" ))
|
|
|
|
(line (pt 0 128)(pt 16 128))
|
|
|
|
)
|
|
|
|
(port
|
|
|
|
(pt 208 32)
|
|
|
|
(output)
|
|
|
|
(text "mul1[15..0]" (rect 0 0 55 12)(font "Arial" ))
|
2020-06-07 19:51:33 +00:00
|
|
|
(text "mul1[15..0]" (rect 141 27 196 39)(font "Arial" ))
|
2020-06-04 15:33:27 +00:00
|
|
|
(line (pt 208 32)(pt 192 32)(line_width 3))
|
|
|
|
)
|
|
|
|
(port
|
|
|
|
(pt 208 48)
|
|
|
|
(output)
|
|
|
|
(text "mul2[15..0]" (rect 0 0 55 12)(font "Arial" ))
|
2020-06-07 19:51:33 +00:00
|
|
|
(text "mul2[15..0]" (rect 141 43 196 55)(font "Arial" ))
|
2020-06-04 15:33:27 +00:00
|
|
|
(line (pt 208 48)(pt 192 48)(line_width 3))
|
|
|
|
)
|
|
|
|
(port
|
|
|
|
(pt 208 64)
|
|
|
|
(output)
|
|
|
|
(text "Rout[15..0]" (rect 0 0 55 12)(font "Arial" ))
|
2020-06-07 19:51:33 +00:00
|
|
|
(text "Rout[15..0]" (rect 141 59 196 71)(font "Arial" ))
|
2020-06-04 15:33:27 +00:00
|
|
|
(line (pt 208 64)(pt 192 64)(line_width 3))
|
|
|
|
)
|
|
|
|
(port
|
|
|
|
(pt 208 80)
|
|
|
|
(output)
|
|
|
|
(text "jump" (rect 0 0 23 12)(font "Arial" ))
|
2020-06-07 19:51:33 +00:00
|
|
|
(text "jump" (rect 168 75 191 87)(font "Arial" ))
|
2020-06-04 15:33:27 +00:00
|
|
|
(line (pt 208 80)(pt 192 80))
|
|
|
|
)
|
|
|
|
(port
|
|
|
|
(pt 208 96)
|
|
|
|
(output)
|
|
|
|
(text "carry" (rect 0 0 25 12)(font "Arial" ))
|
2020-06-07 19:51:33 +00:00
|
|
|
(text "carry" (rect 166 91 191 103)(font "Arial" ))
|
2020-06-04 15:33:27 +00:00
|
|
|
(line (pt 208 96)(pt 192 96))
|
|
|
|
)
|
|
|
|
(drawing
|
|
|
|
(rectangle (rect 16 16 192 160))
|
|
|
|
)
|
|
|
|
)
|
|
|
|
(connector
|
|
|
|
(pt 752 400)
|
|
|
|
(pt 752 456)
|
|
|
|
(bus)
|
|
|
|
)
|
|
|
|
(connector
|
|
|
|
(pt 752 456)
|
|
|
|
(pt 744 456)
|
|
|
|
(bus)
|
|
|
|
)
|
|
|
|
(connector
|
|
|
|
(pt 544 472)
|
|
|
|
(pt 536 472)
|
|
|
|
(bus)
|
|
|
|
)
|
|
|
|
(connector
|
|
|
|
(pt 544 488)
|
|
|
|
(pt 528 488)
|
|
|
|
(bus)
|
|
|
|
)
|
|
|
|
(connector
|
|
|
|
(pt 528 408)
|
|
|
|
(pt 528 488)
|
|
|
|
(bus)
|
|
|
|
)
|
|
|
|
(connector
|
|
|
|
(pt 536 416)
|
|
|
|
(pt 536 472)
|
|
|
|
(bus)
|
|
|
|
)
|
|
|
|
(connector
|
|
|
|
(pt 536 416)
|
|
|
|
(pt 768 416)
|
|
|
|
(bus)
|
|
|
|
)
|
|
|
|
(connector
|
|
|
|
(pt 544 248)
|
|
|
|
(pt 528 248)
|
|
|
|
)
|
|
|
|
(connector
|
|
|
|
(pt 544 264)
|
|
|
|
(pt 528 264)
|
|
|
|
(bus)
|
|
|
|
)
|
|
|
|
(connector
|
|
|
|
(pt 544 280)
|
|
|
|
(pt 528 280)
|
|
|
|
(bus)
|
|
|
|
)
|
|
|
|
(connector
|
|
|
|
(pt 544 296)
|
|
|
|
(pt 528 296)
|
|
|
|
(bus)
|
|
|
|
)
|
|
|
|
(connector
|
|
|
|
(pt 544 312)
|
|
|
|
(pt 528 312)
|
|
|
|
(bus)
|
|
|
|
)
|
|
|
|
(connector
|
|
|
|
(pt 536 400)
|
|
|
|
(pt 536 328)
|
|
|
|
(bus)
|
|
|
|
)
|
|
|
|
(connector
|
|
|
|
(pt 752 400)
|
|
|
|
(pt 536 400)
|
|
|
|
(bus)
|
|
|
|
)
|
|
|
|
(connector
|
|
|
|
(pt 536 328)
|
|
|
|
(pt 544 328)
|
|
|
|
(bus)
|
|
|
|
)
|
|
|
|
(connector
|
|
|
|
(pt 544 344)
|
|
|
|
(pt 528 344)
|
|
|
|
)
|
|
|
|
(connector
|
|
|
|
(pt 752 264)
|
|
|
|
(pt 760 264)
|
|
|
|
(bus)
|
|
|
|
)
|
|
|
|
(connector
|
|
|
|
(pt 760 408)
|
|
|
|
(pt 760 264)
|
|
|
|
(bus)
|
|
|
|
)
|
|
|
|
(connector
|
|
|
|
(pt 528 408)
|
|
|
|
(pt 760 408)
|
|
|
|
(bus)
|
|
|
|
)
|
|
|
|
(connector
|
|
|
|
(pt 768 248)
|
|
|
|
(pt 752 248)
|
|
|
|
(bus)
|
|
|
|
)
|
|
|
|
(connector
|
|
|
|
(pt 768 416)
|
|
|
|
(pt 768 248)
|
|
|
|
(bus)
|
|
|
|
)
|
|
|
|
(connector
|
|
|
|
(pt 752 280)
|
|
|
|
(pt 776 280)
|
|
|
|
(bus)
|
|
|
|
)
|
|
|
|
(connector
|
|
|
|
(pt 752 296)
|
|
|
|
(pt 776 296)
|
|
|
|
)
|
|
|
|
(connector
|
|
|
|
(pt 752 312)
|
|
|
|
(pt 776 312)
|
|
|
|
)
|
2020-06-07 19:51:33 +00:00
|
|
|
(connector
|
|
|
|
(pt 544 456)
|
|
|
|
(pt 504 456)
|
|
|
|
)
|