?? trafic.bdf
字號:
/*
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-2007 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.3"))
(pin
(input)
(rect -376 48 -208 64)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "clk" (rect 5 0 19 12)(font "Arial" ))
(pt 168 8)
(drawing
(line (pt 92 12)(pt 117 12)(line_width 1))
(line (pt 92 4)(pt 117 4)(line_width 1))
(line (pt 121 8)(pt 168 8)(line_width 1))
(line (pt 92 12)(pt 92 4)(line_width 1))
(line (pt 117 4)(pt 121 8)(line_width 1))
(line (pt 117 12)(pt 121 8)(line_width 1))
)
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
(annotation_block (location)(rect -424 64 -384 80))
)
(pin
(input)
(rect -376 120 -208 136)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "reset" (rect 5 0 29 12)(font "Arial" ))
(pt 168 8)
(drawing
(line (pt 92 12)(pt 117 12)(line_width 1))
(line (pt 92 4)(pt 117 4)(line_width 1))
(line (pt 121 8)(pt 168 8)(line_width 1))
(line (pt 92 12)(pt 92 4)(line_width 1))
(line (pt 117 4)(pt 121 8)(line_width 1))
(line (pt 117 12)(pt 121 8)(line_width 1))
)
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
(annotation_block (location)(rect -432 136 -384 152))
)
(pin
(input)
(rect -376 136 -208 152)
(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
(text "hold" (rect 5 0 25 12)(font "Arial" ))
(pt 168 8)
(drawing
(line (pt 92 12)(pt 117 12)(line_width 1))
(line (pt 92 4)(pt 117 4)(line_width 1))
(line (pt 121 8)(pt 168 8)(line_width 1))
(line (pt 92 12)(pt 92 4)(line_width 1))
(line (pt 117 4)(pt 121 8)(line_width 1))
(line (pt 117 12)(pt 121 8)(line_width 1))
)
(text "VCC" (rect 136 7 156 17)(font "Arial" (font_size 6)))
(annotation_block (location)(rect -432 152 -376 168))
)
(pin
(output)
(rect 592 96 768 112)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "reda" (rect 90 0 111 12)(font "Arial" ))
(pt 0 8)
(drawing
(line (pt 0 8)(pt 52 8)(line_width 1))
(line (pt 52 4)(pt 78 4)(line_width 1))
(line (pt 52 12)(pt 78 12)(line_width 1))
(line (pt 52 12)(pt 52 4)(line_width 1))
(line (pt 78 4)(pt 82 8)(line_width 1))
(line (pt 82 8)(pt 78 12)(line_width 1))
(line (pt 78 12)(pt 82 8)(line_width 1))
)
(annotation_block (location)(rect 768 112 816 128))
)
(pin
(output)
(rect 592 112 768 128)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "greena" (rect 90 0 123 12)(font "Arial" ))
(pt 0 8)
(drawing
(line (pt 0 8)(pt 52 8)(line_width 1))
(line (pt 52 4)(pt 78 4)(line_width 1))
(line (pt 52 12)(pt 78 12)(line_width 1))
(line (pt 52 12)(pt 52 4)(line_width 1))
(line (pt 78 4)(pt 82 8)(line_width 1))
(line (pt 82 8)(pt 78 12)(line_width 1))
(line (pt 78 12)(pt 82 8)(line_width 1))
)
(annotation_block (location)(rect 768 128 816 144))
)
(pin
(output)
(rect 592 128 768 144)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "yellowa" (rect 90 0 126 12)(font "Arial" ))
(pt 0 8)
(drawing
(line (pt 0 8)(pt 52 8)(line_width 1))
(line (pt 52 4)(pt 78 4)(line_width 1))
(line (pt 52 12)(pt 78 12)(line_width 1))
(line (pt 52 12)(pt 52 4)(line_width 1))
(line (pt 78 4)(pt 82 8)(line_width 1))
(line (pt 82 8)(pt 78 12)(line_width 1))
(line (pt 78 12)(pt 82 8)(line_width 1))
)
(annotation_block (location)(rect 768 144 816 160))
)
(pin
(output)
(rect 592 144 768 160)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "redb" (rect 90 0 111 12)(font "Arial" ))
(pt 0 8)
(drawing
(line (pt 0 8)(pt 52 8)(line_width 1))
(line (pt 52 4)(pt 78 4)(line_width 1))
(line (pt 52 12)(pt 78 12)(line_width 1))
(line (pt 52 12)(pt 52 4)(line_width 1))
(line (pt 78 4)(pt 82 8)(line_width 1))
(line (pt 82 8)(pt 78 12)(line_width 1))
(line (pt 78 12)(pt 82 8)(line_width 1))
)
(annotation_block (location)(rect 768 160 816 176))
)
(pin
(output)
(rect 592 160 768 176)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "greenb" (rect 90 0 123 12)(font "Arial" ))
(pt 0 8)
(drawing
(line (pt 0 8)(pt 52 8)(line_width 1))
(line (pt 52 4)(pt 78 4)(line_width 1))
(line (pt 52 12)(pt 78 12)(line_width 1))
(line (pt 52 12)(pt 52 4)(line_width 1))
(line (pt 78 4)(pt 82 8)(line_width 1))
(line (pt 82 8)(pt 78 12)(line_width 1))
(line (pt 78 12)(pt 82 8)(line_width 1))
)
(annotation_block (location)(rect 768 176 816 192))
)
(pin
(output)
(rect 592 176 768 192)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "yellowb" (rect 90 0 126 12)(font "Arial" ))
(pt 0 8)
(drawing
(line (pt 0 8)(pt 52 8)(line_width 1))
(line (pt 52 4)(pt 78 4)(line_width 1))
(line (pt 52 12)(pt 78 12)(line_width 1))
(line (pt 52 12)(pt 52 4)(line_width 1))
(line (pt 78 4)(pt 82 8)(line_width 1))
(line (pt 82 8)(pt 78 12)(line_width 1))
(line (pt 78 12)(pt 82 8)(line_width 1))
)
(annotation_block (location)(rect 768 192 816 208))
)
(pin
(output)
(rect 592 280 768 296)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "display[6..0]" (rect 90 0 151 12)(font "Arial" ))
(pt 0 8)
(drawing
(line (pt 0 8)(pt 52 8)(line_width 1))
(line (pt 52 4)(pt 78 4)(line_width 1))
(line (pt 52 12)(pt 78 12)(line_width 1))
(line (pt 52 12)(pt 52 4)(line_width 1))
(line (pt 78 4)(pt 82 8)(line_width 1))
(line (pt 82 8)(pt 78 12)(line_width 1))
(line (pt 78 12)(pt 82 8)(line_width 1))
)
(annotation_block (location)(rect 768 296 816 400))
)
(pin
(output)
(rect 592 296 768 312)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "set_bit[2..0]" (rect 90 0 149 12)(font "Arial" ))
(pt 0 8)
(drawing
(line (pt 0 8)(pt 52 8)(line_width 1))
(line (pt 52 4)(pt 78 4)(line_width 1))
(line (pt 52 12)(pt 78 12)(line_width 1))
(line (pt 52 12)(pt 52 4)(line_width 1))
(line (pt 78 4)(pt 82 8)(line_width 1))
(line (pt 82 8)(pt 78 12)(line_width 1))
(line (pt 78 12)(pt 82 8)(line_width 1))
)
(annotation_block (location)(rect 768 312 816 360))
)
(symbol
(rect 344 24 472 216)
(text "center" (rect 5 0 35 12)(font "Arial" ))
(text "inst" (rect 8 176 25 188)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "clk" (rect 0 0 14 12)(font "Arial" ))
(text "clk" (rect 21 27 35 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "reset" (rect 0 0 24 12)(font "Arial" ))
(text "reset" (rect 21 43 45 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 0 64)
(input)
(text "hold" (rect 0 0 20 12)(font "Arial" ))
(text "hold" (rect 21 59 41 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64)(line_width 1))
)
(port
(pt 128 32)
(output)
(text "flash" (rect 0 0 24 12)(font "Arial" ))
(text "flash" (rect 83 27 107 39)(font "Arial" ))
(line (pt 128 32)(pt 112 32)(line_width 1))
)
(port
(pt 128 48)
(output)
(text "numa[4..0]" (rect 0 0 53 12)(font "Arial" ))
(text "numa[4..0]" (rect 54 43 107 55)(font "Arial" ))
(line (pt 128 48)(pt 112 48)(line_width 3))
)
(port
(pt 128 64)
(output)
(text "numb[4..0]" (rect 0 0 53 12)(font "Arial" ))
(text "numb[4..0]" (rect 54 59 107 71)(font "Arial" ))
(line (pt 128 64)(pt 112 64)(line_width 3))
)
(port
(pt 128 80)
(output)
(text "red_a" (rect 0 0 27 12)(font "Arial" ))
(text "red_a" (rect 80 75 107 87)(font "Arial" ))
(line (pt 128 80)(pt 112 80)(line_width 1))
)
(port
(pt 128 96)
(output)
(text "green_a" (rect 0 0 38 12)(font "Arial" ))
(text "green_a" (rect 69 91 107 103)(font "Arial" ))
(line (pt 128 96)(pt 112 96)(line_width 1))
)
(port
(pt 128 112)
(output)
(text "yellow_a" (rect 0 0 42 12)(font "Arial" ))
(text "yellow_a" (rect 65 107 107 119)(font "Arial" ))
(line (pt 128 112)(pt 112 112)(line_width 1))
)
(port
(pt 128 128)
(output)
(text "red_b" (rect 0 0 27 12)(font "Arial" ))
(text "red_b" (rect 80 123 107 135)(font "Arial" ))
(line (pt 128 128)(pt 112 128)(line_width 1))
)
(port
(pt 128 144)
(output)
(text "green_b" (rect 0 0 38 12)(font "Arial" ))
(text "green_b" (rect 69 139 107 151)(font "Arial" ))
(line (pt 128 144)(pt 112 144)(line_width 1))
)
(port
(pt 128 160)
(output)
(text "yellow_b" (rect 0 0 42 12)(font "Arial" ))
(text "yellow_b" (rect 65 155 107 167)(font "Arial" ))
(line (pt 128 160)(pt 112 160)(line_width 1))
)
(drawing
(rectangle (rect 16 16 112 176)(line_width 1))
)
)
(symbol
(rect 336 256 496 608)
(text "display" (rect 5 0 40 12)(font "Arial" ))
(text "inst1" (rect 8 336 31 348)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "clk" (rect 0 0 14 12)(font "Arial" ))
(text "clk" (rect 21 27 35 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "flash" (rect 0 0 24 12)(font "Arial" ))
(text "flash" (rect 21 43 45 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 0 64)
(input)
(text "shut0" (rect 0 0 27 12)(font "Arial" ))
(text "shut0" (rect 21 59 48 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64)(line_width 1))
)
(port
(pt 0 80)
(input)
(text "shut1" (rect 0 0 27 12)(font "Arial" ))
(text "shut1" (rect 21 75 48 87)(font "Arial" ))
(line (pt 0 80)(pt 16 80)(line_width 1))
)
(port
(pt 0 96)
(input)
(text "shut2" (rect 0 0 27 12)(font "Arial" ))
(text "shut2" (rect 21 91 48 103)(font "Arial" ))
(line (pt 0 96)(pt 16 96)(line_width 1))
)
(port
(pt 0 112)
(input)
(text "shut3" (rect 0 0 27 12)(font "Arial" ))
(text "shut3" (rect 21 107 48 119)(font "Arial" ))
(line (pt 0 112)(pt 16 112)(line_width 1))
)
(port
(pt 0 128)
(input)
(text "shut4" (rect 0 0 27 12)(font "Arial" ))
(text "shut4" (rect 21 123 48 135)(font "Arial" ))
(line (pt 0 128)(pt 16 128)(line_width 1))
)
(port
(pt 0 144)
(input)
(text "shut5" (rect 0 0 27 12)(font "Arial" ))
(text "shut5" (rect 21 139 48 151)(font "Arial" ))
(line (pt 0 144)(pt 16 144)(line_width 1))
)
(port
(pt 0 160)
(input)
(text "shut6" (rect 0 0 27 12)(font "Arial" ))
(text "shut6" (rect 21 155 48 167)(font "Arial" ))
(line (pt 0 160)(pt 16 160)(line_width 1))
)
(port
(pt 0 176)
(input)
(text "shut7" (rect 0 0 27 12)(font "Arial" ))
(text "shut7" (rect 21 171 48 183)(font "Arial" ))
(line (pt 0 176)(pt 16 176)(line_width 1))
)
(port
(pt 0 192)
(input)
(text "led0[3..0]" (rect 0 0 46 12)(font "Arial" ))
(text "led0[3..0]" (rect 21 187 67 199)(font "Arial" ))
(line (pt 0 192)(pt 16 192)(line_width 3))
)
(port
(pt 0 208)
(input)
(text "led1[3..0]" (rect 0 0 46 12)(font "Arial" ))
(text "led1[3..0]" (rect 21 203 67 215)(font "Arial" ))
(line (pt 0 208)(pt 16 208)(line_width 3))
)
(port
(pt 0 224)
(input)
(text "led2[3..0]" (rect 0 0 46 12)(font "Arial" ))
(text "led2[3..0]" (rect 21 219 67 231)(font "Arial" ))
(line (pt 0 224)(pt 16 224)(line_width 3))
)
(port
(pt 0 240)
(input)
(text "led3[3..0]" (rect 0 0 46 12)(font "Arial" ))
(text "led3[3..0]" (rect 21 235 67 247)(font "Arial" ))
(line (pt 0 240)(pt 16 240)(line_width 3))
)
(port
(pt 0 256)
(input)
(text "led4[3..0]" (rect 0 0 46 12)(font "Arial" ))
(text "led4[3..0]" (rect 21 251 67 263)(font "Arial" ))
(line (pt 0 256)(pt 16 256)(line_width 3))
)
(port
(pt 0 272)
(input)
(text "led5[3..0]" (rect 0 0 46 12)(font "Arial" ))
(text "led5[3..0]" (rect 21 267 67 279)(font "Arial" ))
(line (pt 0 272)(pt 16 272)(line_width 3))
)
(port
(pt 0 288)
(input)
(text "led6[3..0]" (rect 0 0 46 12)(font "Arial" ))
(text "led6[3..0]" (rect 21 283 67 295)(font "Arial" ))
(line (pt 0 288)(pt 16 288)(line_width 3))
)
(port
(pt 0 304)
(input)
(text "led7[3..0]" (rect 0 0 46 12)(font "Arial" ))
(text "led7[3..0]" (rect 21 299 67 311)(font "Arial" ))
(line (pt 0 304)(pt 16 304)(line_width 3))
)
(port
(pt 160 32)
(output)
(text "display[6..0]" (rect 0 0 61 12)(font "Arial" ))
(text "display[6..0]" (rect 78 27 139 39)(font "Arial" ))
(line (pt 160 32)(pt 144 32)(line_width 3))
)
(port
(pt 160 48)
(output)
(text "sel_bit[2..0]" (rect 0 0 57 12)(font "Arial" ))
(text "sel_bit[2..0]" (rect 82 43 139 55)(font "Arial" ))
(line (pt 160 48)(pt 144 48)(line_width 3))
)
(drawing
(rectangle (rect 16 16 144 336)(line_width 1))
)
)
(symbol
(rect -32 416 144 512)
(text "fenwei" (rect 5 0 36 12)(font "Arial" ))
(text "inst2" (rect 8 80 31 92)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "clk" (rect 0 0 14 12)(font "Arial" ))
(text "clk" (rect 21 27 35 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "numin[4..0]" (rect 0 0 55 12)(font "Arial" ))
(text "numin[4..0]" (rect 21 43 76 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 3))
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -