2023-03-28 23:15:35 +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) 2020 Intel Corporation. All rights reserved.
|
|
|
|
Your use of Intel Corporation's design tools, logic functions
|
|
|
|
and other software and tools, and any 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, at
|
|
|
|
https://fpgasoftware.intel.com/eula.
|
|
|
|
*/
|
|
|
|
(header "graphic" (version "1.4"))
|
|
|
|
(pin
|
|
|
|
(input)
|
2023-04-05 13:34:11 +00:00
|
|
|
(rect 272 160 440 176)
|
2023-03-28 23:15:35 +00:00
|
|
|
(text "INPUT" (rect 125 0 154 10)(font "Arial" (font_size 6)))
|
2023-04-05 13:34:11 +00:00
|
|
|
(text "SW[5..0]" (rect 5 0 48 13)(font "Intel Clear" ))
|
2023-03-28 23:15:35 +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 149 17)(font "Arial" (font_size 6)))
|
2023-04-05 13:34:11 +00:00
|
|
|
(annotation_block (location)(rect 208 176 272 192))
|
2023-03-28 23:15:35 +00:00
|
|
|
)
|
|
|
|
(pin
|
|
|
|
(input)
|
2023-04-05 13:34:11 +00:00
|
|
|
(rect 272 144 440 160)
|
2023-03-28 23:15:35 +00:00
|
|
|
(text "INPUT" (rect 125 0 154 10)(font "Arial" (font_size 6)))
|
2023-04-05 13:34:11 +00:00
|
|
|
(text "SW[11..6]" (rect 5 0 54 11)(font "Arial" ))
|
2023-03-28 23:15:35 +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 149 17)(font "Arial" (font_size 6)))
|
2023-04-05 13:34:11 +00:00
|
|
|
(annotation_block (location)(rect 208 160 272 176))
|
2023-03-28 23:15:35 +00:00
|
|
|
)
|
|
|
|
(pin
|
|
|
|
(input)
|
|
|
|
(rect 272 176 440 192)
|
|
|
|
(text "INPUT" (rect 125 0 154 10)(font "Arial" (font_size 6)))
|
2023-04-05 13:34:11 +00:00
|
|
|
(text "SW[14..12]" (rect 5 0 61 11)(font "Arial" ))
|
2023-03-28 23:15:35 +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 149 17)(font "Arial" (font_size 6)))
|
|
|
|
(annotation_block (location)(rect 208 192 272 208))
|
|
|
|
)
|
|
|
|
(pin
|
|
|
|
(output)
|
2023-04-05 13:34:11 +00:00
|
|
|
(rect 624 160 800 176)
|
2023-03-28 23:15:35 +00:00
|
|
|
(text "OUTPUT" (rect 1 0 41 10)(font "Arial" (font_size 6)))
|
2023-04-05 13:34:11 +00:00
|
|
|
(text "LEDR[11..6]" (rect 90 0 150 13)(font "Intel Clear" ))
|
2023-03-28 23:15:35 +00:00
|
|
|
(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))
|
|
|
|
)
|
2023-04-05 13:34:11 +00:00
|
|
|
(annotation_block (location)(rect 800 176 856 192))
|
2023-03-28 23:15:35 +00:00
|
|
|
)
|
|
|
|
(pin
|
|
|
|
(output)
|
2023-04-05 13:34:11 +00:00
|
|
|
(rect 624 144 800 160)
|
2023-03-28 23:15:35 +00:00
|
|
|
(text "OUTPUT" (rect 1 0 41 10)(font "Arial" (font_size 6)))
|
2023-04-05 13:34:11 +00:00
|
|
|
(text "LEDR[5..0]" (rect 90 0 144 11)(font "Arial" ))
|
2023-03-28 23:15:35 +00:00
|
|
|
(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))
|
|
|
|
)
|
2023-04-05 13:34:11 +00:00
|
|
|
(annotation_block (location)(rect 800 160 864 176))
|
2023-03-28 23:15:35 +00:00
|
|
|
)
|
|
|
|
(symbol
|
2023-04-05 13:34:11 +00:00
|
|
|
(rect 448 120 616 232)
|
|
|
|
(text "ALUN" (rect 5 0 34 11)(font "Arial" ))
|
2023-03-28 23:15:35 +00:00
|
|
|
(text "inst" (rect 8 96 26 107)(font "Arial" ))
|
|
|
|
(port
|
|
|
|
(pt 0 32)
|
|
|
|
(input)
|
2023-04-05 13:34:11 +00:00
|
|
|
(text "a[n-1..0]" (rect 0 0 41 11)(font "Arial" ))
|
|
|
|
(text "a[n-1..0]" (rect 21 27 62 38)(font "Arial" ))
|
2023-03-28 23:15:35 +00:00
|
|
|
(line (pt 0 32)(pt 16 32)(line_width 3))
|
|
|
|
)
|
|
|
|
(port
|
|
|
|
(pt 0 48)
|
|
|
|
(input)
|
2023-04-05 13:34:11 +00:00
|
|
|
(text "b[n-1..0]" (rect 0 0 41 11)(font "Arial" ))
|
|
|
|
(text "b[n-1..0]" (rect 21 43 62 54)(font "Arial" ))
|
2023-03-28 23:15:35 +00:00
|
|
|
(line (pt 0 48)(pt 16 48)(line_width 3))
|
|
|
|
)
|
|
|
|
(port
|
|
|
|
(pt 0 64)
|
|
|
|
(input)
|
|
|
|
(text "op[2..0]" (rect 0 0 37 11)(font "Arial" ))
|
|
|
|
(text "op[2..0]" (rect 21 59 58 70)(font "Arial" ))
|
|
|
|
(line (pt 0 64)(pt 16 64)(line_width 3))
|
|
|
|
)
|
|
|
|
(port
|
2023-04-05 13:34:11 +00:00
|
|
|
(pt 168 32)
|
2023-03-28 23:15:35 +00:00
|
|
|
(output)
|
2023-04-05 13:34:11 +00:00
|
|
|
(text "r[n-1..0]" (rect 0 0 38 11)(font "Arial" ))
|
|
|
|
(text "r[n-1..0]" (rect 115 27 153 38)(font "Arial" ))
|
|
|
|
(line (pt 168 32)(pt 152 32)(line_width 3))
|
2023-03-28 23:15:35 +00:00
|
|
|
)
|
|
|
|
(port
|
2023-04-05 13:34:11 +00:00
|
|
|
(pt 168 48)
|
2023-03-28 23:15:35 +00:00
|
|
|
(output)
|
2023-04-05 13:34:11 +00:00
|
|
|
(text "m[n-1..0]" (rect 0 0 43 11)(font "Arial" ))
|
|
|
|
(text "m[n-1..0]" (rect 111 43 154 54)(font "Arial" ))
|
|
|
|
(line (pt 168 48)(pt 152 48)(line_width 3))
|
2023-03-28 23:15:35 +00:00
|
|
|
)
|
2023-04-05 13:34:11 +00:00
|
|
|
(parameter
|
|
|
|
"N"
|
|
|
|
"6"
|
|
|
|
""
|
|
|
|
(type "PARAMETER_SIGNED_DEC") )
|
2023-03-28 23:15:35 +00:00
|
|
|
(drawing
|
2023-04-05 13:34:11 +00:00
|
|
|
(rectangle (rect 16 16 152 96))
|
2023-03-28 23:15:35 +00:00
|
|
|
)
|
2023-04-05 13:34:11 +00:00
|
|
|
(annotation_block (parameter)(rect 616 88 787 118))
|
2023-03-28 23:15:35 +00:00
|
|
|
)
|
|
|
|
(connector
|
|
|
|
(pt 448 152)
|
|
|
|
(pt 440 152)
|
|
|
|
(bus)
|
|
|
|
)
|
|
|
|
(connector
|
|
|
|
(pt 448 168)
|
|
|
|
(pt 440 168)
|
|
|
|
(bus)
|
|
|
|
)
|
|
|
|
(connector
|
|
|
|
(pt 448 184)
|
|
|
|
(pt 440 184)
|
|
|
|
(bus)
|
|
|
|
)
|
|
|
|
(connector
|
|
|
|
(pt 616 152)
|
2023-04-05 13:34:11 +00:00
|
|
|
(pt 624 152)
|
2023-03-28 23:15:35 +00:00
|
|
|
(bus)
|
|
|
|
)
|
|
|
|
(connector
|
|
|
|
(pt 616 168)
|
2023-04-05 13:34:11 +00:00
|
|
|
(pt 624 168)
|
2023-03-28 23:15:35 +00:00
|
|
|
(bus)
|
|
|
|
)
|