186 lines
5.1 KiB
Text
186 lines
5.1 KiB
Text
/*
|
|
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) 2017 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 160 280 328 296)
|
|
(text "INPUT" (rect 125 0 153 10)(font "Arial" (font_size 6)))
|
|
(text "raz" (rect 5 0 20 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 160 264 328 280)
|
|
(text "INPUT" (rect 125 0 153 10)(font "Arial" (font_size 6)))
|
|
(text "H" (rect 5 0 13 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 776 272 952 288)
|
|
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
|
|
(text "sortie[6..0]" (rect 90 0 143 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 328 240 424 336)
|
|
(text "cpt_6_basc_d" (rect 5 0 88 19)(font "Intel Clear" (font_size 8)))
|
|
(text "inst" (rect 8 75 24 92)(font "Intel Clear" ))
|
|
(port
|
|
(pt 0 32)
|
|
(input)
|
|
(text "H" (rect 0 0 9 19)(font "Intel Clear" (font_size 8)))
|
|
(text "H" (rect 21 27 30 46)(font "Intel Clear" (font_size 8)))
|
|
(line (pt 0 32)(pt 16 32))
|
|
)
|
|
(port
|
|
(pt 0 48)
|
|
(input)
|
|
(text "raz" (rect 0 0 17 19)(font "Intel Clear" (font_size 8)))
|
|
(text "raz" (rect 21 43 38 62)(font "Intel Clear" (font_size 8)))
|
|
(line (pt 0 48)(pt 16 48))
|
|
)
|
|
(port
|
|
(pt 96 32)
|
|
(output)
|
|
(text "Q0" (rect 0 0 17 19)(font "Intel Clear" (font_size 8)))
|
|
(text "Q0" (rect 58 27 75 46)(font "Intel Clear" (font_size 8)))
|
|
(line (pt 96 32)(pt 80 32))
|
|
)
|
|
(port
|
|
(pt 96 48)
|
|
(output)
|
|
(text "Q1" (rect 0 0 17 19)(font "Intel Clear" (font_size 8)))
|
|
(text "Q1" (rect 58 43 75 62)(font "Intel Clear" (font_size 8)))
|
|
(line (pt 96 48)(pt 80 48))
|
|
)
|
|
(port
|
|
(pt 96 64)
|
|
(output)
|
|
(text "Q2" (rect 0 0 17 19)(font "Intel Clear" (font_size 8)))
|
|
(text "Q2" (rect 58 59 75 78)(font "Intel Clear" (font_size 8)))
|
|
(line (pt 96 64)(pt 80 64))
|
|
)
|
|
(drawing
|
|
(rectangle (rect 16 16 80 80))
|
|
)
|
|
)
|
|
(symbol
|
|
(rect 448 352 480 384)
|
|
(text "GND" (rect 8 16 29 26)(font "Arial" (font_size 6)))
|
|
(text "inst6" (rect 3 21 25 38)(font "Intel Clear" )(invisible))
|
|
(port
|
|
(pt 16 0)
|
|
(output)
|
|
(text "1" (rect 18 0 23 12)(font "Courier New" (bold))(invisible))
|
|
(text "1" (rect 18 0 23 12)(font "Courier New" (bold))(invisible))
|
|
(line (pt 16 8)(pt 16 0))
|
|
)
|
|
(drawing
|
|
(line (pt 8 8)(pt 16 16))
|
|
(line (pt 16 16)(pt 24 8))
|
|
(line (pt 8 8)(pt 24 8))
|
|
)
|
|
)
|
|
(symbol
|
|
(rect 560 248 720 328)
|
|
(text "dec_7seg" (rect 5 0 52 12)(font "Arial" ))
|
|
(text "inst2" (rect 8 64 31 76)(font "Arial" ))
|
|
(port
|
|
(pt 0 32)
|
|
(input)
|
|
(text "d[3..0]" (rect 0 0 31 12)(font "Arial" ))
|
|
(text "d[3..0]" (rect 21 27 52 39)(font "Arial" ))
|
|
(line (pt 0 32)(pt 16 32)(line_width 3))
|
|
)
|
|
(port
|
|
(pt 160 32)
|
|
(output)
|
|
(text "seg[6..0]" (rect 0 0 43 12)(font "Arial" ))
|
|
(text "seg[6..0]" (rect 103 27 146 39)(font "Arial" ))
|
|
(line (pt 160 32)(pt 144 32)(line_width 3))
|
|
)
|
|
(drawing
|
|
(rectangle (rect 16 16 144 64))
|
|
)
|
|
)
|
|
(connector
|
|
(text "data[0]" (rect 434 256 468 273)(font "Intel Clear" ))
|
|
(pt 424 272)
|
|
(pt 472 272)
|
|
)
|
|
(connector
|
|
(text "data[1]" (rect 434 272 468 289)(font "Intel Clear" ))
|
|
(pt 424 288)
|
|
(pt 472 288)
|
|
)
|
|
(connector
|
|
(text "data[2]" (rect 434 288 468 305)(font "Intel Clear" ))
|
|
(pt 424 304)
|
|
(pt 472 304)
|
|
)
|
|
(connector
|
|
(pt 720 280)
|
|
(pt 776 280)
|
|
(bus)
|
|
)
|
|
(connector
|
|
(text "data[3..0]" (rect 522 264 566 281)(font "Intel Clear" ))
|
|
(pt 560 280)
|
|
(pt 512 280)
|
|
(bus)
|
|
)
|
|
(connector
|
|
(pt 464 352)
|
|
(pt 464 328)
|
|
)
|
|
(connector
|
|
(text "data[3]" (rect 474 312 508 329)(font "Intel Clear" ))
|
|
(pt 464 328)
|
|
(pt 496 328)
|
|
)
|