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

📄 mb.bdf

📁 用Verilog HDL编写的秒表设计
💻 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-2009 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 -32 -8 136 8)
	(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)))
)
(pin
	(input)
	(rect -16 304 152 320)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "ena" (rect 5 0 22 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 -24 200 144 216)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "rst" (rect 5 0 17 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 648 -16 824 0)
	(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))
	)
)
(pin
	(output)
	(rect 648 24 824 40)
	(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
	(text "com_clk[1..0]" (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 648 56 824 72)
	(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
	(text "data_out[6..0]" (rect 90 0 158 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 184 48 328 112)
	(text "lpm_counter0" (rect 33 1 125 17)(font "Arial" (font_size 10)))
	(text "fenpin_256_dtsmg" (rect 8 48 98 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[7..0]" (rect 0 0 35 14)(font "Arial" (font_size 8)))
		(text "q[7..0]" (rect 95 34 130 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))
	)
)
(symbol
	(rect 640 160 824 256)
	(text "bin_27_seg" (rect 5 0 60 12)(font "Arial" ))
	(text "inst" (rect 8 80 25 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 400 160 584 256)
	(text "dtsmg" (rect 5 0 35 12)(font "Arial" ))
	(text "inst1" (rect 8 80 31 92)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "main_clk" (rect 0 0 43 12)(font "Arial" ))
		(text "main_clk" (rect 21 27 64 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 184 32)
		(output)
		(text "bcd_led[3..0]" (rect 0 0 63 12)(font "Arial" ))
		(text "bcd_led[3..0]" (rect 100 27 163 39)(font "Arial" ))
		(line (pt 184 32)(pt 168 32)(line_width 3))
	)
	(port
		(pt 184 48)
		(output)
		(text "ledcom[3..0]" (rect 0 0 61 12)(font "Arial" ))
		(text "ledcom[3..0]" (rect 102 43 163 55)(font "Arial" ))
		(line (pt 184 48)(pt 168 48)(line_width 3))
	)
	(port
		(pt 184 64)
		(output)
		(text "com_clk[1..0]" (rect 0 0 67 12)(font "Arial" ))
		(text "com_clk[1..0]" (rect 96 59 163 71)(font "Arial" ))
		(line (pt 184 64)(pt 168 64)(line_width 3))
	)
	(drawing
		(rectangle (rect 16 16 168 80)(line_width 1))
	)
)
(symbol
	(rect 400 264 552 360)
	(text "js" (rect 5 0 13 12)(font "Arial" ))
	(text "inst2" (rect 8 80 31 92)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "js_clk" (rect 0 0 28 12)(font "Arial" ))
		(text "js_clk" (rect 21 27 49 39)(font "Arial" ))
		(line (pt 0 32)(pt 16 32)(line_width 1))
	)
	(port
		(pt 0 48)
		(input)
		(text "ena" (rect 0 0 17 12)(font "Arial" ))
		(text "ena" (rect 21 43 38 55)(font "Arial" ))
		(line (pt 0 48)(pt 16 48)(line_width 1))
	)
	(port
		(pt 0 64)
		(input)
		(text "rst" (rect 0 0 12 12)(font "Arial" ))
		(text "rst" (rect 21 59 33 71)(font "Arial" ))
		(line (pt 0 64)(pt 16 64)(line_width 1))
	)
	(port
		(pt 152 32)
		(output)
		(text "dataout[15..0]" (rect 0 0 68 12)(font "Arial" ))
		(text "dataout[15..0]" (rect 63 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))
	)
)
(symbol
	(rect 192 -32 336 32)
	(text "lpm_counter0" (rect 33 1 125 17)(font "Arial" (font_size 10)))
	(text "fenpin" (rect 8 48 38 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[18..0]" (rect 0 0 42 14)(font "Arial" (font_size 8)))
		(text "q[18..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))
	)
)
(symbol
	(rect 408 -56 528 40)
	(text "fenpin_100Hz" (rect 5 0 72 12)(font "Arial" ))
	(text "inst7" (rect 8 80 31 92)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "cin[18..0]" (rect 0 0 46 12)(font "Arial" ))
		(text "cin[18..0]" (rect 21 27 67 39)(font "Arial" ))
		(line (pt 0 32)(pt 16 32)(line_width 3))
	)
	(port
		(pt 120 32)
		(output)
		(text "qout" (rect 0 0 21 12)(font "Arial" ))
		(text "qout" (rect 78 27 99 39)(font "Arial" ))
		(line (pt 120 32)(pt 104 32)(line_width 1))
	)
	(drawing
		(rectangle (rect 16 16 104 80)(line_width 1))
	)
)
(symbol
	(rect 400 56 512 152)
	(text "fenpin_256" (rect 5 0 59 12)(font "Arial" ))
	(text "inst8" (rect 8 80 31 92)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "cin[7..0]" (rect 0 0 40 12)(font "Arial" ))
		(text "cin[7..0]" (rect 21 27 61 39)(font "Arial" ))
		(line (pt 0 32)(pt 16 32)(line_width 3))
	)
	(port
		(pt 112 32)
		(output)
		(text "qout" (rect 0 0 21 12)(font "Arial" ))
		(text "qout" (rect 70 27 91 39)(font "Arial" ))
		(line (pt 112 32)(pt 96 32)(line_width 1))
	)
	(drawing
		(rectangle (rect 16 16 96 80)(line_width 1))
	)
)
(connector
	(text "rst" (rect 378 312 390 324)(font "Arial" ))
	(pt 360 328)
	(pt 400 328)
)
(connector
	(text "ena" (rect 162 296 179 308)(font "Arial" ))
	(pt 152 312)
	(pt 400 312)
)
(connector
	(text "data[15..0]" (rect 562 280 615 292)(font "Arial" ))
	(pt 552 296)
	(pt 600 296)
	(bus)
)
(connector
	(text "com_clk[1..0]" (rect 600 16 667 28)(font "Arial" ))
	(pt 648 32)
	(pt 600 32)
	(bus)
)
(connector
	(text "data_out[6..0]" (rect 600 48 668 60)(font "Arial" ))
	(pt 648 64)
	(pt 600 64)
	(bus)
)
(connector
	(text "ledcom[3..0]" (rect 600 -24 661 -12)(font "Arial" ))
	(pt 600 -8)
	(pt 648 -8)
	(bus)
)
(connector
	(text "js_clk" (rect 338 280 366 292)(font "Arial" ))
	(pt 400 296)
	(pt 328 296)
)
(connector
	(text "rst" (rect 170 192 182 204)(font "Arial" ))
	(pt 144 208)
	(pt 400 208)
)
(connector
	(pt 584 192)
	(pt 640 192)
	(bus)
)
(connector
	(text "ledcom[3..0]" (rect 584 192 645 204)(font "Arial" ))
	(pt 584 208)
	(pt 616 208)
	(bus)
)
(connector
	(text "com_clk[1..0]" (rect 584 208 651 220)(font "Arial" ))
	(pt 584 224)
	(pt 608 224)
	(bus)
)
(connector
	(text "data_out[6..0]" (rect 824 176 892 188)(font "Arial" ))
	(pt 824 192)
	(pt 856 192)
	(bus)
)
(connector
	(text "data[15..0]" (rect 354 208 407 220)(font "Arial" ))
	(pt 400 224)
	(pt 344 224)
	(bus)
)
(connector
	(pt 360 8)
	(pt 360 -24)
	(bus)
)
(connector
	(pt 336 8)
	(pt 360 8)
	(bus)
)
(connector
	(pt 408 -24)
	(pt 360 -24)
	(bus)
)
(connector
	(pt 168 80)
	(pt 184 80)
)
(connector
	(pt 168 0)
	(pt 168 80)
)
(connector
	(pt 136 0)
	(pt 168 0)
)
(connector
	(pt 168 0)
	(pt 192 0)
)
(connector
	(text "q[7..0]" (rect 338 72 369 84)(font "Arial" ))
	(pt 400 88)
	(pt 328 88)
	(bus)
)
(connector
	(text "main_clk" (rect 522 72 565 84)(font "Arial" ))
	(pt 512 88)
	(pt 560 88)
)
(connector
	(text "main_clk" (rect 354 176 397 188)(font "Arial" ))
	(pt 344 192)
	(pt 400 192)
)
(connector
	(text "js_clk" (rect 538 -40 566 -28)(font "Arial" ))
	(pt 576 -24)
	(pt 528 -24)
)
(junction (pt 168 0))

⌨️ 快捷键说明

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