mirror of
https://github.com/supleed2/ELEC40006-P1-CW.git
synced 2024-11-10 02:05:48 +00:00
128 lines
3.7 KiB
Plaintext
128 lines
3.7 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) 2018 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 176 288 344 304)
|
||
|
(text "INPUT" (rect 125 0 153 10)(font "Arial" (font_size 6)))
|
||
|
(text "A" (rect 5 0 14 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 176 304 344 320)
|
||
|
(text "INPUT" (rect 125 0 153 10)(font "Arial" (font_size 6)))
|
||
|
(text "B" (rect 5 0 13 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 464 296 640 312)
|
||
|
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
|
||
|
(text "OUT1" (rect 90 0 117 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 536 208 712 224)
|
||
|
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
|
||
|
(text "OUT2" (rect 90 0 118 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 344 280 408 328)
|
||
|
(text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6)))
|
||
|
(text "inst" (rect 3 37 20 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))
|
||
|
)
|
||
|
)
|
||
|
(connector
|
||
|
(text "hi" (rect 418 288 426 305)(font "Intel Clear" ))
|
||
|
(pt 408 304)
|
||
|
(pt 464 304)
|
||
|
)
|
||
|
(connector
|
||
|
(text "hi" (rect 522 200 530 217)(font "Intel Clear" ))
|
||
|
(pt 536 216)
|
||
|
(pt 512 216)
|
||
|
)
|