You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

403 lines
9.6 KiB

/*
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-2013 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 320 240 488 256)
(text "INPUT" (rect 125 0 153 10)(font "Arial" (font_size 6)))
(text "INPUT_A" (rect 5 0 52 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 320 256 488 272)
(text "INPUT" (rect 125 0 153 10)(font "Arial" (font_size 6)))
(text "INPUT_B" (rect 5 0 51 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 320 272 488 288)
(text "INPUT" (rect 125 0 153 10)(font "Arial" (font_size 6)))
(text "INPUT_C" (rect 5 0 52 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 320 288 488 304)
(text "INPUT" (rect 125 0 153 10)(font "Arial" (font_size 6)))
(text "INPUT_D" (rect 5 0 52 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 776 240 952 256)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "OUTPUT_A" (rect 90 0 147 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 776 256 952 272)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "OUTPUT_B" (rect 90 0 146 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 776 272 952 288)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "OUTPUT_C" (rect 90 0 147 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 776 288 952 304)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "OUTPUT_D" (rect 90 0 147 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 776 304 952 320)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "OUTPUT_E" (rect 90 0 146 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 776 320 952 336)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "OUTPUT_F" (rect 90 0 146 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 776 336 952 352)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "OUTPUT_G" (rect 90 0 147 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 584 224 704 384)
(text "7448" (rect 45 0 78 16)(font "Arial" (font_size 10)))
(text "inst" (rect 3 149 18 159)(font "Arial" (font_size 6)))
(port
(pt 0 24)
(input)
(text "A" (rect 21 17 30 31)(font "Arial" (font_size 8)))
(text "A" (rect 21 17 30 31)(font "Arial" (font_size 8)))
(line (pt 0 24)(pt 16 24))
)
(port
(pt 0 56)
(input)
(text "C" (rect 21 49 29 63)(font "Arial" (font_size 8)))
(text "C" (rect 21 49 29 63)(font "Arial" (font_size 8)))
(line (pt 0 56)(pt 16 56))
)
(port
(pt 0 72)
(input)
(text "D" (rect 21 65 29 79)(font "Arial" (font_size 8)))
(text "D" (rect 21 65 29 79)(font "Arial" (font_size 8)))
(line (pt 0 72)(pt 16 72))
)
(port
(pt 0 40)
(input)
(text "B" (rect 21 33 29 47)(font "Arial" (font_size 8)))
(text "B" (rect 21 33 29 47)(font "Arial" (font_size 8)))
(line (pt 0 40)(pt 16 40))
)
(port
(pt 0 104)
(input)
(text "RBIN" (rect 21 97 48 111)(font "Arial" (font_size 8)))
(text "RBIN" (rect 21 97 48 111)(font "Arial" (font_size 8)))
(line (pt 0 104)(pt 8 104))
)
(port
(pt 0 120)
(input)
(text "BIN" (rect 21 113 39 127)(font "Arial" (font_size 8)))
(text "BIN" (rect 21 113 39 127)(font "Arial" (font_size 8)))
(line (pt 0 120)(pt 8 120))
)
(port
(pt 0 88)
(input)
(text "LTN" (rect 21 81 43 95)(font "Arial" (font_size 8)))
(text "LTN" (rect 21 81 43 95)(font "Arial" (font_size 8)))
(line (pt 0 88)(pt 8 88))
)
(port
(pt 120 56)
(output)
(text "OC" (rect 83 48 100 62)(font "Arial" (font_size 8)))
(text "OC" (rect 85 48 102 62)(font "Arial" (font_size 8)))
(line (pt 104 56)(pt 120 56))
)
(port
(pt 120 88)
(output)
(text "OE" (rect 83 80 99 94)(font "Arial" (font_size 8)))
(text "OE" (rect 86 80 102 94)(font "Arial" (font_size 8)))
(line (pt 104 88)(pt 120 88))
)
(port
(pt 120 72)
(output)
(text "OD" (rect 83 64 100 78)(font "Arial" (font_size 8)))
(text "OD" (rect 85 64 102 78)(font "Arial" (font_size 8)))
(line (pt 104 72)(pt 120 72))
)
(port
(pt 120 104)
(output)
(text "OF" (rect 83 96 99 110)(font "Arial" (font_size 8)))
(text "OF" (rect 86 96 102 110)(font "Arial" (font_size 8)))
(line (pt 104 104)(pt 120 104))
)
(port
(pt 120 120)
(output)
(text "OG" (rect 83 112 101 126)(font "Arial" (font_size 8)))
(text "OG" (rect 84 112 102 126)(font "Arial" (font_size 8)))
(line (pt 104 120)(pt 120 120))
)
(port
(pt 120 40)
(output)
(text "OB" (rect 83 32 100 46)(font "Arial" (font_size 8)))
(text "OB" (rect 85 32 102 46)(font "Arial" (font_size 8)))
(line (pt 104 40)(pt 120 40))
)
(port
(pt 120 24)
(output)
(text "OA" (rect 83 16 101 30)(font "Arial" (font_size 8)))
(text "OA" (rect 84 16 102 30)(font "Arial" (font_size 8)))
(line (pt 104 24)(pt 120 24))
)
(port
(pt 120 136)
(output)
(text "RBON" (rect 67 128 101 142)(font "Arial" (font_size 8)))
(text "RBON" (rect 79 128 113 142)(font "Arial" (font_size 8)))
(line (pt 112 136)(pt 120 136))
)
(drawing
(text "BCD TO 7SEG" (rect 29 145 109 159)(font "Arial" (font_size 8)))
(line (pt 16 16)(pt 104 16))
(line (pt 16 144)(pt 104 144))
(line (pt 104 144)(pt 104 16))
(line (pt 16 144)(pt 16 16))
(circle (rect 104 132 112 140))
(circle (rect 8 116 16 124))
(circle (rect 8 100 16 108))
(circle (rect 8 84 16 92))
)
)
(symbol
(rect 520 176 552 192)
(text "VCC" (rect 7 0 27 10)(font "Arial" (font_size 6)))
(text "inst1" (rect 3 5 26 17)(font "Arial" )(invisible))
(port
(pt 16 16)
(output)
(text "1" (rect 19 7 24 19)(font "Courier New" (bold))(invisible))
(text "1" (rect 19 7 24 19)(font "Courier New" (bold))(invisible))
(line (pt 16 16)(pt 16 8))
)
(drawing
(line (pt 8 8)(pt 24 8))
)
)
(connector
(pt 488 264)
(pt 584 264)
)
(connector
(pt 584 280)
(pt 488 280)
)
(connector
(pt 584 248)
(pt 488 248)
)
(connector
(pt 704 264)
(pt 776 264)
)
(connector
(pt 704 280)
(pt 776 280)
)
(connector
(pt 776 296)
(pt 704 296)
)
(connector
(pt 704 312)
(pt 776 312)
)
(connector
(pt 776 328)
(pt 704 328)
)
(connector
(pt 704 344)
(pt 776 344)
)
(connector
(pt 584 296)
(pt 488 296)
)
(connector
(pt 704 248)
(pt 776 248)
)
(connector
(pt 536 344)
(pt 584 344)
)
(connector
(pt 584 312)
(pt 536 312)
)
(connector
(pt 536 192)
(pt 536 312)
)
(connector
(pt 584 328)
(pt 536 328)
)
(connector
(pt 536 312)
(pt 536 328)
)
(connector
(pt 536 328)
(pt 536 344)
)
(junction (pt 536 312))
(junction (pt 536 328))