OpenCores
URL https://opencores.org/ocsvn/4-bit-system/4-bit-system/trunk

Subversion Repositories 4-bit-system

[/] [4-bit-system/] [trunk/] [decoder2to4.bdf] - Rev 2

Compare with Previous | Blame | View Log

/*
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-2012 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 64 48 232 64)
        (text "INPUT" (rect 125 0 153 10)(font "Arial" (font_size 6)))
        (text "select0" (rect 5 0 40 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 64 96 232 112)
        (text "INPUT" (rect 125 0 153 10)(font "Arial" (font_size 6)))
        (text "select1" (rect 5 0 40 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
        (output)
        (rect 608 88 784 104)
        (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
        (text "out0" (rect 90 0 111 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))
        )
)
(pin
        (output)
        (rect 600 144 776 160)
        (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
        (text "out1" (rect 90 0 111 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))
        )
)
(pin
        (output)
        (rect 608 208 784 224)
        (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
        (text "out2" (rect 90 0 111 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))
        )
)
(pin
        (output)
        (rect 600 272 776 288)
        (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
        (text "out3" (rect 90 0 111 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 528 256 592 304)
        (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))
        )
)
(symbol
        (rect 528 192 592 240)
        (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 528 128 592 176)
        (text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6)))
        (text "inst2" (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 528 72 592 120)
        (text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6)))
        (text "inst3" (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 280 40 328 72)
        (text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6)))
        (text "inst4" (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 280 88 328 120)
        (text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6)))
        (text "inst5" (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))
        )
)
(connector
        (pt 224 56)
        (pt 232 56)
)
(connector
        (pt 224 104)
        (pt 232 104)
)
(connector
        (pt 528 88)
        (pt 504 88)
)
(connector
        (pt 504 88)
        (pt 504 56)
)
(connector
        (pt 592 96)
        (pt 608 96)
)
(connector
        (pt 608 96)
        (pt 616 96)
)
(connector
        (pt 232 56)
        (pt 272 56)
)
(connector
        (pt 272 56)
        (pt 280 56)
)
(connector
        (pt 232 104)
        (pt 256 104)
)
(connector
        (pt 256 104)
        (pt 280 104)
)
(connector
        (pt 256 288)
        (pt 528 288)
)
(connector
        (pt 272 272)
        (pt 528 272)
)
(connector
        (pt 528 272)
        (pt 536 272)
)
(connector
        (pt 584 280)
        (pt 592 280)
)
(connector
        (pt 592 280)
        (pt 600 280)
)
(connector
        (pt 600 280)
        (pt 608 280)
)
(connector
        (pt 464 208)
        (pt 528 208)
)
(connector
        (pt 464 56)
        (pt 464 208)
)
(connector
        (pt 256 224)
        (pt 528 224)
)
(connector
        (pt 328 56)
        (pt 464 56)
)
(connector
        (pt 464 56)
        (pt 504 56)
)
(connector
        (pt 256 104)
        (pt 256 224)
)
(connector
        (pt 256 224)
        (pt 256 288)
)
(connector
        (pt 584 216)
        (pt 592 216)
)
(connector
        (pt 592 216)
        (pt 608 216)
)
(connector
        (pt 496 104)
        (pt 496 160)
)
(connector
        (pt 496 160)
        (pt 528 160)
)
(connector
        (pt 272 56)
        (pt 272 144)
)
(connector
        (pt 272 144)
        (pt 272 272)
)
(connector
        (pt 328 104)
        (pt 496 104)
)
(connector
        (pt 496 104)
        (pt 528 104)
)
(connector
        (pt 584 152)
        (pt 592 152)
)
(connector
        (pt 592 152)
        (pt 600 152)
)
(connector
        (pt 272 144)
        (pt 528 144)
)
(connector
        (pt 528 144)
        (pt 536 144)
)
(junction (pt 232 56))
(junction (pt 232 104))
(junction (pt 608 96))
(junction (pt 272 56))
(junction (pt 496 104))
(junction (pt 464 56))
(junction (pt 256 104))
(junction (pt 528 272))
(junction (pt 592 280))
(junction (pt 600 280))
(junction (pt 256 224))
(junction (pt 592 216))
(junction (pt 272 144))
(junction (pt 528 144))
(junction (pt 592 152))

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.