mirror of
https://github.com/supleed2/ELEC40006-P1-CW.git
synced 2024-11-10 02:05:48 +00:00
785 lines
18 KiB
Plaintext
785 lines
18 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) 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 104 64 272 80)
|
||
|
(text "INPUT" (rect 125 0 153 10)(font "Arial" (font_size 6)))
|
||
|
(text "s0" (rect 5 0 17 12)(font "Arial" ))
|
||
|
(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 104 80 272 96)
|
||
|
(text "INPUT" (rect 125 0 153 10)(font "Arial" (font_size 6)))
|
||
|
(text "s1" (rect 5 0 16 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 104 96 272 112)
|
||
|
(text "INPUT" (rect 125 0 153 10)(font "Arial" (font_size 6)))
|
||
|
(text "s2" (rect 5 0 16 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 104 176 272 192)
|
||
|
(text "INPUT" (rect 125 0 153 10)(font "Arial" (font_size 6)))
|
||
|
(text "in0[15..0]" (rect 5 0 52 12)(font "Arial" ))
|
||
|
(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 104 208 272 224)
|
||
|
(text "INPUT" (rect 125 0 153 10)(font "Arial" (font_size 6)))
|
||
|
(text "in1[15..0]" (rect 5 0 49 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 104 296 272 312)
|
||
|
(text "INPUT" (rect 125 0 153 10)(font "Arial" (font_size 6)))
|
||
|
(text "in2[15..0]" (rect 5 0 49 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 104 328 272 344)
|
||
|
(text "INPUT" (rect 125 0 153 10)(font "Arial" (font_size 6)))
|
||
|
(text "in3[15..0]" (rect 5 0 49 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 104 416 272 432)
|
||
|
(text "INPUT" (rect 125 0 153 10)(font "Arial" (font_size 6)))
|
||
|
(text "in4[15..0]" (rect 5 0 49 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 104 448 272 464)
|
||
|
(text "INPUT" (rect 125 0 153 10)(font "Arial" (font_size 6)))
|
||
|
(text "in5[15..0]" (rect 5 0 49 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 104 536 272 552)
|
||
|
(text "INPUT" (rect 125 0 153 10)(font "Arial" (font_size 6)))
|
||
|
(text "in6[15..0]" (rect 5 0 49 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 104 568 272 584)
|
||
|
(text "INPUT" (rect 125 0 153 10)(font "Arial" (font_size 6)))
|
||
|
(text "in7[15..0]" (rect 5 0 49 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
|
||
|
(output)
|
||
|
(rect 872 192 1048 208)
|
||
|
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
|
||
|
(text "result[15..0]" (rect 90 0 149 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 312 272 424 360)
|
||
|
(text "BUSMUX" (rect 28 0 91 16)(font "Arial" (font_size 10)))
|
||
|
(text "inst5" (rect 3 77 25 94)(font "Intel Clear" ))
|
||
|
(port
|
||
|
(pt 0 64)
|
||
|
(input)
|
||
|
(text "datab[WIDTH-1..0]" (rect 6 51 108 65)(font "Arial" (font_size 8)))
|
||
|
(text "datab[]" (rect 6 51 44 65)(font "Arial" (font_size 8)))
|
||
|
(line (pt 0 64)(pt 44 64)(line_width 3))
|
||
|
)
|
||
|
(port
|
||
|
(pt 56 88)
|
||
|
(input)
|
||
|
(text "sel" (rect 59 70 75 84)(font "Arial" (font_size 8)))
|
||
|
(text "sel" (rect 59 70 75 84)(font "Arial" (font_size 8)))
|
||
|
(line (pt 56 88)(pt 56 72))
|
||
|
)
|
||
|
(port
|
||
|
(pt 0 32)
|
||
|
(input)
|
||
|
(text "dataa[WIDTH-1..0]" (rect 6 19 108 33)(font "Arial" (font_size 8)))
|
||
|
(text "dataa[]" (rect 6 19 44 33)(font "Arial" (font_size 8)))
|
||
|
(line (pt 0 32)(pt 44 32)(line_width 3))
|
||
|
)
|
||
|
(port
|
||
|
(pt 112 48)
|
||
|
(output)
|
||
|
(text "result[WIDTH-1..0]" (rect 75 35 177 49)(font "Arial" (font_size 8)))
|
||
|
(text "result[]" (rect 75 35 113 49)(font "Arial" (font_size 8)))
|
||
|
(line (pt 68 48)(pt 112 48)(line_width 3))
|
||
|
)
|
||
|
(parameter
|
||
|
"WIDTH"
|
||
|
"16"
|
||
|
"Width of I/O, any integer > 0"
|
||
|
" 1" " 2" " 3" " 4" " 5" " 6" " 7" " 8" " 9" "10" "11" "12" "13" "14" "15" "16" "20" "24" "28" "32" "40" "48" "56" "64"
|
||
|
)
|
||
|
(drawing
|
||
|
(text "0" (rect 52 31 56 41)(font "Arial" (font_size 6)))
|
||
|
(text "1" (rect 52 55 56 65)(font "Arial" (font_size 6)))
|
||
|
(line (pt 68 64)(pt 68 32))
|
||
|
(line (pt 44 80)(pt 44 16))
|
||
|
(line (pt 44 16)(pt 68 32))
|
||
|
(line (pt 44 80)(pt 68 64))
|
||
|
)
|
||
|
(annotation_block (parameter)(rect 424 272 448 288))
|
||
|
)
|
||
|
(symbol
|
||
|
(rect 312 392 424 480)
|
||
|
(text "BUSMUX" (rect 28 0 91 16)(font "Arial" (font_size 10)))
|
||
|
(text "inst6" (rect 3 77 25 94)(font "Intel Clear" ))
|
||
|
(port
|
||
|
(pt 0 64)
|
||
|
(input)
|
||
|
(text "datab[WIDTH-1..0]" (rect 6 51 108 65)(font "Arial" (font_size 8)))
|
||
|
(text "datab[]" (rect 6 51 44 65)(font "Arial" (font_size 8)))
|
||
|
(line (pt 0 64)(pt 44 64)(line_width 3))
|
||
|
)
|
||
|
(port
|
||
|
(pt 56 88)
|
||
|
(input)
|
||
|
(text "sel" (rect 59 70 75 84)(font "Arial" (font_size 8)))
|
||
|
(text "sel" (rect 59 70 75 84)(font "Arial" (font_size 8)))
|
||
|
(line (pt 56 88)(pt 56 72))
|
||
|
)
|
||
|
(port
|
||
|
(pt 0 32)
|
||
|
(input)
|
||
|
(text "dataa[WIDTH-1..0]" (rect 6 19 108 33)(font "Arial" (font_size 8)))
|
||
|
(text "dataa[]" (rect 6 19 44 33)(font "Arial" (font_size 8)))
|
||
|
(line (pt 0 32)(pt 44 32)(line_width 3))
|
||
|
)
|
||
|
(port
|
||
|
(pt 112 48)
|
||
|
(output)
|
||
|
(text "result[WIDTH-1..0]" (rect 75 35 177 49)(font "Arial" (font_size 8)))
|
||
|
(text "result[]" (rect 75 35 113 49)(font "Arial" (font_size 8)))
|
||
|
(line (pt 68 48)(pt 112 48)(line_width 3))
|
||
|
)
|
||
|
(parameter
|
||
|
"WIDTH"
|
||
|
"16"
|
||
|
"Width of I/O, any integer > 0"
|
||
|
" 1" " 2" " 3" " 4" " 5" " 6" " 7" " 8" " 9" "10" "11" "12" "13" "14" "15" "16" "20" "24" "28" "32" "40" "48" "56" "64"
|
||
|
)
|
||
|
(drawing
|
||
|
(text "0" (rect 52 31 56 41)(font "Arial" (font_size 6)))
|
||
|
(text "1" (rect 52 55 56 65)(font "Arial" (font_size 6)))
|
||
|
(line (pt 68 64)(pt 68 32))
|
||
|
(line (pt 44 80)(pt 44 16))
|
||
|
(line (pt 44 16)(pt 68 32))
|
||
|
(line (pt 44 80)(pt 68 64))
|
||
|
)
|
||
|
(annotation_block (parameter)(rect 424 392 448 408))
|
||
|
)
|
||
|
(symbol
|
||
|
(rect 312 512 424 600)
|
||
|
(text "BUSMUX" (rect 28 0 91 16)(font "Arial" (font_size 10)))
|
||
|
(text "inst7" (rect 3 77 25 94)(font "Intel Clear" ))
|
||
|
(port
|
||
|
(pt 0 64)
|
||
|
(input)
|
||
|
(text "datab[WIDTH-1..0]" (rect 6 51 108 65)(font "Arial" (font_size 8)))
|
||
|
(text "datab[]" (rect 6 51 44 65)(font "Arial" (font_size 8)))
|
||
|
(line (pt 0 64)(pt 44 64)(line_width 3))
|
||
|
)
|
||
|
(port
|
||
|
(pt 56 88)
|
||
|
(input)
|
||
|
(text "sel" (rect 59 70 75 84)(font "Arial" (font_size 8)))
|
||
|
(text "sel" (rect 59 70 75 84)(font "Arial" (font_size 8)))
|
||
|
(line (pt 56 88)(pt 56 72))
|
||
|
)
|
||
|
(port
|
||
|
(pt 0 32)
|
||
|
(input)
|
||
|
(text "dataa[WIDTH-1..0]" (rect 6 19 108 33)(font "Arial" (font_size 8)))
|
||
|
(text "dataa[]" (rect 6 19 44 33)(font "Arial" (font_size 8)))
|
||
|
(line (pt 0 32)(pt 44 32)(line_width 3))
|
||
|
)
|
||
|
(port
|
||
|
(pt 112 48)
|
||
|
(output)
|
||
|
(text "result[WIDTH-1..0]" (rect 75 35 177 49)(font "Arial" (font_size 8)))
|
||
|
(text "result[]" (rect 75 35 113 49)(font "Arial" (font_size 8)))
|
||
|
(line (pt 68 48)(pt 112 48)(line_width 3))
|
||
|
)
|
||
|
(parameter
|
||
|
"WIDTH"
|
||
|
"16"
|
||
|
"Width of I/O, any integer > 0"
|
||
|
" 1" " 2" " 3" " 4" " 5" " 6" " 7" " 8" " 9" "10" "11" "12" "13" "14" "15" "16" "20" "24" "28" "32" "40" "48" "56" "64"
|
||
|
)
|
||
|
(drawing
|
||
|
(text "0" (rect 52 31 56 41)(font "Arial" (font_size 6)))
|
||
|
(text "1" (rect 52 55 56 65)(font "Arial" (font_size 6)))
|
||
|
(line (pt 68 64)(pt 68 32))
|
||
|
(line (pt 44 80)(pt 44 16))
|
||
|
(line (pt 44 16)(pt 68 32))
|
||
|
(line (pt 44 80)(pt 68 64))
|
||
|
)
|
||
|
(annotation_block (parameter)(rect 424 512 448 528))
|
||
|
)
|
||
|
(symbol
|
||
|
(rect 528 152 640 240)
|
||
|
(text "BUSMUX" (rect 28 0 91 16)(font "Arial" (font_size 10)))
|
||
|
(text "inst8" (rect 3 77 25 94)(font "Intel Clear" ))
|
||
|
(port
|
||
|
(pt 0 64)
|
||
|
(input)
|
||
|
(text "datab[WIDTH-1..0]" (rect 6 51 108 65)(font "Arial" (font_size 8)))
|
||
|
(text "datab[]" (rect 6 51 44 65)(font "Arial" (font_size 8)))
|
||
|
(line (pt 0 64)(pt 44 64)(line_width 3))
|
||
|
)
|
||
|
(port
|
||
|
(pt 56 88)
|
||
|
(input)
|
||
|
(text "sel" (rect 59 70 75 84)(font "Arial" (font_size 8)))
|
||
|
(text "sel" (rect 59 70 75 84)(font "Arial" (font_size 8)))
|
||
|
(line (pt 56 88)(pt 56 72))
|
||
|
)
|
||
|
(port
|
||
|
(pt 0 32)
|
||
|
(input)
|
||
|
(text "dataa[WIDTH-1..0]" (rect 6 19 108 33)(font "Arial" (font_size 8)))
|
||
|
(text "dataa[]" (rect 6 19 44 33)(font "Arial" (font_size 8)))
|
||
|
(line (pt 0 32)(pt 44 32)(line_width 3))
|
||
|
)
|
||
|
(port
|
||
|
(pt 112 48)
|
||
|
(output)
|
||
|
(text "result[WIDTH-1..0]" (rect 75 35 177 49)(font "Arial" (font_size 8)))
|
||
|
(text "result[]" (rect 75 35 113 49)(font "Arial" (font_size 8)))
|
||
|
(line (pt 68 48)(pt 112 48)(line_width 3))
|
||
|
)
|
||
|
(parameter
|
||
|
"WIDTH"
|
||
|
"16"
|
||
|
"Width of I/O, any integer > 0"
|
||
|
" 1" " 2" " 3" " 4" " 5" " 6" " 7" " 8" " 9" "10" "11" "12" "13" "14" "15" "16" "20" "24" "28" "32" "40" "48" "56" "64"
|
||
|
)
|
||
|
(drawing
|
||
|
(text "0" (rect 52 31 56 41)(font "Arial" (font_size 6)))
|
||
|
(text "1" (rect 52 55 56 65)(font "Arial" (font_size 6)))
|
||
|
(line (pt 68 64)(pt 68 32))
|
||
|
(line (pt 44 80)(pt 44 16))
|
||
|
(line (pt 44 16)(pt 68 32))
|
||
|
(line (pt 44 80)(pt 68 64))
|
||
|
)
|
||
|
(annotation_block (parameter)(rect 640 152 664 168))
|
||
|
)
|
||
|
(symbol
|
||
|
(rect 528 272 640 360)
|
||
|
(text "BUSMUX" (rect 28 0 91 16)(font "Arial" (font_size 10)))
|
||
|
(text "inst9" (rect 3 77 25 94)(font "Intel Clear" ))
|
||
|
(port
|
||
|
(pt 0 64)
|
||
|
(input)
|
||
|
(text "datab[WIDTH-1..0]" (rect 6 51 108 65)(font "Arial" (font_size 8)))
|
||
|
(text "datab[]" (rect 6 51 44 65)(font "Arial" (font_size 8)))
|
||
|
(line (pt 0 64)(pt 44 64)(line_width 3))
|
||
|
)
|
||
|
(port
|
||
|
(pt 56 88)
|
||
|
(input)
|
||
|
(text "sel" (rect 59 70 75 84)(font "Arial" (font_size 8)))
|
||
|
(text "sel" (rect 59 70 75 84)(font "Arial" (font_size 8)))
|
||
|
(line (pt 56 88)(pt 56 72))
|
||
|
)
|
||
|
(port
|
||
|
(pt 0 32)
|
||
|
(input)
|
||
|
(text "dataa[WIDTH-1..0]" (rect 6 19 108 33)(font "Arial" (font_size 8)))
|
||
|
(text "dataa[]" (rect 6 19 44 33)(font "Arial" (font_size 8)))
|
||
|
(line (pt 0 32)(pt 44 32)(line_width 3))
|
||
|
)
|
||
|
(port
|
||
|
(pt 112 48)
|
||
|
(output)
|
||
|
(text "result[WIDTH-1..0]" (rect 75 35 177 49)(font "Arial" (font_size 8)))
|
||
|
(text "result[]" (rect 75 35 113 49)(font "Arial" (font_size 8)))
|
||
|
(line (pt 68 48)(pt 112 48)(line_width 3))
|
||
|
)
|
||
|
(parameter
|
||
|
"WIDTH"
|
||
|
"16"
|
||
|
"Width of I/O, any integer > 0"
|
||
|
" 1" " 2" " 3" " 4" " 5" " 6" " 7" " 8" " 9" "10" "11" "12" "13" "14" "15" "16" "20" "24" "28" "32" "40" "48" "56" "64"
|
||
|
)
|
||
|
(drawing
|
||
|
(text "0" (rect 52 31 56 41)(font "Arial" (font_size 6)))
|
||
|
(text "1" (rect 52 55 56 65)(font "Arial" (font_size 6)))
|
||
|
(line (pt 68 64)(pt 68 32))
|
||
|
(line (pt 44 80)(pt 44 16))
|
||
|
(line (pt 44 16)(pt 68 32))
|
||
|
(line (pt 44 80)(pt 68 64))
|
||
|
)
|
||
|
(annotation_block (parameter)(rect 640 272 664 288))
|
||
|
)
|
||
|
(symbol
|
||
|
(rect 720 152 832 240)
|
||
|
(text "BUSMUX" (rect 28 0 91 16)(font "Arial" (font_size 10)))
|
||
|
(text "inst10" (rect 3 77 31 94)(font "Intel Clear" ))
|
||
|
(port
|
||
|
(pt 0 64)
|
||
|
(input)
|
||
|
(text "datab[WIDTH-1..0]" (rect 6 51 108 65)(font "Arial" (font_size 8)))
|
||
|
(text "datab[]" (rect 6 51 44 65)(font "Arial" (font_size 8)))
|
||
|
(line (pt 0 64)(pt 44 64)(line_width 3))
|
||
|
)
|
||
|
(port
|
||
|
(pt 56 88)
|
||
|
(input)
|
||
|
(text "sel" (rect 59 70 75 84)(font "Arial" (font_size 8)))
|
||
|
(text "sel" (rect 59 70 75 84)(font "Arial" (font_size 8)))
|
||
|
(line (pt 56 88)(pt 56 72))
|
||
|
)
|
||
|
(port
|
||
|
(pt 0 32)
|
||
|
(input)
|
||
|
(text "dataa[WIDTH-1..0]" (rect 6 19 108 33)(font "Arial" (font_size 8)))
|
||
|
(text "dataa[]" (rect 6 19 44 33)(font "Arial" (font_size 8)))
|
||
|
(line (pt 0 32)(pt 44 32)(line_width 3))
|
||
|
)
|
||
|
(port
|
||
|
(pt 112 48)
|
||
|
(output)
|
||
|
(text "result[WIDTH-1..0]" (rect 75 35 177 49)(font "Arial" (font_size 8)))
|
||
|
(text "result[]" (rect 75 35 113 49)(font "Arial" (font_size 8)))
|
||
|
(line (pt 68 48)(pt 112 48)(line_width 3))
|
||
|
)
|
||
|
(parameter
|
||
|
"WIDTH"
|
||
|
"16"
|
||
|
"Width of I/O, any integer > 0"
|
||
|
" 1" " 2" " 3" " 4" " 5" " 6" " 7" " 8" " 9" "10" "11" "12" "13" "14" "15" "16" "20" "24" "28" "32" "40" "48" "56" "64"
|
||
|
)
|
||
|
(drawing
|
||
|
(text "0" (rect 52 31 56 41)(font "Arial" (font_size 6)))
|
||
|
(text "1" (rect 52 55 56 65)(font "Arial" (font_size 6)))
|
||
|
(line (pt 68 64)(pt 68 32))
|
||
|
(line (pt 44 80)(pt 44 16))
|
||
|
(line (pt 44 16)(pt 68 32))
|
||
|
(line (pt 44 80)(pt 68 64))
|
||
|
)
|
||
|
(annotation_block (parameter)(rect 832 152 856 168))
|
||
|
)
|
||
|
(symbol
|
||
|
(rect 312 152 424 240)
|
||
|
(text "BUSMUX" (rect 28 0 91 16)(font "Arial" (font_size 10)))
|
||
|
(text "inst" (rect 3 77 23 91)(font "Arial" (font_size 8)))
|
||
|
(port
|
||
|
(pt 0 64)
|
||
|
(input)
|
||
|
(text "datab[WIDTH-1..0]" (rect 6 51 108 65)(font "Arial" (font_size 8)))
|
||
|
(text "datab[]" (rect 6 51 44 65)(font "Arial" (font_size 8)))
|
||
|
(line (pt 0 64)(pt 44 64)(line_width 3))
|
||
|
)
|
||
|
(port
|
||
|
(pt 56 88)
|
||
|
(input)
|
||
|
(text "sel" (rect 59 70 75 84)(font "Arial" (font_size 8)))
|
||
|
(text "sel" (rect 59 70 75 84)(font "Arial" (font_size 8)))
|
||
|
(line (pt 56 88)(pt 56 72))
|
||
|
)
|
||
|
(port
|
||
|
(pt 0 32)
|
||
|
(input)
|
||
|
(text "dataa[WIDTH-1..0]" (rect 6 19 108 33)(font "Arial" (font_size 8)))
|
||
|
(text "dataa[]" (rect 6 19 44 33)(font "Arial" (font_size 8)))
|
||
|
(line (pt 0 32)(pt 44 32)(line_width 3))
|
||
|
)
|
||
|
(port
|
||
|
(pt 112 48)
|
||
|
(output)
|
||
|
(text "result[WIDTH-1..0]" (rect 75 35 177 49)(font "Arial" (font_size 8)))
|
||
|
(text "result[]" (rect 75 35 113 49)(font "Arial" (font_size 8)))
|
||
|
(line (pt 68 48)(pt 112 48)(line_width 3))
|
||
|
)
|
||
|
(parameter
|
||
|
"WIDTH"
|
||
|
"16"
|
||
|
"Width of I/O, any integer > 0"
|
||
|
" 1" " 2" " 3" " 4" " 5" " 6" " 7" " 8" " 9" "10" "11" "12" "13" "14" "15" "16" "20" "24" "28" "32" "40" "48" "56" "64"
|
||
|
(type "PARAMETER_SIGNED_DEC") )
|
||
|
(drawing
|
||
|
(text "0" (rect 52 31 56 41)(font "Arial" (font_size 6)))
|
||
|
(text "1" (rect 52 55 56 65)(font "Arial" (font_size 6)))
|
||
|
(line (pt 68 64)(pt 68 32))
|
||
|
(line (pt 44 80)(pt 44 16))
|
||
|
(line (pt 44 16)(pt 68 32))
|
||
|
(line (pt 44 80)(pt 68 64))
|
||
|
)
|
||
|
(annotation_block (parameter)(rect 424 152 456 176))
|
||
|
)
|
||
|
(connector
|
||
|
(pt 424 200)
|
||
|
(pt 440 200)
|
||
|
(bus)
|
||
|
)
|
||
|
(connector
|
||
|
(pt 456 320)
|
||
|
(pt 424 320)
|
||
|
(bus)
|
||
|
)
|
||
|
(connector
|
||
|
(pt 424 440)
|
||
|
(pt 472 440)
|
||
|
(bus)
|
||
|
)
|
||
|
(connector
|
||
|
(pt 424 560)
|
||
|
(pt 488 560)
|
||
|
(bus)
|
||
|
)
|
||
|
(connector
|
||
|
(pt 656 184)
|
||
|
(pt 720 184)
|
||
|
(bus)
|
||
|
)
|
||
|
(connector
|
||
|
(pt 440 200)
|
||
|
(pt 440 184)
|
||
|
(bus)
|
||
|
)
|
||
|
(connector
|
||
|
(pt 456 320)
|
||
|
(pt 456 216)
|
||
|
(bus)
|
||
|
)
|
||
|
(connector
|
||
|
(pt 656 200)
|
||
|
(pt 640 200)
|
||
|
(bus)
|
||
|
)
|
||
|
(connector
|
||
|
(pt 656 184)
|
||
|
(pt 656 200)
|
||
|
(bus)
|
||
|
)
|
||
|
(connector
|
||
|
(pt 456 216)
|
||
|
(pt 528 216)
|
||
|
(bus)
|
||
|
)
|
||
|
(connector
|
||
|
(pt 440 184)
|
||
|
(pt 528 184)
|
||
|
(bus)
|
||
|
)
|
||
|
(connector
|
||
|
(pt 472 440)
|
||
|
(pt 472 304)
|
||
|
(bus)
|
||
|
)
|
||
|
(connector
|
||
|
(pt 488 560)
|
||
|
(pt 488 336)
|
||
|
(bus)
|
||
|
)
|
||
|
(connector
|
||
|
(pt 488 336)
|
||
|
(pt 528 336)
|
||
|
(bus)
|
||
|
)
|
||
|
(connector
|
||
|
(pt 472 304)
|
||
|
(pt 528 304)
|
||
|
(bus)
|
||
|
)
|
||
|
(connector
|
||
|
(pt 720 216)
|
||
|
(pt 672 216)
|
||
|
(bus)
|
||
|
)
|
||
|
(connector
|
||
|
(pt 640 320)
|
||
|
(pt 672 320)
|
||
|
(bus)
|
||
|
)
|
||
|
(connector
|
||
|
(pt 672 216)
|
||
|
(pt 672 320)
|
||
|
(bus)
|
||
|
)
|
||
|
(connector
|
||
|
(pt 368 240)
|
||
|
(pt 368 256)
|
||
|
)
|
||
|
(connector
|
||
|
(pt 368 256)
|
||
|
(pt 296 256)
|
||
|
)
|
||
|
(connector
|
||
|
(pt 368 360)
|
||
|
(pt 368 376)
|
||
|
)
|
||
|
(connector
|
||
|
(pt 368 376)
|
||
|
(pt 296 376)
|
||
|
)
|
||
|
(connector
|
||
|
(pt 296 608)
|
||
|
(pt 368 608)
|
||
|
)
|
||
|
(connector
|
||
|
(pt 368 608)
|
||
|
(pt 368 600)
|
||
|
)
|
||
|
(connector
|
||
|
(pt 368 496)
|
||
|
(pt 296 496)
|
||
|
)
|
||
|
(connector
|
||
|
(pt 296 496)
|
||
|
(pt 296 608)
|
||
|
)
|
||
|
(connector
|
||
|
(pt 368 496)
|
||
|
(pt 368 480)
|
||
|
)
|
||
|
(connector
|
||
|
(pt 296 376)
|
||
|
(pt 296 496)
|
||
|
)
|
||
|
(connector
|
||
|
(pt 584 240)
|
||
|
(pt 584 256)
|
||
|
)
|
||
|
(connector
|
||
|
(pt 512 256)
|
||
|
(pt 584 256)
|
||
|
)
|
||
|
(connector
|
||
|
(pt 512 376)
|
||
|
(pt 584 376)
|
||
|
)
|
||
|
(connector
|
||
|
(pt 584 360)
|
||
|
(pt 584 376)
|
||
|
)
|
||
|
(connector
|
||
|
(pt 272 184)
|
||
|
(pt 312 184)
|
||
|
(bus)
|
||
|
)
|
||
|
(connector
|
||
|
(pt 312 216)
|
||
|
(pt 272 216)
|
||
|
(bus)
|
||
|
)
|
||
|
(connector
|
||
|
(pt 312 304)
|
||
|
(pt 272 304)
|
||
|
(bus)
|
||
|
)
|
||
|
(connector
|
||
|
(pt 312 336)
|
||
|
(pt 272 336)
|
||
|
(bus)
|
||
|
)
|
||
|
(connector
|
||
|
(pt 312 424)
|
||
|
(pt 272 424)
|
||
|
(bus)
|
||
|
)
|
||
|
(connector
|
||
|
(pt 312 456)
|
||
|
(pt 272 456)
|
||
|
(bus)
|
||
|
)
|
||
|
(connector
|
||
|
(pt 312 544)
|
||
|
(pt 272 544)
|
||
|
(bus)
|
||
|
)
|
||
|
(connector
|
||
|
(pt 312 576)
|
||
|
(pt 272 576)
|
||
|
(bus)
|
||
|
)
|
||
|
(connector
|
||
|
(pt 272 72)
|
||
|
(pt 296 72)
|
||
|
)
|
||
|
(connector
|
||
|
(pt 296 72)
|
||
|
(pt 296 256)
|
||
|
)
|
||
|
(connector
|
||
|
(pt 296 256)
|
||
|
(pt 296 376)
|
||
|
)
|
||
|
(connector
|
||
|
(pt 272 88)
|
||
|
(pt 512 88)
|
||
|
)
|
||
|
(connector
|
||
|
(pt 512 88)
|
||
|
(pt 512 256)
|
||
|
)
|
||
|
(connector
|
||
|
(pt 512 256)
|
||
|
(pt 512 376)
|
||
|
)
|
||
|
(connector
|
||
|
(pt 776 240)
|
||
|
(pt 776 256)
|
||
|
)
|
||
|
(connector
|
||
|
(pt 272 104)
|
||
|
(pt 704 104)
|
||
|
)
|
||
|
(connector
|
||
|
(pt 776 256)
|
||
|
(pt 704 256)
|
||
|
)
|
||
|
(connector
|
||
|
(pt 704 104)
|
||
|
(pt 704 256)
|
||
|
)
|
||
|
(connector
|
||
|
(pt 832 200)
|
||
|
(pt 872 200)
|
||
|
(bus)
|
||
|
)
|
||
|
(junction (pt 296 496))
|
||
|
(junction (pt 296 376))
|
||
|
(junction (pt 296 256))
|
||
|
(junction (pt 512 256))
|