585 lines
14 KiB
Plaintext
585 lines
14 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 16 -112 32 56)
|
|
(text "INPUT" (rect 6 125 16 154)(font "Arial" (font_size 6))(vertical))
|
|
(text "E0L" (rect 3 5 16 25)(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 40 -112 56 56)
|
|
(text "INPUT" (rect 6 125 16 154)(font "Arial" (font_size 6))(vertical))
|
|
(text "E1" (rect 3 5 16 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
|
|
(input)
|
|
(rect 72 -112 88 56)
|
|
(text "INPUT" (rect 6 125 16 154)(font "Arial" (font_size 6))(vertical))
|
|
(text "X1" (rect 4 5 17 19)(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 120 -112 136 56)
|
|
(text "INPUT" (rect 6 125 16 154)(font "Arial" (font_size 6))(vertical))
|
|
(text "X0" (rect 3 5 16 20)(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 296 168 472 184)
|
|
(text "OUTPUT" (rect 1 0 41 10)(font "Arial" (font_size 6)))
|
|
(text "Y3" (rect 90 0 105 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))
|
|
)
|
|
)
|
|
(pin
|
|
(output)
|
|
(rect 296 256 472 272)
|
|
(text "OUTPUT" (rect 1 0 41 10)(font "Arial" (font_size 6)))
|
|
(text "Y2" (rect 90 0 104 13)(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 296 432 472 448)
|
|
(text "OUTPUT" (rect 1 0 41 10)(font "Arial" (font_size 6)))
|
|
(text "Y1" (rect 90 0 104 13)(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 296 344 472 360)
|
|
(text "OUTPUT" (rect 1 0 41 10)(font "Arial" (font_size 6)))
|
|
(text "Y0" (rect 90 0 105 13)(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))
|
|
)
|
|
)
|
|
(symbol
|
|
(rect 232 136 296 216)
|
|
(text "AND4" (rect 1 0 29 10)(font "Arial" (font_size 6)))
|
|
(text "inst" (rect 3 69 21 80)(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 18 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 18 32))
|
|
)
|
|
(port
|
|
(pt 0 48)
|
|
(input)
|
|
(text "IN3" (rect 2 39 23 50)(font "Courier New" (bold))(invisible))
|
|
(text "IN3" (rect 2 39 23 50)(font "Courier New" (bold))(invisible))
|
|
(line (pt 0 48)(pt 18 48))
|
|
)
|
|
(port
|
|
(pt 0 64)
|
|
(input)
|
|
(text "IN4" (rect 2 55 23 66)(font "Courier New" (bold))(invisible))
|
|
(text "IN4" (rect 2 55 23 66)(font "Courier New" (bold))(invisible))
|
|
(line (pt 0 64)(pt 18 64))
|
|
)
|
|
(port
|
|
(pt 64 40)
|
|
(output)
|
|
(text "OUT" (rect 48 31 69 42)(font "Courier New" (bold))(invisible))
|
|
(text "OUT" (rect 48 31 69 42)(font "Courier New" (bold))(invisible))
|
|
(line (pt 46 40)(pt 64 40))
|
|
)
|
|
(drawing
|
|
(line (pt 18 28)(pt 34 28))
|
|
(line (pt 18 52)(pt 18 28))
|
|
(line (pt 18 67)(pt 18 13))
|
|
(line (pt 34 53)(pt 18 53))
|
|
(arc (pt 34 52)(pt 34 28)(rect 22 28 47 53))
|
|
)
|
|
)
|
|
(symbol
|
|
(rect 232 224 296 304)
|
|
(text "AND4" (rect 1 0 29 10)(font "Arial" (font_size 6)))
|
|
(text "inst1" (rect 3 69 27 82)(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 18 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 18 32))
|
|
)
|
|
(port
|
|
(pt 0 48)
|
|
(input)
|
|
(text "IN3" (rect 2 39 23 50)(font "Courier New" (bold))(invisible))
|
|
(text "IN3" (rect 2 39 23 50)(font "Courier New" (bold))(invisible))
|
|
(line (pt 0 48)(pt 18 48))
|
|
)
|
|
(port
|
|
(pt 0 64)
|
|
(input)
|
|
(text "IN4" (rect 2 55 23 66)(font "Courier New" (bold))(invisible))
|
|
(text "IN4" (rect 2 55 23 66)(font "Courier New" (bold))(invisible))
|
|
(line (pt 0 64)(pt 18 64))
|
|
)
|
|
(port
|
|
(pt 64 40)
|
|
(output)
|
|
(text "OUT" (rect 48 31 69 42)(font "Courier New" (bold))(invisible))
|
|
(text "OUT" (rect 48 31 69 42)(font "Courier New" (bold))(invisible))
|
|
(line (pt 46 40)(pt 64 40))
|
|
)
|
|
(drawing
|
|
(line (pt 18 28)(pt 34 28))
|
|
(line (pt 18 52)(pt 18 28))
|
|
(line (pt 18 67)(pt 18 13))
|
|
(line (pt 34 53)(pt 18 53))
|
|
(arc (pt 34 52)(pt 34 28)(rect 22 28 47 53))
|
|
)
|
|
)
|
|
(symbol
|
|
(rect 232 312 296 392)
|
|
(text "AND4" (rect 1 0 29 10)(font "Arial" (font_size 6)))
|
|
(text "inst2" (rect 3 69 27 82)(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 18 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 18 32))
|
|
)
|
|
(port
|
|
(pt 0 48)
|
|
(input)
|
|
(text "IN3" (rect 2 39 23 50)(font "Courier New" (bold))(invisible))
|
|
(text "IN3" (rect 2 39 23 50)(font "Courier New" (bold))(invisible))
|
|
(line (pt 0 48)(pt 18 48))
|
|
)
|
|
(port
|
|
(pt 0 64)
|
|
(input)
|
|
(text "IN4" (rect 2 55 23 66)(font "Courier New" (bold))(invisible))
|
|
(text "IN4" (rect 2 55 23 66)(font "Courier New" (bold))(invisible))
|
|
(line (pt 0 64)(pt 18 64))
|
|
)
|
|
(port
|
|
(pt 64 40)
|
|
(output)
|
|
(text "OUT" (rect 48 31 69 42)(font "Courier New" (bold))(invisible))
|
|
(text "OUT" (rect 48 31 69 42)(font "Courier New" (bold))(invisible))
|
|
(line (pt 46 40)(pt 64 40))
|
|
)
|
|
(drawing
|
|
(line (pt 18 28)(pt 34 28))
|
|
(line (pt 18 52)(pt 18 28))
|
|
(line (pt 18 67)(pt 18 13))
|
|
(line (pt 34 53)(pt 18 53))
|
|
(arc (pt 34 52)(pt 34 28)(rect 22 28 47 53))
|
|
)
|
|
)
|
|
(symbol
|
|
(rect 232 400 296 480)
|
|
(text "AND4" (rect 1 0 29 10)(font "Arial" (font_size 6)))
|
|
(text "inst3" (rect 3 69 27 82)(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 18 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 18 32))
|
|
)
|
|
(port
|
|
(pt 0 48)
|
|
(input)
|
|
(text "IN3" (rect 2 39 23 50)(font "Courier New" (bold))(invisible))
|
|
(text "IN3" (rect 2 39 23 50)(font "Courier New" (bold))(invisible))
|
|
(line (pt 0 48)(pt 18 48))
|
|
)
|
|
(port
|
|
(pt 0 64)
|
|
(input)
|
|
(text "IN4" (rect 2 55 23 66)(font "Courier New" (bold))(invisible))
|
|
(text "IN4" (rect 2 55 23 66)(font "Courier New" (bold))(invisible))
|
|
(line (pt 0 64)(pt 18 64))
|
|
)
|
|
(port
|
|
(pt 64 40)
|
|
(output)
|
|
(text "OUT" (rect 48 31 69 42)(font "Courier New" (bold))(invisible))
|
|
(text "OUT" (rect 48 31 69 42)(font "Courier New" (bold))(invisible))
|
|
(line (pt 46 40)(pt 64 40))
|
|
)
|
|
(drawing
|
|
(line (pt 18 28)(pt 34 28))
|
|
(line (pt 18 52)(pt 18 28))
|
|
(line (pt 18 67)(pt 18 13))
|
|
(line (pt 34 53)(pt 18 53))
|
|
(arc (pt 34 52)(pt 34 28)(rect 22 28 47 53))
|
|
)
|
|
)
|
|
(symbol
|
|
(rect 136 64 168 112)
|
|
(text "NOT" (rect 22 1 32 22)(font "Arial" (font_size 6))(vertical))
|
|
(text "inst4" (rect -2 3 11 28)(font "Intel Clear" )(vertical))
|
|
(port
|
|
(pt 16 0)
|
|
(input)
|
|
(text "IN" (rect 2 7 16 18)(font "Courier New" (bold))(invisible))
|
|
(text "IN" (rect 14 2 25 16)(font "Courier New" (bold))(vertical)(invisible))
|
|
(line (pt 16 0)(pt 16 13))
|
|
)
|
|
(port
|
|
(pt 16 48)
|
|
(output)
|
|
(text "OUT" (rect 32 7 53 18)(font "Courier New" (bold))(invisible))
|
|
(text "OUT" (rect 14 32 25 53)(font "Courier New" (bold))(vertical)(invisible))
|
|
(line (pt 16 39)(pt 16 48))
|
|
)
|
|
(drawing
|
|
(line (pt 7 13)(pt 25 13))
|
|
(line (pt 25 13)(pt 16 31))
|
|
(line (pt 7 13)(pt 16 31))
|
|
(circle (rect 12 31 20 39))
|
|
)
|
|
(rotate270)
|
|
)
|
|
(symbol
|
|
(rect 88 64 120 112)
|
|
(text "NOT" (rect 22 1 32 22)(font "Arial" (font_size 6))(vertical))
|
|
(text "inst5" (rect -2 3 11 27)(font "Intel Clear" )(vertical))
|
|
(port
|
|
(pt 16 0)
|
|
(input)
|
|
(text "IN" (rect 2 7 16 18)(font "Courier New" (bold))(invisible))
|
|
(text "IN" (rect 14 2 25 16)(font "Courier New" (bold))(vertical)(invisible))
|
|
(line (pt 16 0)(pt 16 13))
|
|
)
|
|
(port
|
|
(pt 16 48)
|
|
(output)
|
|
(text "OUT" (rect 32 7 53 18)(font "Courier New" (bold))(invisible))
|
|
(text "OUT" (rect 14 32 25 53)(font "Courier New" (bold))(vertical)(invisible))
|
|
(line (pt 16 39)(pt 16 48))
|
|
)
|
|
(drawing
|
|
(line (pt 7 13)(pt 25 13))
|
|
(line (pt 25 13)(pt 16 31))
|
|
(line (pt 7 13)(pt 16 31))
|
|
(circle (rect 12 31 20 39))
|
|
)
|
|
(rotate270)
|
|
)
|
|
(symbol
|
|
(rect 8 64 40 112)
|
|
(text "NOT" (rect 22 1 32 22)(font "Arial" (font_size 6))(vertical))
|
|
(text "inst7" (rect -2 3 11 27)(font "Intel Clear" )(vertical))
|
|
(port
|
|
(pt 16 0)
|
|
(input)
|
|
(text "IN" (rect 2 7 16 18)(font "Courier New" (bold))(invisible))
|
|
(text "IN" (rect 14 2 25 16)(font "Courier New" (bold))(vertical)(invisible))
|
|
(line (pt 16 0)(pt 16 13))
|
|
)
|
|
(port
|
|
(pt 16 48)
|
|
(output)
|
|
(text "OUT" (rect 32 7 53 18)(font "Courier New" (bold))(invisible))
|
|
(text "OUT" (rect 14 32 25 53)(font "Courier New" (bold))(vertical)(invisible))
|
|
(line (pt 16 39)(pt 16 48))
|
|
)
|
|
(drawing
|
|
(line (pt 7 13)(pt 25 13))
|
|
(line (pt 25 13)(pt 16 31))
|
|
(line (pt 7 13)(pt 16 31))
|
|
(circle (rect 12 31 20 39))
|
|
)
|
|
(rotate270)
|
|
)
|
|
(connector
|
|
(pt 24 152)
|
|
(pt 232 152)
|
|
)
|
|
(connector
|
|
(pt 24 240)
|
|
(pt 232 240)
|
|
)
|
|
(connector
|
|
(pt 24 328)
|
|
(pt 232 328)
|
|
)
|
|
(connector
|
|
(pt 24 416)
|
|
(pt 232 416)
|
|
)
|
|
(connector
|
|
(pt 24 112)
|
|
(pt 24 152)
|
|
)
|
|
(connector
|
|
(pt 24 152)
|
|
(pt 24 240)
|
|
)
|
|
(connector
|
|
(pt 24 240)
|
|
(pt 24 328)
|
|
)
|
|
(connector
|
|
(pt 24 328)
|
|
(pt 24 416)
|
|
)
|
|
(connector
|
|
(pt 48 168)
|
|
(pt 232 168)
|
|
)
|
|
(connector
|
|
(pt 48 256)
|
|
(pt 232 256)
|
|
)
|
|
(connector
|
|
(pt 48 344)
|
|
(pt 232 344)
|
|
)
|
|
(connector
|
|
(pt 48 432)
|
|
(pt 232 432)
|
|
)
|
|
(connector
|
|
(pt 48 56)
|
|
(pt 48 168)
|
|
)
|
|
(connector
|
|
(pt 48 168)
|
|
(pt 48 256)
|
|
)
|
|
(connector
|
|
(pt 48 256)
|
|
(pt 48 344)
|
|
)
|
|
(connector
|
|
(pt 48 344)
|
|
(pt 48 432)
|
|
)
|
|
(connector
|
|
(pt 128 64)
|
|
(pt 152 64)
|
|
)
|
|
(connector
|
|
(pt 80 64)
|
|
(pt 104 64)
|
|
)
|
|
(connector
|
|
(pt 104 184)
|
|
(pt 232 184)
|
|
)
|
|
(connector
|
|
(pt 152 200)
|
|
(pt 232 200)
|
|
)
|
|
(connector
|
|
(pt 104 272)
|
|
(pt 232 272)
|
|
)
|
|
(connector
|
|
(pt 104 112)
|
|
(pt 104 184)
|
|
)
|
|
(connector
|
|
(pt 104 184)
|
|
(pt 104 272)
|
|
)
|
|
(connector
|
|
(pt 128 288)
|
|
(pt 232 288)
|
|
)
|
|
(connector
|
|
(pt 128 56)
|
|
(pt 128 64)
|
|
)
|
|
(connector
|
|
(pt 80 360)
|
|
(pt 232 360)
|
|
)
|
|
(connector
|
|
(pt 80 448)
|
|
(pt 232 448)
|
|
)
|
|
(connector
|
|
(pt 80 56)
|
|
(pt 80 64)
|
|
)
|
|
(connector
|
|
(pt 80 64)
|
|
(pt 80 360)
|
|
)
|
|
(connector
|
|
(pt 80 360)
|
|
(pt 80 448)
|
|
)
|
|
(connector
|
|
(pt 152 376)
|
|
(pt 232 376)
|
|
)
|
|
(connector
|
|
(pt 152 112)
|
|
(pt 152 200)
|
|
)
|
|
(connector
|
|
(pt 152 200)
|
|
(pt 152 376)
|
|
)
|
|
(connector
|
|
(pt 128 464)
|
|
(pt 232 464)
|
|
)
|
|
(connector
|
|
(pt 128 64)
|
|
(pt 128 288)
|
|
)
|
|
(connector
|
|
(pt 128 288)
|
|
(pt 128 464)
|
|
)
|
|
(connector
|
|
(pt 296 440)
|
|
(pt 304 440)
|
|
)
|
|
(connector
|
|
(pt 24 64)
|
|
(pt 24 56)
|
|
)
|
|
(junction (pt 24 152))
|
|
(junction (pt 24 240))
|
|
(junction (pt 24 328))
|
|
(junction (pt 48 168))
|
|
(junction (pt 48 256))
|
|
(junction (pt 48 344))
|
|
(junction (pt 104 184))
|
|
(junction (pt 128 64))
|
|
(junction (pt 80 64))
|
|
(junction (pt 80 360))
|
|
(junction (pt 152 200))
|
|
(junction (pt 128 288))
|