269 lines
6.7 KiB
Plaintext
269 lines
6.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) 2020 Intel Corporation. All rights reserved.
|
|
Your use of Intel Corporation's design tools, logic functions
|
|
and other software and tools, and any 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, at
|
|
https://fpgasoftware.intel.com/eula.
|
|
*/
|
|
(header "graphic" (version "1.4"))
|
|
(pin
|
|
(input)
|
|
(rect 152 -40 168 128)
|
|
(text "INPUT" (rect 6 125 16 154)(font "Arial" (font_size 6))(vertical))
|
|
(text "S" (rect 6 5 17 15)(font "Arial" )(vertical))
|
|
(pt 8 168)
|
|
(drawing
|
|
(line (pt 4 84)(pt 4 109))
|
|
(line (pt 12 84)(pt 12 109))
|
|
(line (pt 8 113)(pt 8 168))
|
|
(line (pt 4 84)(pt 12 84))
|
|
(line (pt 12 109)(pt 8 113))
|
|
(line (pt 4 109)(pt 8 113))
|
|
)
|
|
(rotate270)
|
|
(text "VCC" (rect -1 128 9 149)(font "Arial" (font_size 6))(vertical))
|
|
)
|
|
(pin
|
|
(input)
|
|
(rect 192 -40 208 128)
|
|
(text "INPUT" (rect 6 125 16 154)(font "Arial" (font_size 6))(vertical))
|
|
(text "I1" (rect 5 5 18 16)(font "Intel Clear" )(vertical))
|
|
(pt 8 168)
|
|
(drawing
|
|
(line (pt 4 84)(pt 4 109))
|
|
(line (pt 12 84)(pt 12 109))
|
|
(line (pt 8 113)(pt 8 168))
|
|
(line (pt 4 84)(pt 12 84))
|
|
(line (pt 12 109)(pt 8 113))
|
|
(line (pt 4 109)(pt 8 113))
|
|
)
|
|
(rotate270)
|
|
(text "VCC" (rect -1 128 9 149)(font "Arial" (font_size 6))(vertical))
|
|
)
|
|
(pin
|
|
(input)
|
|
(rect 232 -40 248 128)
|
|
(text "INPUT" (rect 6 125 16 154)(font "Arial" (font_size 6))(vertical))
|
|
(text "I0" (rect 5 5 18 17)(font "Intel Clear" )(vertical))
|
|
(pt 8 168)
|
|
(drawing
|
|
(line (pt 4 84)(pt 4 109))
|
|
(line (pt 12 84)(pt 12 109))
|
|
(line (pt 8 113)(pt 8 168))
|
|
(line (pt 4 84)(pt 12 84))
|
|
(line (pt 12 109)(pt 8 113))
|
|
(line (pt 4 109)(pt 8 113))
|
|
)
|
|
(rotate270)
|
|
(text "VCC" (rect -1 128 9 149)(font "Arial" (font_size 6))(vertical))
|
|
)
|
|
(pin
|
|
(output)
|
|
(rect 552 208 728 224)
|
|
(text "OUTPUT" (rect 1 0 41 10)(font "Arial" (font_size 6)))
|
|
(text "Y" (rect 90 0 100 11)(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 312 152 376 200)
|
|
(text "AND2" (rect 1 0 29 10)(font "Arial" (font_size 6)))
|
|
(text "inst" (rect 3 37 21 48)(font "Arial" ))
|
|
(port
|
|
(pt 0 16)
|
|
(input)
|
|
(text "IN1" (rect 2 7 23 18)(font "Courier New" (bold))(invisible))
|
|
(text "IN1" (rect 2 7 23 18)(font "Courier New" (bold))(invisible))
|
|
(line (pt 0 16)(pt 14 16))
|
|
)
|
|
(port
|
|
(pt 0 32)
|
|
(input)
|
|
(text "IN2" (rect 2 23 23 34)(font "Courier New" (bold))(invisible))
|
|
(text "IN2" (rect 2 23 23 34)(font "Courier New" (bold))(invisible))
|
|
(line (pt 0 32)(pt 14 32))
|
|
)
|
|
(port
|
|
(pt 64 24)
|
|
(output)
|
|
(text "OUT" (rect 48 15 69 26)(font "Courier New" (bold))(invisible))
|
|
(text "OUT" (rect 48 15 69 26)(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 312 240 376 288)
|
|
(text "AND2" (rect 1 0 29 10)(font "Arial" (font_size 6)))
|
|
(text "inst1" (rect 3 37 27 50)(font "Intel Clear" ))
|
|
(port
|
|
(pt 0 16)
|
|
(input)
|
|
(text "IN1" (rect 2 7 23 18)(font "Courier New" (bold))(invisible))
|
|
(text "IN1" (rect 2 7 23 18)(font "Courier New" (bold))(invisible))
|
|
(line (pt 0 16)(pt 14 16))
|
|
)
|
|
(port
|
|
(pt 0 32)
|
|
(input)
|
|
(text "IN2" (rect 2 23 23 34)(font "Courier New" (bold))(invisible))
|
|
(text "IN2" (rect 2 23 23 34)(font "Courier New" (bold))(invisible))
|
|
(line (pt 0 32)(pt 14 32))
|
|
)
|
|
(port
|
|
(pt 64 24)
|
|
(output)
|
|
(text "OUT" (rect 48 15 69 26)(font "Courier New" (bold))(invisible))
|
|
(text "OUT" (rect 48 15 69 26)(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 472 192 536 240)
|
|
(text "OR2" (rect 1 0 23 10)(font "Arial" (font_size 6)))
|
|
(text "inst2" (rect 3 37 27 50)(font "Intel Clear" ))
|
|
(port
|
|
(pt 0 32)
|
|
(input)
|
|
(text "IN2" (rect 2 23 23 34)(font "Courier New" (bold))(invisible))
|
|
(text "IN2" (rect 2 23 23 34)(font "Courier New" (bold))(invisible))
|
|
(line (pt 0 32)(pt 15 32))
|
|
)
|
|
(port
|
|
(pt 0 16)
|
|
(input)
|
|
(text "IN1" (rect 2 7 23 18)(font "Courier New" (bold))(invisible))
|
|
(text "IN1" (rect 2 7 23 18)(font "Courier New" (bold))(invisible))
|
|
(line (pt 0 16)(pt 15 16))
|
|
)
|
|
(port
|
|
(pt 64 24)
|
|
(output)
|
|
(text "OUT" (rect 48 15 69 26)(font "Courier New" (bold))(invisible))
|
|
(text "OUT" (rect 48 15 69 26)(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))
|
|
)
|
|
)
|
|
(symbol
|
|
(rect 256 168 304 200)
|
|
(text "NOT" (rect 1 0 22 10)(font "Arial" (font_size 6)))
|
|
(text "inst3" (rect 3 21 27 34)(font "Intel Clear" ))
|
|
(port
|
|
(pt 0 16)
|
|
(input)
|
|
(text "IN" (rect 2 7 16 18)(font "Courier New" (bold))(invisible))
|
|
(text "IN" (rect 2 7 16 18)(font "Courier New" (bold))(invisible))
|
|
(line (pt 0 16)(pt 13 16))
|
|
)
|
|
(port
|
|
(pt 48 16)
|
|
(output)
|
|
(text "OUT" (rect 32 7 53 18)(font "Courier New" (bold))(invisible))
|
|
(text "OUT" (rect 32 7 53 18)(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))
|
|
)
|
|
)
|
|
(connector
|
|
(pt 376 176)
|
|
(pt 472 176)
|
|
)
|
|
(connector
|
|
(pt 472 176)
|
|
(pt 472 208)
|
|
)
|
|
(connector
|
|
(pt 376 264)
|
|
(pt 472 264)
|
|
)
|
|
(connector
|
|
(pt 472 264)
|
|
(pt 472 224)
|
|
)
|
|
(connector
|
|
(pt 312 184)
|
|
(pt 304 184)
|
|
)
|
|
(connector
|
|
(pt 256 184)
|
|
(pt 160 184)
|
|
)
|
|
(connector
|
|
(pt 312 168)
|
|
(pt 240 168)
|
|
)
|
|
(connector
|
|
(pt 240 128)
|
|
(pt 240 168)
|
|
)
|
|
(connector
|
|
(pt 312 256)
|
|
(pt 200 256)
|
|
)
|
|
(connector
|
|
(pt 200 128)
|
|
(pt 200 256)
|
|
)
|
|
(connector
|
|
(pt 160 272)
|
|
(pt 312 272)
|
|
)
|
|
(connector
|
|
(pt 536 216)
|
|
(pt 552 216)
|
|
)
|
|
(connector
|
|
(pt 160 184)
|
|
(pt 160 272)
|
|
)
|
|
(connector
|
|
(pt 160 128)
|
|
(pt 160 184)
|
|
)
|
|
(junction (pt 160 184))
|