75 lines
2.4 KiB
Plaintext
Executable File
75 lines
2.4 KiB
Plaintext
Executable File
/*
|
|
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-2007 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 64 64 168 200)
|
|
(text "multiplexer" (rect 5 0 58 12)(font "Arial" ))
|
|
(text "inst" (rect 0 120 17 132)(font "Arial" ))
|
|
(port
|
|
(pt 56 0)
|
|
(input)
|
|
(text "sel[1..0]" (rect 0 0 40 12)(font "Arial" ))
|
|
(text "sel[1..0]" (rect 64 0 76 40)(font "Arial" )(vertical))
|
|
(line (pt 56 0)(pt 56 32)(line_width 3))
|
|
)
|
|
(port
|
|
(pt 0 48)
|
|
(input)
|
|
(text "i0[31..0]" (rect 0 0 40 12)(font "Arial" ))
|
|
(text "0" (rect 48 40 53 52)(font "Arial" ))
|
|
(line (pt 0 48)(pt 40 48)(line_width 3))
|
|
)
|
|
(port
|
|
(pt 0 80)
|
|
(input)
|
|
(text "i2[31..0]" (rect 0 0 40 12)(font "Arial" ))
|
|
(text "2" (rect 48 72 53 84)(font "Arial" ))
|
|
(line (pt 0 80)(pt 40 80)(line_width 3))
|
|
)
|
|
(port
|
|
(pt 0 64)
|
|
(input)
|
|
(text "i1[31..0]" (rect 0 0 40 12)(font "Arial" ))
|
|
(text "1" (rect 48 56 53 68)(font "Arial" ))
|
|
(line (pt 0 64)(pt 40 64)(color 0 128 255)(line_width 3))
|
|
)
|
|
(port
|
|
(pt 0 96)
|
|
(input)
|
|
(text "i3[31..0]" (rect 0 0 40 12)(font "Arial" ))
|
|
(text "3" (rect 48 88 53 100)(font "Arial" ))
|
|
(line (pt 0 96)(pt 40 96)(line_width 3))
|
|
)
|
|
(port
|
|
(pt 104 72)
|
|
(output)
|
|
(text "o[31..0]" (rect -72 0 -35 12)(font "Arial" ))
|
|
(text "o[31..0]" (rect 72 56 109 68)(font "Arial" ))
|
|
(line (pt 104 72)(pt 64 72)(line_width 3))
|
|
)
|
|
(drawing
|
|
(line (pt 40 24)(pt 40 120)(line_width 1))
|
|
(line (pt 40 24)(pt 64 40)(line_width 1))
|
|
(line (pt 40 120)(pt 64 104)(line_width 1))
|
|
(line (pt 64 104)(pt 64 40)(line_width 1))
|
|
)
|
|
)
|