289 lines
7 KiB
Text
289 lines
7 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 752 584 920 600)
|
|
(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 616 264 784 280)
|
|
(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 320 392 488 408)
|
|
(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 1184 352 1360 368)
|
|
(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 1184 368 1360 384)
|
|
(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 1184 384 1360 400)
|
|
(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 784 496 960 512)
|
|
(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 984 328 1144 424)
|
|
(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 792 240 960 336)
|
|
(text "freqdiv1" (rect 5 0 56 19)(font "Intel Clear" (font_size 8)))
|
|
(text "inst24" (rect 8 75 36 92)(font "Intel Clear" ))
|
|
(port
|
|
(pt 0 32)
|
|
(input)
|
|
(text "CLOCK50" (rect 0 0 57 19)(font "Intel Clear" (font_size 8)))
|
|
(text "CLOCK50" (rect 21 27 78 46)(font "Intel Clear" (font_size 8)))
|
|
(line (pt 0 32)(pt 16 32))
|
|
)
|
|
(port
|
|
(pt 168 32)
|
|
(output)
|
|
(text "CLOCK14" (rect 0 0 57 19)(font "Intel Clear" (font_size 8)))
|
|
(text "CLOCK14" (rect 90 27 147 46)(font "Intel Clear" (font_size 8)))
|
|
(line (pt 168 32)(pt 152 32))
|
|
)
|
|
(drawing
|
|
(rectangle (rect 16 16 152 80))
|
|
)
|
|
)
|
|
(connector
|
|
(pt 1144 360)
|
|
(pt 1184 360)
|
|
(bus)
|
|
)
|
|
(connector
|
|
(pt 1144 376)
|
|
(pt 1184 376)
|
|
(bus)
|
|
)
|
|
(connector
|
|
(pt 1144 392)
|
|
(pt 1184 392)
|
|
(bus)
|
|
)
|
|
(connector
|
|
(pt 960 272)
|
|
(pt 976 272)
|
|
)
|
|
(connector
|
|
(pt 976 272)
|
|
(pt 976 360)
|
|
)
|
|
(connector
|
|
(pt 976 360)
|
|
(pt 984 360)
|
|
)
|
|
(connector
|
|
(pt 984 392)
|
|
(pt 976 392)
|
|
)
|
|
(connector
|
|
(pt 872 480)
|
|
(pt 872 408)
|
|
)
|
|
(connector
|
|
(pt 784 504)
|
|
(pt 768 504)
|
|
)
|
|
(connector
|
|
(pt 768 504)
|
|
(pt 768 480)
|
|
)
|
|
(connector
|
|
(pt 768 480)
|
|
(pt 872 480)
|
|
)
|
|
(connector
|
|
(pt 784 272)
|
|
(pt 792 272)
|
|
)
|
|
(connector
|
|
(pt 944 408)
|
|
(pt 944 376)
|
|
)
|
|
(connector
|
|
(pt 944 376)
|
|
(pt 984 376)
|
|
)
|
|
(connector
|
|
(pt 976 392)
|
|
(pt 976 592)
|
|
)
|
|
(connector
|
|
(pt 976 592)
|
|
(pt 920 592)
|
|
)
|
|
(connector
|
|
(pt 576 400)
|
|
(pt 488 400)
|
|
)
|
|
(connector
|
|
(pt 576 400)
|
|
(pt 576 408)
|
|
)
|
|
(connector
|
|
(pt 576 408)
|
|
(pt 872 408)
|
|
)
|
|
(connector
|
|
(pt 872 408)
|
|
(pt 944 408)
|
|
)
|
|
(junction (pt 872 408))
|