⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 seg47.bdf

📁 一个数码管显示的测试程序
💻 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-2005 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 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 16 -80 184 -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 -96 -64 -8 -32))
)
(pin
	(input)
	(rect -192 248 -24 264)
	(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 -240 344 -152 376))
)
(pin
	(output)
	(rect 632 256 808 272)
	(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
	(text "seg7[6..0]" (rect 90 0 139 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 752 136 840 248))
)
(pin
	(output)
	(rect 360 224 536 240)
	(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
	(text "ledcom[3..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 216 264 304 336))
)
(symbol
	(rect 160 80 336 176)
	(text "segmain" (rect 5 0 46 12)(font "Arial" ))
	(text "inst" (rect 8 80 25 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 "rst" (rect 0 0 12 12)(font "Arial" ))
		(text "rst" (rect 21 43 33 55)(font "Arial" ))
		(line (pt 0 48)(pt 16 48)(line_width 1))
	)
	(port
		(pt 0 64)
		(input)
		(text "datain[15..0]" (rect 0 0 61 12)(font "Arial" ))
		(text "datain[15..0]" (rect 21 59 82 71)(font "Arial" ))
		(line (pt 0 64)(pt 16 64)(line_width 3))
	)
	(port
		(pt 176 32)
		(output)
		(text "dataout[3..0]" (rect 0 0 62 12)(font "Arial" ))
		(text "dataout[3..0]" (rect 93 27 155 39)(font "Arial" ))
		(line (pt 176 32)(pt 160 32)(line_width 3))
	)
	(port
		(pt 176 48)
		(output)
		(text "ledcom[3..0]" (rect 0 0 61 12)(font "Arial" ))
		(text "ledcom[3..0]" (rect 94 43 155 55)(font "Arial" ))
		(line (pt 176 48)(pt 160 48)(line_width 3))
	)
	(drawing
		(rectangle (rect 16 16 160 80)(line_width 1))
	)
)
(symbol
	(rect 400 80 584 176)
	(text "bin27seg" (rect 5 0 48 12)(font "Arial" ))
	(text "inst1" (rect 8 80 31 92)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "data_in[3..0]" (rect 0 0 61 12)(font "Arial" ))
		(text "data_in[3..0]" (rect 21 27 82 39)(font "Arial" ))
		(line (pt 0 32)(pt 16 32)(line_width 3))
	)
	(port
		(pt 184 32)
		(output)
		(text "data_out[6..0]" (rect 0 0 68 12)(font "Arial" ))
		(text "data_out[6..0]" (rect 95 27 163 39)(font "Arial" ))
		(line (pt 184 32)(pt 168 32)(line_width 3))
	)
	(drawing
		(rectangle (rect 16 16 168 80)(line_width 1))
	)
)
(symbol
	(rect 344 -40 456 56)
	(text "addcont" (rect 5 0 43 12)(font "Arial" ))
	(text "inst3" (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 "rst" (rect 0 0 12 12)(font "Arial" ))
		(text "rst" (rect 21 43 33 55)(font "Arial" ))
		(line (pt 0 48)(pt 16 48)(line_width 1))
	)
	(port
		(pt 112 32)
		(output)
		(text "cont[7..0]" (rect 0 0 47 12)(font "Arial" ))
		(text "cont[7..0]" (rect 44 27 91 39)(font "Arial" ))
		(line (pt 112 32)(pt 96 32)(line_width 3))
	)
	(drawing
		(rectangle (rect 16 16 96 80)(line_width 1))
	)
)
(symbol
	(rect 104 -32 216 64)
	(text "subcont" (rect 5 0 43 12)(font "Arial" ))
	(text "inst4" (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 "rst" (rect 0 0 12 12)(font "Arial" ))
		(text "rst" (rect 21 43 33 55)(font "Arial" ))
		(line (pt 0 48)(pt 16 48)(line_width 1))
	)
	(port
		(pt 112 32)
		(output)
		(text "cont[7..0]" (rect 0 0 47 12)(font "Arial" ))
		(text "cont[7..0]" (rect 44 27 91 39)(font "Arial" ))
		(line (pt 112 32)(pt 96 32)(line_width 3))
	)
	(drawing
		(rectangle (rect 16 16 96 80)(line_width 1))
	)
)
(symbol
	(rect 32 88 80 120)
	(text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6)))
	(text "inst6" (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)(line_width 1))
	)
	(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)(line_width 1))
	)
	(drawing
		(line (pt 13 25)(pt 13 7)(line_width 1))
		(line (pt 13 7)(pt 31 16)(line_width 1))
		(line (pt 13 25)(pt 31 16)(line_width 1))
		(circle (rect 31 12 39 20)(line_width 1))
	)
)
(symbol
	(rect 200 -112 344 -48)
	(text "lpm_counter0" (rect 33 1 125 17)(font "Arial" (font_size 10)))
	(text "inst5" (rect 8 48 31 60)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "clock" (rect 0 0 29 14)(font "Arial" (font_size 8)))
		(text "clock" (rect 26 26 55 40)(font "Arial" (font_size 8)))
		(line (pt 0 32)(pt 16 32)(line_width 1))
	)
	(port
		(pt 144 40)
		(output)
		(text "q[25..0]" (rect 0 0 42 14)(font "Arial" (font_size 8)))
		(text "q[25..0]" (rect 89 34 131 48)(font "Arial" (font_size 8)))
		(line (pt 144 40)(pt 128 40)(line_width 3))
	)
	(drawing
		(text "up counter" (rect 84 17 135 29)(font "Arial" ))
		(line (pt 16 16)(pt 128 16)(line_width 1))
		(line (pt 128 16)(pt 128 48)(line_width 1))
		(line (pt 128 48)(pt 16 48)(line_width 1))
		(line (pt 16 48)(pt 16 16)(line_width 1))
		(line (pt 16 26)(pt 22 32)(line_width 1))
		(line (pt 22 32)(pt 16 38)(line_width 1))
	)
)
(connector
	(pt 80 104)
	(pt 88 104)
)
(connector
	(pt 160 128)
	(pt 88 128)
)
(connector
	(pt 88 104)
	(pt 88 128)
)
(connector
	(pt 88 16)
	(pt 104 16)
)
(connector
	(pt 248 72)
	(pt 88 72)
)
(connector
	(pt 88 16)
	(pt 88 72)
)
(connector
	(pt 88 72)
	(pt 88 104)
)
(connector
	(pt 248 72)
	(pt 248 8)
)
(connector
	(pt 248 8)
	(pt 344 8)
)
(connector
	(text "data[7..0]" (rect 216 -16 263 -4)(font "Arial" ))
	(pt 216 0)
	(pt 248 0)
	(bus)
)
(connector
	(text "data[15..8]" (rect 456 -24 509 -12)(font "Arial" ))
	(pt 456 -8)
	(pt 472 -8)
	(bus)
)
(connector
	(text "data[15..0]" (rect 90 128 143 140)(font "Arial" ))
	(pt 80 144)
	(pt 160 144)
	(bus)
)
(connector
	(pt 336 112)
	(pt 400 112)
	(bus)
)
(connector
	(pt 336 128)
	(pt 352 128)
	(bus)
)
(connector
	(pt 352 232)
	(pt 360 232)
	(bus)
)
(connector
	(pt 352 128)
	(pt 352 232)
	(bus)
)
(connector
	(pt 584 112)
	(pt 616 112)
	(bus)
)
(connector
	(pt 616 264)
	(pt 632 264)
	(bus)
)
(connector
	(pt 616 112)
	(pt 616 264)
	(bus)
)
(connector
	(pt -24 256)
	(pt 8 256)
)
(connector
	(pt 32 104)
	(pt 8 104)
)
(connector
	(pt 8 104)
	(pt 8 256)
)
(connector
	(pt 184 -72)
	(pt 200 -72)
)
(connector
	(pt 208 -104)
	(pt 200 -104)
)
(connector
	(pt 208 -80)
	(pt 200 -80)
)
(connector
	(pt 208 -104)
	(pt 208 -80)
)
(connector
	(pt 344 -96)
	(pt 344 -72)
	(bus)
)
(connector
	(pt 200 -104)
	(pt 200 -80)
)
(connector
	(pt 200 -80)
	(pt 200 -72)
)
(connector
	(text "q[25..0]" (rect 354 -112 391 -100)(font "Arial" ))
	(pt 392 -96)
	(pt 344 -96)
	(bus)
)
(connector
	(text "q[25]" (rect 66 -16 90 -4)(font "Arial" ))
	(pt 104 0)
	(pt 56 0)
)
(connector
	(text "q[23]" (rect 330 -24 354 -12)(font "Arial" ))
	(pt 344 -8)
	(pt 320 -8)
)
(connector
	(text "q[5]" (rect 106 96 124 108)(font "Arial" ))
	(pt 160 112)
	(pt 136 112)
)
(junction (pt 88 104))
(junction (pt 88 72))
(junction (pt 200 -80))

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -