Примеры кода для A-C4E6E10.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
a-c4e6e10_exemple/AHDL_test/template.bdf

164 lines
4.4 KiB

4 years ago
/*
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 136 296 304 312)
(text "INPUT" (rect 125 0 154 10)(font "Arial" (font_size 6)))
(text "K[2]" (rect 5 0 25 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 80 312 136 328))
)
(pin
(input)
(rect -104 224 64 240)
(text "INPUT" (rect 125 0 154 10)(font "Arial" (font_size 6)))
(text "K[3]" (rect 5 0 28 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 -8 264 48 280))
)
(pin
(output)
(rect 496 280 672 296)
(text "OUTPUT" (rect 1 0 41 10)(font "Arial" (font_size 6)))
(text "HEX[0..7]" (rect 90 0 138 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 616 248 672 264))
)
(pin
(output)
(rect 496 296 672 312)
(text "OUTPUT" (rect 1 0 41 10)(font "Arial" (font_size 6)))
(text "SEG[0..6]" (rect 90 0 138 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 672 312 736 328))
)
(symbol
(rect 304 256 496 336)
(text "LED_7seg_driver" (rect 5 0 92 11)(font "Arial" ))
(text "inst" (rect 8 64 26 75)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "D[0..7][0..4]" (rect 0 0 57 11)(font "Arial" ))
(text "D[0..7][0..4]" (rect 21 27 78 38)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 3))
)
(port
(pt 0 48)
(input)
(text "clk" (rect 0 0 15 11)(font "Arial" ))
(text "clk" (rect 21 43 36 54)(font "Arial" ))
(line (pt 0 48)(pt 16 48))
)
(port
(pt 192 32)
(output)
(text "dig[0..7]" (rect 0 0 40 11)(font "Arial" ))
(text "dig[0..7]" (rect 138 27 171 38)(font "Arial" ))
(line (pt 192 32)(pt 176 32)(line_width 3))
)
(port
(pt 192 48)
(output)
(text "SEG[6..0]" (rect 0 0 48 11)(font "Arial" ))
(text "SEG[6..0]" (rect 131 43 171 54)(font "Arial" ))
(line (pt 192 48)(pt 176 48)(line_width 3))
)
(drawing
(rectangle (rect 16 16 176 64))
)
)
(symbol
(rect 64 200 248 280)
(text "test" (rect 5 0 23 11)(font "Arial" ))
(text "inst4" (rect 8 64 33 77)(font "Intel Clear" ))
(port
(pt 0 32)
(input)
(text "test" (rect 0 0 18 11)(font "Arial" ))
(text "test" (rect 21 27 39 38)(font "Arial" ))
(line (pt 0 32)(pt 16 32))
)
(port
(pt 184 32)
(output)
(text "number[7..0][4..0]" (rect 0 0 86 11)(font "Arial" ))
(text "number[7..0][4..0]" (rect 91 27 177 38)(font "Arial" ))
(line (pt 184 32)(pt 168 32)(line_width 3))
)
(drawing
(rectangle (rect 16 16 168 64))
)
)
(connector
(pt 304 288)
(pt 280 288)
(bus)
)
(connector
(pt 280 288)
(pt 280 232)
(bus)
)
(connector
(pt 248 232)
(pt 280 232)
(bus)
)