289 lines
6.9 KiB
Text
289 lines
6.9 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 184 512 352 528)
|
|
(text "INPUT" (rect 125 0 153 10)(font "Arial" (font_size 6)))
|
|
(text "Echo" (rect 5 0 29 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 -56 176 112 192)
|
|
(text "INPUT" (rect 125 0 153 10)(font "Arial" (font_size 6)))
|
|
(text "Clock14Hz" (rect 5 0 58 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 -192 288 -24 304)
|
|
(text "INPUT" (rect 125 0 153 10)(font "Arial" (font_size 6)))
|
|
(text "TriggerInput" (rect 5 0 61 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 608 272 784 288)
|
|
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
|
|
(text "Seg1[6..0]" (rect 90 0 137 17)(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))
|
|
)
|
|
)
|
|
(pin
|
|
(output)
|
|
(rect 608 288 784 304)
|
|
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
|
|
(text "Seg2[6..0]" (rect 90 0 137 17)(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))
|
|
)
|
|
)
|
|
(pin
|
|
(output)
|
|
(rect 608 304 784 320)
|
|
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
|
|
(text "Seg3[6..0]" (rect 90 0 137 17)(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))
|
|
)
|
|
)
|
|
(pin
|
|
(output)
|
|
(rect 208 416 384 432)
|
|
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
|
|
(text "TriggerOutput" (rect 90 0 156 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 408 248 568 344)
|
|
(text "compteur" (rect 5 0 61 19)(font "Intel Clear" (font_size 8)))
|
|
(text "inst" (rect 8 75 24 92)(font "Intel Clear" ))
|
|
(port
|
|
(pt 0 32)
|
|
(input)
|
|
(text "Horloge" (rect 0 0 46 19)(font "Intel Clear" (font_size 8)))
|
|
(text "Horloge" (rect 21 27 67 46)(font "Intel Clear" (font_size 8)))
|
|
(line (pt 0 32)(pt 16 32))
|
|
)
|
|
(port
|
|
(pt 0 48)
|
|
(input)
|
|
(text "Clear" (rect 0 0 30 19)(font "Intel Clear" (font_size 8)))
|
|
(text "Clear" (rect 21 43 51 62)(font "Intel Clear" (font_size 8)))
|
|
(line (pt 0 48)(pt 16 48))
|
|
)
|
|
(port
|
|
(pt 0 64)
|
|
(input)
|
|
(text "Enable" (rect 0 0 40 19)(font "Intel Clear" (font_size 8)))
|
|
(text "Enable" (rect 21 59 61 78)(font "Intel Clear" (font_size 8)))
|
|
(line (pt 0 64)(pt 16 64))
|
|
)
|
|
(port
|
|
(pt 160 32)
|
|
(output)
|
|
(text "Seg1[6..0]" (rect 0 0 61 19)(font "Intel Clear" (font_size 8)))
|
|
(text "Seg1[6..0]" (rect 78 27 139 46)(font "Intel Clear" (font_size 8)))
|
|
(line (pt 160 32)(pt 144 32)(line_width 3))
|
|
)
|
|
(port
|
|
(pt 160 48)
|
|
(output)
|
|
(text "Seg2[6..0]" (rect 0 0 61 19)(font "Intel Clear" (font_size 8)))
|
|
(text "Seg2[6..0]" (rect 78 43 139 62)(font "Intel Clear" (font_size 8)))
|
|
(line (pt 160 48)(pt 144 48)(line_width 3))
|
|
)
|
|
(port
|
|
(pt 160 64)
|
|
(output)
|
|
(text "Seg3[6..0]" (rect 0 0 61 19)(font "Intel Clear" (font_size 8)))
|
|
(text "Seg3[6..0]" (rect 78 59 139 78)(font "Intel Clear" (font_size 8)))
|
|
(line (pt 160 64)(pt 144 64)(line_width 3))
|
|
)
|
|
(drawing
|
|
(rectangle (rect 16 16 144 80))
|
|
)
|
|
)
|
|
(symbol
|
|
(rect 120 152 312 232)
|
|
(text "frequencydivider1" (rect 5 0 94 12)(font "Arial" ))
|
|
(text "inst4" (rect 8 64 30 81)(font "Intel Clear" ))
|
|
(port
|
|
(pt 0 32)
|
|
(input)
|
|
(text "SignalEntree" (rect 0 0 61 12)(font "Arial" ))
|
|
(text "SignalEntree" (rect 21 27 82 39)(font "Arial" ))
|
|
(line (pt 0 32)(pt 16 32))
|
|
)
|
|
(port
|
|
(pt 192 32)
|
|
(output)
|
|
(text "SignalSortie" (rect 0 0 57 12)(font "Arial" ))
|
|
(text "SignalSortie" (rect 123 27 180 39)(font "Arial" ))
|
|
(line (pt 192 32)(pt 176 32))
|
|
)
|
|
(drawing
|
|
(rectangle (rect 16 16 176 64))
|
|
)
|
|
)
|
|
(connector
|
|
(pt 568 280)
|
|
(pt 608 280)
|
|
(bus)
|
|
)
|
|
(connector
|
|
(pt 568 296)
|
|
(pt 608 296)
|
|
(bus)
|
|
)
|
|
(connector
|
|
(pt 568 312)
|
|
(pt 608 312)
|
|
(bus)
|
|
)
|
|
(connector
|
|
(pt 400 280)
|
|
(pt 408 280)
|
|
)
|
|
(connector
|
|
(pt -24 296)
|
|
(pt 8 296)
|
|
)
|
|
(connector
|
|
(pt 408 312)
|
|
(pt 400 312)
|
|
)
|
|
(connector
|
|
(pt 336 328)
|
|
(pt 336 296)
|
|
)
|
|
(connector
|
|
(pt 336 296)
|
|
(pt 408 296)
|
|
)
|
|
(connector
|
|
(pt 8 296)
|
|
(pt 8 328)
|
|
)
|
|
(connector
|
|
(pt 208 424)
|
|
(pt 192 424)
|
|
)
|
|
(connector
|
|
(pt 192 424)
|
|
(pt 192 400)
|
|
)
|
|
(connector
|
|
(pt 192 400)
|
|
(pt 296 400)
|
|
)
|
|
(connector
|
|
(pt 296 328)
|
|
(pt 336 328)
|
|
)
|
|
(connector
|
|
(pt 296 328)
|
|
(pt 296 400)
|
|
)
|
|
(connector
|
|
(pt 8 328)
|
|
(pt 296 328)
|
|
)
|
|
(connector
|
|
(pt 400 312)
|
|
(pt 400 520)
|
|
)
|
|
(connector
|
|
(pt 400 520)
|
|
(pt 352 520)
|
|
)
|
|
(connector
|
|
(pt 112 184)
|
|
(pt 120 184)
|
|
)
|
|
(connector
|
|
(pt 400 184)
|
|
(pt 400 280)
|
|
)
|
|
(connector
|
|
(pt 400 184)
|
|
(pt 312 184)
|
|
)
|
|
(junction (pt 296 328))
|