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

Subversion Repositories 4-bit-system

[/] [4-bit-system/] [trunk/] [light.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 88 200 256 216)
        (text "INPUT" (rect 125 0 153 10)(font "Arial" (font_size 6)))
        (text "x1" (rect 5 0 17 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 80 408 248 424)
        (text "INPUT" (rect 125 0 153 10)(font "Arial" (font_size 6)))
        (text "x2" (rect 5 0 17 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 736 296 912 312)
        (text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
        (text "f" (rect 90 0 94 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 512 384 576 432)
        (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 512 192 576 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 632 280 696 328)
        (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))
        )
)
(symbol
        (rect 400 296 432 344)
        (text "NOT" (rect 0 27 10 47)(font "Arial" (font_size 6))(vertical))
        (text "inst3" (rect 21 22 33 45)(font "Arial" )(vertical))
        (port
                (pt 16 48)
                (input)
                (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
                (text "IN" (rect 7 35 19 46)(font "Courier New" (bold))(vertical)(invisible))
                (line (pt 16 48)(pt 16 35))
        )
        (port
                (pt 16 0)
                (output)
                (text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible))
                (text "OUT" (rect 7 -1 19 16)(font "Courier New" (bold))(vertical)(invisible))
                (line (pt 16 9)(pt 16 0))
        )
        (drawing
                (line (pt 25 35)(pt 7 35))
                (line (pt 7 35)(pt 16 17))
                (line (pt 25 35)(pt 16 17))
                (circle (rect 12 9 20 17))
        )
        (rotate90)
)
(symbol
        (rect 304 296 336 344)
        (text "NOT" (rect 22 1 32 21)(font "Arial" (font_size 6))(vertical))
        (text "inst4" (rect -1 3 11 26)(font "Arial" )(vertical))
        (port
                (pt 16 0)
                (input)
                (text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
                (text "IN" (rect 13 2 25 13)(font "Courier New" (bold))(vertical)(invisible))
                (line (pt 16 0)(pt 16 13))
        )
        (port
                (pt 16 48)
                (output)
                (text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible))
                (text "OUT" (rect 13 32 25 49)(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 520 208)
        (pt 520 200)
)
(connector
        (pt 512 208)
        (pt 520 208)
)
(connector
        (pt 520 416)
        (pt 520 424)
)
(connector
        (pt 512 416)
        (pt 520 416)
)
(connector
        (pt 416 344)
        (pt 416 416)
)
(connector
        (pt 248 416)
        (pt 416 416)
)
(connector
        (pt 416 416)
        (pt 512 416)
)
(connector
        (pt 512 400)
        (pt 320 400)
)
(connector
        (pt 320 400)
        (pt 320 344)
)
(connector
        (pt 320 296)
        (pt 320 208)
)
(connector
        (pt 256 208)
        (pt 320 208)
)
(connector
        (pt 320 208)
        (pt 512 208)
)
(connector
        (pt 512 224)
        (pt 416 224)
)
(connector
        (pt 416 224)
        (pt 416 296)
)
(connector
        (pt 576 216)
        (pt 608 216)
        (bus)
)
(connector
        (pt 608 216)
        (pt 608 296)
        (bus)
)
(connector
        (pt 608 296)
        (pt 632 296)
        (bus)
)
(connector
        (pt 632 296)
        (pt 640 296)
        (bus)
)
(connector
        (pt 688 304)
        (pt 696 304)
        (bus)
)
(connector
        (pt 696 304)
        (pt 736 304)
        (bus)
)
(connector
        (pt 736 304)
        (pt 744 304)
        (bus)
)
(connector
        (pt 576 408)
        (pt 616 408)
        (bus)
)
(connector
        (pt 616 408)
        (pt 616 312)
        (bus)
)
(connector
        (pt 608 312)
        (pt 616 312)
        (bus)
)
(connector
        (pt 616 312)
        (pt 632 312)
        (bus)
)
(junction (pt 512 208))
(junction (pt 512 416))
(junction (pt 416 416))
(junction (pt 320 208))
(junction (pt 632 296))
(junction (pt 696 304))
(junction (pt 736 304))
(junction (pt 616 312))

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.