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.
86 lines
2.5 KiB
86 lines
2.5 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) 1991-2013 Altera Corporation
|
||
|
Your use of Altera 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 Altera Program License
|
||
|
Subscription Agreement, Altera MegaCore Function License
|
||
|
Agreement, or other applicable license agreement, including,
|
||
|
without limitation, that your use is for the sole purpose of
|
||
|
programming logic devices manufactured by Altera and sold by
|
||
|
Altera or its authorized distributors. Please refer to the
|
||
|
applicable agreement for further details.
|
||
|
*/
|
||
|
(header "symbol" (version "1.1"))
|
||
|
(symbol
|
||
|
(rect 16 16 144 192)
|
||
|
(text "7segment" (rect 5 0 43 12)(font "Arial" ))
|
||
|
(text "inst" (rect 8 160 20 172)(font "Arial" ))
|
||
|
(port
|
||
|
(pt 0 32)
|
||
|
(input)
|
||
|
(text "i[3..0]" (rect 0 0 21 12)(font "Arial" ))
|
||
|
(text "i[3..0]" (rect 21 27 42 39)(font "Arial" ))
|
||
|
(line (pt 0 32)(pt 16 32)(line_width 3))
|
||
|
)
|
||
|
(port
|
||
|
(pt 128 32)
|
||
|
(output)
|
||
|
(text "a" (rect 0 0 4 12)(font "Arial" ))
|
||
|
(text "a" (rect 103 27 107 39)(font "Arial" ))
|
||
|
(line (pt 128 32)(pt 112 32)(line_width 1))
|
||
|
)
|
||
|
(port
|
||
|
(pt 128 48)
|
||
|
(output)
|
||
|
(text "b" (rect 0 0 4 12)(font "Arial" ))
|
||
|
(text "b" (rect 103 43 107 55)(font "Arial" ))
|
||
|
(line (pt 128 48)(pt 112 48)(line_width 1))
|
||
|
)
|
||
|
(port
|
||
|
(pt 128 64)
|
||
|
(output)
|
||
|
(text "c" (rect 0 0 4 12)(font "Arial" ))
|
||
|
(text "c" (rect 103 59 107 71)(font "Arial" ))
|
||
|
(line (pt 128 64)(pt 112 64)(line_width 1))
|
||
|
)
|
||
|
(port
|
||
|
(pt 128 80)
|
||
|
(output)
|
||
|
(text "d" (rect 0 0 4 12)(font "Arial" ))
|
||
|
(text "d" (rect 103 75 107 87)(font "Arial" ))
|
||
|
(line (pt 128 80)(pt 112 80)(line_width 1))
|
||
|
)
|
||
|
(port
|
||
|
(pt 128 96)
|
||
|
(output)
|
||
|
(text "e" (rect 0 0 4 12)(font "Arial" ))
|
||
|
(text "e" (rect 103 91 107 103)(font "Arial" ))
|
||
|
(line (pt 128 96)(pt 112 96)(line_width 1))
|
||
|
)
|
||
|
(port
|
||
|
(pt 128 112)
|
||
|
(output)
|
||
|
(text "f" (rect 0 0 3 12)(font "Arial" ))
|
||
|
(text "f" (rect 104 107 107 119)(font "Arial" ))
|
||
|
(line (pt 128 112)(pt 112 112)(line_width 1))
|
||
|
)
|
||
|
(port
|
||
|
(pt 128 128)
|
||
|
(output)
|
||
|
(text "g" (rect 0 0 4 12)(font "Arial" ))
|
||
|
(text "g" (rect 103 123 107 135)(font "Arial" ))
|
||
|
(line (pt 128 128)(pt 112 128)(line_width 1))
|
||
|
)
|
||
|
(drawing
|
||
|
(rectangle (rect 16 16 112 160)(line_width 1))
|
||
|
)
|
||
|
)
|