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

📄 clkscan3_test.bdf

📁 采用Quartus2编写的数码管扫描显示电路 共有三个电路 电路1:当按下启动计时按钮时
💻 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 256 184 272)
	(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)))
)
(pin
	(input)
	(rect 16 352 184 368)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "start" (rect 5 0 27 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)))
)
(pin
	(input)
	(rect 160 72 328 88)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "clk_4" (rect 5 0 30 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)))
)
(pin
	(input)
	(rect 16 128 184 144)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "clk_1k" (rect 5 0 36 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)))
)
(pin
	(output)
	(rect 536 352 712 368)
	(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
	(text "out[7..0]" (rect 90 0 131 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))
	)
)
(pin
	(output)
	(rect 728 40 904 56)
	(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
	(text "scan_en[8..1]" (rect 90 0 157 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))
	)
)
(pin
	(output)
	(rect 768 80 944 96)
	(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
	(text "data[3..0]" (rect 90 0 137 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))
	)
)
(symbol
	(rect 216 216 312 312)
	(text "button" (rect 5 0 35 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 "pbn" (rect 0 0 17 12)(font "Arial" ))
		(text "pbn" (rect 21 43 38 55)(font "Arial" ))
		(line (pt 0 48)(pt 16 48)(line_width 1))
	)
	(port
		(pt 96 32)
		(output)
		(text "signal" (rect 0 0 28 12)(font "Arial" ))
		(text "signal" (rect 47 27 75 39)(font "Arial" ))
		(line (pt 96 32)(pt 80 32)(line_width 1))
	)
	(drawing
		(rectangle (rect 16 16 80 80)(line_width 1))
	)
)
(symbol
	(rect 216 312 312 408)
	(text "button" (rect 5 0 35 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 "pbn" (rect 0 0 17 12)(font "Arial" ))
		(text "pbn" (rect 21 43 38 55)(font "Arial" ))
		(line (pt 0 48)(pt 16 48)(line_width 1))
	)
	(port
		(pt 96 32)
		(output)
		(text "signal" (rect 0 0 28 12)(font "Arial" ))
		(text "signal" (rect 47 27 75 39)(font "Arial" ))
		(line (pt 96 32)(pt 80 32)(line_width 1))
	)
	(drawing
		(rectangle (rect 16 16 80 80)(line_width 1))
	)
)
(symbol
	(rect 352 48 480 176)
	(text "timer" (rect 5 0 29 12)(font "Arial" ))
	(text "inst6" (rect 8 112 31 124)(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 "start" (rect 0 0 22 12)(font "Arial" ))
		(text "start" (rect 21 59 43 71)(font "Arial" ))
		(line (pt 0 64)(pt 16 64)(line_width 1))
	)
	(port
		(pt 128 32)
		(output)
		(text "sec[7..0]" (rect 0 0 43 12)(font "Arial" ))
		(text "sec[7..0]" (rect 64 27 107 39)(font "Arial" ))
		(line (pt 128 32)(pt 112 32)(line_width 3))
	)
	(port
		(pt 128 48)
		(output)
		(text "min[7..0]" (rect 0 0 43 12)(font "Arial" ))
		(text "min[7..0]" (rect 64 43 107 55)(font "Arial" ))
		(line (pt 128 48)(pt 112 48)(line_width 3))
	)
	(port
		(pt 128 64)
		(output)
		(text "hour[7..0]" (rect 0 0 47 12)(font "Arial" ))
		(text "hour[7..0]" (rect 60 59 107 71)(font "Arial" ))
		(line (pt 128 64)(pt 112 64)(line_width 3))
	)
	(port
		(pt 128 80)
		(output)
		(text "day" (rect 0 0 18 12)(font "Arial" ))
		(text "day" (rect 89 75 107 87)(font "Arial" ))
		(line (pt 128 80)(pt 112 80)(line_width 1))
	)
	(drawing
		(rectangle (rect 16 16 112 112)(line_width 1))
	)
)
(symbol
	(rect 512 16 696 144)
	(text "clkscan" (rect 5 0 42 12)(font "Arial" ))
	(text "inst7" (rect 8 112 31 124)(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 "second[7..0]" (rect 0 0 61 12)(font "Arial" ))
		(text "second[7..0]" (rect 21 59 82 71)(font "Arial" ))
		(line (pt 0 64)(pt 16 64)(line_width 3))
	)
	(port
		(pt 0 80)
		(input)
		(text "minute[7..0]" (rect 0 0 59 12)(font "Arial" ))
		(text "minute[7..0]" (rect 21 75 80 87)(font "Arial" ))
		(line (pt 0 80)(pt 16 80)(line_width 3))
	)
	(port
		(pt 0 96)
		(input)
		(text "hour[7..0]" (rect 0 0 47 12)(font "Arial" ))
		(text "hour[7..0]" (rect 21 91 68 103)(font "Arial" ))
		(line (pt 0 96)(pt 16 96)(line_width 3))
	)
	(port
		(pt 184 32)
		(output)
		(text "scan_en[8..1]" (rect 0 0 67 12)(font "Arial" ))
		(text "scan_en[8..1]" (rect 96 27 163 39)(font "Arial" ))
		(line (pt 184 32)(pt 168 32)(line_width 3))
	)
	(port
		(pt 184 48)
		(output)
		(text "data[3..0]" (rect 0 0 47 12)(font "Arial" ))
		(text "data[3..0]" (rect 116 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))
	)
)
(symbol
	(rect 536 192 688 288)
	(text "p7segment" (rect 5 0 59 12)(font "Arial" ))
	(text "inst8" (rect 8 80 31 92)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "datain[3..0]" (rect 0 0 55 12)(font "Arial" ))
		(text "datain[3..0]" (rect 21 27 76 39)(font "Arial" ))
		(line (pt 0 32)(pt 16 32)(line_width 3))
	)
	(port
		(pt 152 32)
		(output)
		(text "out[7..0]" (rect 0 0 41 12)(font "Arial" ))
		(text "out[7..0]" (rect 90 27 131 39)(font "Arial" ))
		(line (pt 152 32)(pt 136 32)(line_width 3))
	)
	(drawing
		(rectangle (rect 16 16 136 80)(line_width 1))
	)
)
(connector
	(pt 312 208)
	(pt 200 208)
)
(connector
	(pt 200 248)
	(pt 216 248)
)
(connector
	(pt 184 264)
	(pt 216 264)
)
(connector
	(pt 184 360)
	(pt 216 360)
)
(connector
	(pt 200 344)
	(pt 216 344)
)
(connector
	(pt 200 208)
	(pt 200 248)
)
(connector
	(pt 200 248)
	(pt 200 344)
)
(connector
	(pt 328 248)
	(pt 328 96)
)
(connector
	(pt 328 96)
	(pt 352 96)
)
(connector
	(pt 312 344)
	(pt 344 344)
)
(connector
	(pt 344 344)
	(pt 344 112)
)
(connector
	(pt 344 112)
	(pt 352 112)
)
(connector
	(pt 480 80)
	(pt 512 80)
	(bus)
)
(connector
	(pt 480 96)
	(pt 512 96)
	(bus)
)
(connector
	(pt 480 112)
	(pt 512 112)
	(bus)
)
(connector
	(pt 312 248)
	(pt 328 248)
)
(connector
	(pt 328 248)
	(pt 496 248)
)
(connector
	(pt 496 248)
	(pt 496 64)
)
(connector
	(pt 496 64)
	(pt 512 64)
)
(connector
	(pt 328 80)
	(pt 352 80)
)
(connector
	(pt 312 0)
	(pt 312 136)
)
(connector
	(pt 312 136)
	(pt 312 208)
)
(connector
	(pt 312 0)
	(pt 496 0)
)
(connector
	(pt 496 0)
	(pt 496 48)
)
(connector
	(pt 496 48)
	(pt 512 48)
)
(connector
	(pt 512 168)
	(pt 512 224)
	(bus)
)
(connector
	(pt 512 224)
	(pt 536 224)
	(bus)
)
(connector
	(pt 688 224)
	(pt 712 224)
	(bus)
)
(connector
	(pt 712 224)
	(pt 712 312)
	(bus)
)
(connector
	(pt 712 312)
	(pt 512 312)
	(bus)
)
(connector
	(pt 512 312)
	(pt 512 360)
	(bus)
)
(connector
	(pt 512 360)
	(pt 536 360)
	(bus)
)
(connector
	(pt 696 48)
	(pt 728 48)
	(bus)
)
(connector
	(pt 512 168)
	(pt 728 168)
	(bus)
)
(connector
	(pt 696 64)
	(pt 728 64)
	(bus)
)
(connector
	(pt 184 136)
	(pt 312 136)
)
(connector
	(pt 728 88)
	(pt 768 88)
	(bus)
)
(connector
	(pt 728 168)
	(pt 728 88)
	(bus)
)
(connector
	(pt 728 88)
	(pt 728 64)
	(bus)
)
(junction (pt 200 248))
(junction (pt 328 248))
(junction (pt 312 136))
(junction (pt 728 88))

⌨️ 快捷键说明

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