uaveiro-leci/1ano/2semestre/lsd/pratica05/CmpN_Demo/CmpN_Demo.bdf

391 lines
9.5 KiB
Plaintext
Raw Permalink Normal View History

2023-03-21 22:41:33 +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)
(rect 424 240 592 256)
(text "INPUT" (rect 125 0 154 10)(font "Arial" (font_size 6)))
(text "SW[7..4]" (rect 5 0 47 11)(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 149 17)(font "Arial" (font_size 6)))
(annotation_block (location)(rect 360 256 424 272))
)
(pin
(input)
(rect 424 256 592 272)
(text "INPUT" (rect 125 0 154 10)(font "Arial" (font_size 6)))
(text "SW[3..0]" (rect 5 0 48 13)(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 149 17)(font "Arial" (font_size 6)))
(annotation_block (location)(rect 360 272 424 288))
)
(pin
(input)
(rect 424 408 592 424)
(text "INPUT" (rect 125 0 154 10)(font "Arial" (font_size 6)))
(text "SW[17..13]" (rect 5 0 62 13)(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 149 17)(font "Arial" (font_size 6)))
(annotation_block (location)(rect 232 472 296 488))
)
(pin
(input)
(rect 424 424 592 440)
(text "INPUT" (rect 125 0 154 10)(font "Arial" (font_size 6)))
(text "SW[12..8]" (rect 5 0 56 13)(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 149 17)(font "Arial" (font_size 6)))
(annotation_block (location)(rect 232 488 296 504))
)
(pin
(output)
(rect 800 240 976 256)
(text "OUTPUT" (rect 1 0 41 10)(font "Arial" (font_size 6)))
(text "LEDG[0]" (rect 90 0 132 11)(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))
)
(annotation_block (location)(rect 984 256 1048 272))
)
(pin
(output)
(rect 800 256 976 272)
(text "OUTPUT" (rect 1 0 41 10)(font "Arial" (font_size 6)))
(text "LEDG[1]" (rect 90 0 132 13)(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))
)
(annotation_block (location)(rect 976 272 1032 288))
)
(pin
(output)
(rect 800 272 976 288)
(text "OUTPUT" (rect 1 0 41 10)(font "Arial" (font_size 6)))
(text "LEDG[2]" (rect 90 0 132 13)(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))
)
(annotation_block (location)(rect 976 288 1032 304))
)
(pin
(output)
(rect 800 288 976 304)
(text "OUTPUT" (rect 1 0 41 10)(font "Arial" (font_size 6)))
(text "LEDG[3]" (rect 90 0 132 11)(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))
)
(annotation_block (location)(rect 976 304 1032 320))
)
(pin
(output)
(rect 800 408 976 424)
(text "OUTPUT" (rect 1 0 41 10)(font "Arial" (font_size 6)))
(text "LEDR[0]" (rect 90 0 132 13)(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))
)
(annotation_block (location)(rect 856 472 920 488))
)
(pin
(output)
(rect 800 424 976 440)
(text "OUTPUT" (rect 1 0 41 10)(font "Arial" (font_size 6)))
(text "LEDR[1]" (rect 90 0 132 13)(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))
)
(annotation_block (location)(rect 848 488 904 504))
)
(pin
(output)
(rect 800 440 976 456)
(text "OUTPUT" (rect 1 0 41 10)(font "Arial" (font_size 6)))
(text "LEDR[2]" (rect 90 0 132 13)(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))
)
(annotation_block (location)(rect 848 504 904 520))
)
(pin
(output)
(rect 800 456 976 472)
(text "OUTPUT" (rect 1 0 41 10)(font "Arial" (font_size 6)))
(text "LEDR[3]" (rect 90 0 132 13)(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))
)
(annotation_block (location)(rect 848 520 904 536))
)
(symbol
(rect 600 216 792 328)
(text "CmpN" (rect 5 0 36 11)(font "Arial" ))
(text "inst" (rect 8 96 26 107)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "input0[n-1..0]" (rect 0 0 64 11)(font "Arial" ))
(text "input0[n-1..0]" (rect 21 27 85 38)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 3))
)
(port
(pt 0 48)
(input)
(text "input1[n-1..0]" (rect 0 0 64 11)(font "Arial" ))
(text "input1[n-1..0]" (rect 21 43 85 54)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 3))
)
(port
(pt 192 32)
(output)
(text "equal" (rect 0 0 28 11)(font "Arial" ))
(text "equal" (rect 148 27 176 38)(font "Arial" ))
(line (pt 192 32)(pt 176 32))
)
(port
(pt 192 48)
(output)
(text "notEqual" (rect 0 0 44 11)(font "Arial" ))
(text "notEqual" (rect 134 43 178 54)(font "Arial" ))
(line (pt 192 48)(pt 176 48))
)
(port
(pt 192 64)
(output)
(text "ltSigned" (rect 0 0 41 11)(font "Arial" ))
(text "ltSigned" (rect 137 59 178 70)(font "Arial" ))
(line (pt 192 64)(pt 176 64))
)
(port
(pt 192 80)
(output)
(text "ltUnsigned" (rect 0 0 54 11)(font "Arial" ))
(text "ltUnsigned" (rect 126 75 180 86)(font "Arial" ))
(line (pt 192 80)(pt 176 80))
)
(parameter
"N"
"4"
""
(type "PARAMETER_SIGNED_DEC") )
(drawing
(rectangle (rect 16 16 176 96))
)
(annotation_block (parameter)(rect 792 184 963 214))
)
(symbol
(rect 600 384 792 496)
(text "CmpN" (rect 5 0 36 11)(font "Arial" ))
(text "inst3" (rect 8 96 32 109)(font "Intel Clear" ))
(port
(pt 0 32)
(input)
(text "input0[n-1..0]" (rect 0 0 64 11)(font "Arial" ))
(text "input0[n-1..0]" (rect 21 27 85 38)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 3))
)
(port
(pt 0 48)
(input)
(text "input1[n-1..0]" (rect 0 0 64 11)(font "Arial" ))
(text "input1[n-1..0]" (rect 21 43 85 54)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 3))
)
(port
(pt 192 32)
(output)
(text "equal" (rect 0 0 28 11)(font "Arial" ))
(text "equal" (rect 148 27 176 38)(font "Arial" ))
(line (pt 192 32)(pt 176 32))
)
(port
(pt 192 48)
(output)
(text "notEqual" (rect 0 0 44 11)(font "Arial" ))
(text "notEqual" (rect 134 43 178 54)(font "Arial" ))
(line (pt 192 48)(pt 176 48))
)
(port
(pt 192 64)
(output)
(text "ltSigned" (rect 0 0 41 11)(font "Arial" ))
(text "ltSigned" (rect 137 59 178 70)(font "Arial" ))
(line (pt 192 64)(pt 176 64))
)
(port
(pt 192 80)
(output)
(text "ltUnsigned" (rect 0 0 54 11)(font "Arial" ))
(text "ltUnsigned" (rect 126 75 180 86)(font "Arial" ))
(line (pt 192 80)(pt 176 80))
)
(parameter
"N"
"5"
""
(type "PARAMETER_SIGNED_DEC") )
(drawing
(rectangle (rect 16 16 176 96))
)
(annotation_block (parameter)(rect 792 352 963 382))
)
(connector
(pt 600 248)
(pt 592 248)
(bus)
)
(connector
(pt 600 264)
(pt 592 264)
(bus)
)
(connector
(pt 792 264)
(pt 800 264)
)
(connector
(pt 792 280)
(pt 800 280)
)
(connector
(pt 792 296)
(pt 800 296)
)
(connector
(pt 792 248)
(pt 800 248)
)
(connector
(pt 600 416)
(pt 592 416)
(bus)
)
(connector
(pt 600 432)
(pt 592 432)
(bus)
)
(connector
(pt 792 432)
(pt 800 432)
)
(connector
(pt 792 448)
(pt 800 448)
)
(connector
(pt 792 464)
(pt 800 464)
)
(connector
(pt 792 416)
(pt 800 416)
)