276 lines
7.3 KiB
Plaintext
276 lines
7.3 KiB
Plaintext
|
|
/*
|
||
|
|
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 "graphic" (version "1.4"))
|
||
|
|
(pin
|
||
|
|
(input)
|
||
|
|
(rect 32 104 208 120)
|
||
|
|
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
|
||
|
|
(text "sel1" (rect 9 0 29 12)(font "Arial" ))
|
||
|
|
(pt 176 8)
|
||
|
|
(drawing
|
||
|
|
(line (pt 92 12)(pt 117 12))
|
||
|
|
(line (pt 92 4)(pt 117 4))
|
||
|
|
(line (pt 121 8)(pt 176 8))
|
||
|
|
(line (pt 92 12)(pt 92 4))
|
||
|
|
(line (pt 117 4)(pt 121 8))
|
||
|
|
(line (pt 117 12)(pt 121 8))
|
||
|
|
)
|
||
|
|
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
|
||
|
|
)
|
||
|
|
(pin
|
||
|
|
(input)
|
||
|
|
(rect 32 88 208 104)
|
||
|
|
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
|
||
|
|
(text "in1" (rect 9 0 23 12)(font "Arial" ))
|
||
|
|
(pt 176 8)
|
||
|
|
(drawing
|
||
|
|
(line (pt 92 12)(pt 117 12))
|
||
|
|
(line (pt 92 4)(pt 117 4))
|
||
|
|
(line (pt 121 8)(pt 176 8))
|
||
|
|
(line (pt 92 12)(pt 92 4))
|
||
|
|
(line (pt 117 4)(pt 121 8))
|
||
|
|
(line (pt 117 12)(pt 121 8))
|
||
|
|
)
|
||
|
|
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
|
||
|
|
)
|
||
|
|
(pin
|
||
|
|
(input)
|
||
|
|
(rect 32 40 208 56)
|
||
|
|
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
|
||
|
|
(text "in0" (rect 9 0 23 12)(font "Arial" ))
|
||
|
|
(pt 176 8)
|
||
|
|
(drawing
|
||
|
|
(line (pt 92 12)(pt 117 12))
|
||
|
|
(line (pt 92 4)(pt 117 4))
|
||
|
|
(line (pt 121 8)(pt 176 8))
|
||
|
|
(line (pt 92 12)(pt 92 4))
|
||
|
|
(line (pt 117 4)(pt 121 8))
|
||
|
|
(line (pt 117 12)(pt 121 8))
|
||
|
|
)
|
||
|
|
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
|
||
|
|
)
|
||
|
|
(pin
|
||
|
|
(output)
|
||
|
|
(rect 480 72 656 88)
|
||
|
|
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
|
||
|
|
(text "out" (rect 90 0 105 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 248 48 296 80)
|
||
|
|
(text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6)))
|
||
|
|
(text "inst3" (rect 3 21 26 33)(font "Arial" ))
|
||
|
|
(port
|
||
|
|
(pt 0 16)
|
||
|
|
(input)
|
||
|
|
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
|
||
|
|
(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
|
||
|
|
(line (pt 0 16)(pt 13 16))
|
||
|
|
)
|
||
|
|
(port
|
||
|
|
(pt 48 16)
|
||
|
|
(output)
|
||
|
|
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible))
|
||
|
|
(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible))
|
||
|
|
(line (pt 39 16)(pt 48 16))
|
||
|
|
)
|
||
|
|
(drawing
|
||
|
|
(line (pt 13 25)(pt 13 7))
|
||
|
|
(line (pt 13 7)(pt 31 16))
|
||
|
|
(line (pt 13 25)(pt 31 16))
|
||
|
|
(circle (rect 31 12 39 20))
|
||
|
|
)
|
||
|
|
)
|
||
|
|
(symbol
|
||
|
|
(rect 320 32 384 80)
|
||
|
|
(text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6)))
|
||
|
|
(text "inst0" (rect 3 37 26 49)(font "Arial" ))
|
||
|
|
(port
|
||
|
|
(pt 0 16)
|
||
|
|
(input)
|
||
|
|
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
|
||
|
|
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
|
||
|
|
(line (pt 0 16)(pt 14 16))
|
||
|
|
)
|
||
|
|
(port
|
||
|
|
(pt 0 32)
|
||
|
|
(input)
|
||
|
|
(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
|
||
|
|
(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
|
||
|
|
(line (pt 0 32)(pt 14 32))
|
||
|
|
)
|
||
|
|
(port
|
||
|
|
(pt 64 24)
|
||
|
|
(output)
|
||
|
|
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
|
||
|
|
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
|
||
|
|
(line (pt 42 24)(pt 64 24))
|
||
|
|
)
|
||
|
|
(drawing
|
||
|
|
(line (pt 14 12)(pt 30 12))
|
||
|
|
(line (pt 14 37)(pt 31 37))
|
||
|
|
(line (pt 14 12)(pt 14 37))
|
||
|
|
(arc (pt 31 37)(pt 30 12)(rect 18 12 43 37))
|
||
|
|
)
|
||
|
|
)
|
||
|
|
(symbol
|
||
|
|
(rect 320 80 384 128)
|
||
|
|
(text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6)))
|
||
|
|
(text "inst1" (rect 3 37 26 49)(font "Arial" ))
|
||
|
|
(port
|
||
|
|
(pt 0 16)
|
||
|
|
(input)
|
||
|
|
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
|
||
|
|
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
|
||
|
|
(line (pt 0 16)(pt 14 16))
|
||
|
|
)
|
||
|
|
(port
|
||
|
|
(pt 0 32)
|
||
|
|
(input)
|
||
|
|
(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
|
||
|
|
(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
|
||
|
|
(line (pt 0 32)(pt 14 32))
|
||
|
|
)
|
||
|
|
(port
|
||
|
|
(pt 64 24)
|
||
|
|
(output)
|
||
|
|
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
|
||
|
|
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
|
||
|
|
(line (pt 42 24)(pt 64 24))
|
||
|
|
)
|
||
|
|
(drawing
|
||
|
|
(line (pt 14 12)(pt 30 12))
|
||
|
|
(line (pt 14 37)(pt 31 37))
|
||
|
|
(line (pt 14 12)(pt 14 37))
|
||
|
|
(arc (pt 31 37)(pt 30 12)(rect 18 12 43 37))
|
||
|
|
)
|
||
|
|
)
|
||
|
|
(symbol
|
||
|
|
(rect 400 56 464 104)
|
||
|
|
(text "OR2" (rect 1 0 19 10)(font "Arial" (font_size 6)))
|
||
|
|
(text "inst2" (rect 3 37 26 49)(font "Arial" ))
|
||
|
|
(port
|
||
|
|
(pt 0 32)
|
||
|
|
(input)
|
||
|
|
(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
|
||
|
|
(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
|
||
|
|
(line (pt 0 32)(pt 15 32))
|
||
|
|
)
|
||
|
|
(port
|
||
|
|
(pt 0 16)
|
||
|
|
(input)
|
||
|
|
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
|
||
|
|
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
|
||
|
|
(line (pt 0 16)(pt 15 16))
|
||
|
|
)
|
||
|
|
(port
|
||
|
|
(pt 64 24)
|
||
|
|
(output)
|
||
|
|
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
|
||
|
|
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
|
||
|
|
(line (pt 48 24)(pt 64 24))
|
||
|
|
)
|
||
|
|
(drawing
|
||
|
|
(line (pt 14 36)(pt 25 36))
|
||
|
|
(line (pt 14 13)(pt 25 13))
|
||
|
|
(arc (pt 7 29)(pt 7 19)(rect -14 8 19 41))
|
||
|
|
(arc (pt 49 24)(pt 25 13)(rect -6 13 57 76))
|
||
|
|
(arc (pt 25 35)(pt 49 24)(rect -6 -27 57 36))
|
||
|
|
)
|
||
|
|
)
|
||
|
|
(connector
|
||
|
|
(pt 248 64)
|
||
|
|
(pt 232 64)
|
||
|
|
)
|
||
|
|
(connector
|
||
|
|
(pt 400 72)
|
||
|
|
(pt 392 72)
|
||
|
|
)
|
||
|
|
(connector
|
||
|
|
(pt 400 88)
|
||
|
|
(pt 392 88)
|
||
|
|
)
|
||
|
|
(connector
|
||
|
|
(pt 392 88)
|
||
|
|
(pt 392 104)
|
||
|
|
)
|
||
|
|
(connector
|
||
|
|
(pt 392 104)
|
||
|
|
(pt 384 104)
|
||
|
|
)
|
||
|
|
(connector
|
||
|
|
(pt 392 56)
|
||
|
|
(pt 384 56)
|
||
|
|
)
|
||
|
|
(connector
|
||
|
|
(pt 392 56)
|
||
|
|
(pt 392 72)
|
||
|
|
)
|
||
|
|
(connector
|
||
|
|
(pt 232 64)
|
||
|
|
(pt 232 112)
|
||
|
|
)
|
||
|
|
(connector
|
||
|
|
(pt 232 112)
|
||
|
|
(pt 320 112)
|
||
|
|
)
|
||
|
|
(connector
|
||
|
|
(pt 296 64)
|
||
|
|
(pt 320 64)
|
||
|
|
)
|
||
|
|
(connector
|
||
|
|
(pt 464 80)
|
||
|
|
(pt 480 80)
|
||
|
|
)
|
||
|
|
(connector
|
||
|
|
(pt 208 112)
|
||
|
|
(pt 232 112)
|
||
|
|
)
|
||
|
|
(connector
|
||
|
|
(pt 208 96)
|
||
|
|
(pt 320 96)
|
||
|
|
)
|
||
|
|
(connector
|
||
|
|
(pt 208 48)
|
||
|
|
(pt 320 48)
|
||
|
|
)
|
||
|
|
(junction (pt 232 112))
|
||
|
|
(title_block
|
||
|
|
(rect 32 168 289 220)
|
||
|
|
(name "title-custom-small")
|
||
|
|
(section (rect 0 35 256 51)(text "DATE" (rect 2 0 30 12)(font "Arial" ))(text "June 21, 2014" (rect 56 3 136 17)(font "Arial" (font_size 8)))(border))
|
||
|
|
(section (rect 0 18 256 34)(text "DESIGNER" (rect 2 0 59 12)(font "Arial" ))(text "Goran Devic" (rect 56 2 135 17)(font "Arial" (font_size 9)))(border))
|
||
|
|
(section (rect 104 0 256 17)(text "MODULE" (rect 2 1 48 13)(font "Arial" ))(text "alu_mux_2" (rect 43 2 117 17)(font "Arial" (font_size 9)(bold)))(border))
|
||
|
|
(section (rect 0 0 256 17)(text "PROJECT" (rect 2 0 52 12)(font "Arial" ))(text "A-Z80" (rect 56 2 94 17)(font "Arial" (font_size 9)(bold)))(border))
|
||
|
|
(section (rect 192 35 256 51)(text "REV" (rect 2 1 25 13)(font "Arial" ))(text "1.0" (rect 43 3 60 17)(font "Arial" (font_size 8)))(border))
|
||
|
|
(drawing
|
||
|
|
)
|
||
|
|
)
|