📄 gmaj.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.
*/
//#pragma file_not_in_maxplusii_format
(header "graphic" (version "1.3"))
(pin
(input)
(rect -24 24 144 40)
(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 -72 24 -24 40))
)
(pin
(input)
(rect -24 -32 144 -16)
(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 -72 -32 -24 -16))
)
(pin
(input)
(rect -24 -16 144 0)
(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 -72 -16 -24 0))
)
(pin
(output)
(rect 720 104 896 120)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "seg[6..0]" (rect 90 0 133 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 992 120 1040 224))
)
(pin
(output)
(rect 736 16 912 32)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "ledb[0..2]" (rect 90 0 136 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 976 -48 1024 0))
)
(pin
(output)
(rect 736 0 912 16)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "leda[0..2]" (rect 90 0 136 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 912 -48 960 0))
)
(pin
(output)
(rect 720 88 896 104)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "ct[7..0]" (rect 90 0 125 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 1168 -24 1216 88))
)
(pin
(output)
(rect 736 32 912 48)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "ledc[0..2]" (rect 90 0 136 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 1040 -48 1088 0))
)
(pin
(output)
(rect 736 48 912 64)
(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
(text "ledd[0..2]" (rect 90 0 136 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 1104 -48 1152 0))
)
(symbol
(rect 176 0 272 96)
(text "CLK" (rect 5 0 26 12)(font "Arial" ))
(text "inst" (rect 8 80 25 92)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "clkin" (rect 0 0 22 12)(font "Arial" ))
(text "clkin" (rect 21 27 43 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 96 32)
(output)
(text "clkout" (rect 0 0 29 12)(font "Arial" ))
(text "clkout" (rect 46 27 75 39)(font "Arial" ))
(line (pt 96 32)(pt 80 32)(line_width 1))
)
(port
(pt 96 48)
(output)
(text "clk2" (rect 0 0 20 12)(font "Arial" ))
(text "clk2" (rect 55 43 75 55)(font "Arial" ))
(line (pt 96 48)(pt 80 48)(line_width 1))
)
(drawing
(rectangle (rect 16 16 80 80)(line_width 1))
)
)
(symbol
(rect 328 0 464 192)
(text "cctr1" (rect 5 0 29 12)(font "Arial" ))
(text "inst2" (rect 8 176 31 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 136 32)
(output)
(text "leda[0..2]" (rect 0 0 46 12)(font "Arial" ))
(text "leda[0..2]" (rect 69 27 115 39)(font "Arial" ))
(line (pt 136 32)(pt 120 32)(line_width 3))
)
(port
(pt 136 48)
(output)
(text "ledb[0..2]" (rect 0 0 46 12)(font "Arial" ))
(text "ledb[0..2]" (rect 69 43 115 55)(font "Arial" ))
(line (pt 136 48)(pt 120 48)(line_width 3))
)
(port
(pt 136 64)
(output)
(text "ledc[0..2]" (rect 0 0 46 12)(font "Arial" ))
(text "ledc[0..2]" (rect 69 59 115 71)(font "Arial" ))
(line (pt 136 64)(pt 120 64)(line_width 3))
)
(port
(pt 136 80)
(output)
(text "ledd[0..2]" (rect 0 0 46 12)(font "Arial" ))
(text "ledd[0..2]" (rect 69 75 115 87)(font "Arial" ))
(line (pt 136 80)(pt 120 80)(line_width 3))
)
(port
(pt 136 96)
(output)
(text "cnuma[6..0]" (rect 0 0 59 12)(font "Arial" ))
(text "cnuma[6..0]" (rect 56 91 115 103)(font "Arial" ))
(line (pt 136 96)(pt 120 96)(line_width 3))
)
(port
(pt 136 112)
(output)
(text "cnumb[6..0]" (rect 0 0 59 12)(font "Arial" ))
(text "cnumb[6..0]" (rect 56 107 115 119)(font "Arial" ))
(line (pt 136 112)(pt 120 112)(line_width 3))
)
(port
(pt 136 128)
(output)
(text "cnumc[6..0]" (rect 0 0 59 12)(font "Arial" ))
(text "cnumc[6..0]" (rect 56 123 115 135)(font "Arial" ))
(line (pt 136 128)(pt 120 128)(line_width 3))
)
(port
(pt 136 144)
(output)
(text "cnumd[6..0]" (rect 0 0 59 12)(font "Arial" ))
(text "cnumd[6..0]" (rect 56 139 115 151)(font "Arial" ))
(line (pt 136 144)(pt 120 144)(line_width 3))
)
(drawing
(rectangle (rect 16 16 120 176)(line_width 1))
)
)
(symbol
(rect 512 64 696 192)
(text "display" (rect 5 0 40 12)(font "Arial" ))
(text "inst3" (rect 8 112 31 124)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "cnumina[6..0]" (rect 0 0 67 12)(font "Arial" ))
(text "cnumina[6..0]" (rect 21 27 88 39)(font "Arial" ))
(line (pt 0 32)(pt 16 32)(line_width 3))
)
(port
(pt 0 48)
(input)
(text "cnuminb[6..0]" (rect 0 0 67 12)(font "Arial" ))
(text "cnuminb[6..0]" (rect 21 43 88 55)(font "Arial" ))
(line (pt 0 48)(pt 16 48)(line_width 3))
)
(port
(pt 0 64)
(input)
(text "cnuminc[6..0]" (rect 0 0 67 12)(font "Arial" ))
(text "cnuminc[6..0]" (rect 21 59 88 71)(font "Arial" ))
(line (pt 0 64)(pt 16 64)(line_width 3))
)
(port
(pt 0 80)
(input)
(text "cnumind[6..0]" (rect 0 0 67 12)(font "Arial" ))
(text "cnumind[6..0]" (rect 21 75 88 87)(font "Arial" ))
(line (pt 0 80)(pt 16 80)(line_width 3))
)
(port
(pt 0 96)
(input)
(text "clk2" (rect 0 0 20 12)(font "Arial" ))
(text "clk2" (rect 21 91 41 103)(font "Arial" ))
(line (pt 0 96)(pt 16 96)(line_width 1))
)
(port
(pt 184 32)
(output)
(text "ct[7..0]" (rect 0 0 35 12)(font "Arial" ))
(text "ct[7..0]" (rect 128 27 163 39)(font "Arial" ))
(line (pt 184 32)(pt 168 32)(line_width 3))
)
(port
(pt 184 48)
(output)
(text "segout[6..0]" (rect 0 0 59 12)(font "Arial" ))
(text "segout[6..0]" (rect 104 43 163 55)(font "Arial" ))
(line (pt 184 48)(pt 168 48)(line_width 3))
)
(drawing
(rectangle (rect 16 16 168 112)(line_width 1))
)
)
(connector
(pt 720 96)
(pt 696 96)
(bus)
)
(connector
(pt 720 112)
(pt 696 112)
(bus)
)
(connector
(pt 512 96)
(pt 464 96)
(bus)
)
(connector
(pt 512 112)
(pt 464 112)
(bus)
)
(connector
(pt 512 128)
(pt 464 128)
(bus)
)
(connector
(pt 512 144)
(pt 464 144)
(bus)
)
(connector
(pt 312 -24)
(pt 144 -24)
)
(connector
(pt 328 48)
(pt 312 48)
)
(connector
(pt 312 -24)
(pt 312 48)
)
(connector
(pt 328 64)
(pt 304 64)
)
(connector
(pt 304 64)
(pt 304 -8)
)
(connector
(pt 304 -8)
(pt 144 -8)
)
(connector
(pt 512 160)
(pt 480 160)
)
(connector
(pt 480 160)
(pt 480 200)
)
(connector
(pt 288 200)
(pt 480 200)
)
(connector
(pt 464 32)
(pt 464 8)
(bus)
)
(connector
(pt 464 8)
(pt 736 8)
(bus)
)
(connector
(pt 464 48)
(pt 472 48)
(bus)
)
(connector
(pt 472 48)
(pt 472 24)
(bus)
)
(connector
(pt 736 24)
(pt 472 24)
(bus)
)
(connector
(pt 464 64)
(pt 480 64)
(bus)
)
(connector
(pt 480 64)
(pt 480 40)
(bus)
)
(connector
(pt 736 40)
(pt 480 40)
(bus)
)
(connector
(pt 464 80)
(pt 488 80)
(bus)
)
(connector
(pt 488 80)
(pt 488 56)
(bus)
)
(connector
(pt 488 56)
(pt 736 56)
(bus)
)
(connector
(pt 144 32)
(pt 176 32)
)
(connector
(pt 288 200)
(pt 288 48)
)
(connector
(pt 272 32)
(pt 328 32)
)
(connector
(pt 272 48)
(pt 288 48)
)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -