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

📄 counter_7seg.bdf

📁 带分频器的bcd计数电路设计
💻 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
Any  megafunction  design,  and related netlist (encrypted  or  decrypted),
support information,  device programming or simulation file,  and any other
associated  documentation or information  provided by  Altera  or a partner
under  Altera's   Megafunction   Partnership   Program  may  be  used  only
to program  PLD  devices (but not masked  PLD  devices) from  Altera.   Any
other  use  of such  megafunction  design,  netlist,  support  information,
device programming or simulation file,  or any other  related documentation
or information  is prohibited  for  any  other purpose,  including, but not
limited to  modification,  reverse engineering,  de-compiling, or use  with
any other  silicon devices,  unless such use is  explicitly  licensed under
a separate agreement with  Altera  or a megafunction partner.  Title to the
intellectual property,  including patents,  copyrights,  trademarks,  trade
secrets,  or maskworks,  embodied in any such megafunction design, netlist,
support  information,  device programming or simulation file,  or any other
related documentation or information provided by  Altera  or a megafunction
partner, remains with Altera, the megafunction partner, or their respective
licensors. No other licenses, including any licenses needed under any third
party's intellectual property, are provided herein.
*/
(header "graphic" (version "1.3"))
(pin
	(input)
	(rect 56 264 224 280)
	(text "INPUT" (rect 133 0 161 9)(font "Arial" (font_size 6)))
	(text "clr" (rect 5 0 16 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 -104 144 64 160)
	(text "INPUT" (rect 133 0 161 9)(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
	(output)
	(rect 472 320 648 336)
	(text "OUTPUT" (rect 1 0 34 9)(font "Arial" (font_size 6)))
	(text "cn" (rect 90 0 101 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 744 224 920 240)
	(text "OUTPUT" (rect 1 0 34 9)(font "Arial" (font_size 6)))
	(text "low[6..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 80 904 96)
	(text "OUTPUT" (rect 1 0 34 9)(font "Arial" (font_size 6)))
	(text "high[6..0]" (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))
	)
)
(symbol
	(rect 64 120 184 216)
	(text "f50MHz_to_1Hz" (rect 5 0 82 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 120 32)
		(output)
		(text "clk_1khz" (rect 0 0 42 12)(font "Arial" ))
		(text "clk_1khz" (rect 57 27 99 39)(font "Arial" ))
		(line (pt 120 32)(pt 104 32)(line_width 1))
	)
	(port
		(pt 120 48)
		(output)
		(text "clk_1hz" (rect 0 0 36 12)(font "Arial" ))
		(text "clk_1hz" (rect 63 43 99 55)(font "Arial" ))
		(line (pt 120 48)(pt 104 48)(line_width 1))
	)
	(parameter
		"width"
		"50000"
		""
	)
	(drawing
		(rectangle (rect 16 16 104 80)(line_width 1))
	)
	(annotation_block (parameter)(rect 184 88 288 120))
)
(symbol
	(rect 280 120 392 216)
	(text "bcd_counter" (rect 5 0 65 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 "clr" (rect 0 0 11 12)(font "Arial" ))
		(text "clr" (rect 21 43 32 55)(font "Arial" ))
		(line (pt 0 48)(pt 16 48)(line_width 1))
	)
	(port
		(pt 112 32)
		(output)
		(text "high[3..0]" (rect 0 0 46 12)(font "Arial" ))
		(text "high[3..0]" (rect 45 27 91 39)(font "Arial" ))
		(line (pt 112 32)(pt 96 32)(line_width 3))
	)
	(port
		(pt 112 48)
		(output)
		(text "low[3..0]" (rect 0 0 41 12)(font "Arial" ))
		(text "low[3..0]" (rect 50 43 91 55)(font "Arial" ))
		(line (pt 112 48)(pt 96 48)(line_width 3))
	)
	(port
		(pt 112 64)
		(output)
		(text "cn" (rect 0 0 11 12)(font "Arial" ))
		(text "cn" (rect 80 59 91 71)(font "Arial" ))
		(line (pt 112 64)(pt 96 64)(line_width 1))
	)
	(drawing
		(rectangle (rect 16 16 96 80)(line_width 1))
	)
)
(symbol
	(rect 520 56 688 152)
	(text "decoder_7seg_new" (rect 5 0 98 12)(font "Arial" ))
	(text "inst5" (rect 8 80 31 92)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "data[3..0]" (rect 0 0 47 12)(font "Arial" ))
		(text "data[3..0]" (rect 21 27 68 39)(font "Arial" ))
		(line (pt 0 32)(pt 16 32)(line_width 3))
	)
	(port
		(pt 168 32)
		(output)
		(text "segment[6..0]" (rect 0 0 68 12)(font "Arial" ))
		(text "segment[6..0]" (rect 79 27 147 39)(font "Arial" ))
		(line (pt 168 32)(pt 152 32)(line_width 3))
	)
	(drawing
		(rectangle (rect 16 16 152 80)(line_width 1))
	)
)
(symbol
	(rect 528 200 696 296)
	(text "decoder_7seg_new" (rect 5 0 98 12)(font "Arial" ))
	(text "inst6" (rect 8 80 31 92)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "data[3..0]" (rect 0 0 47 12)(font "Arial" ))
		(text "data[3..0]" (rect 21 27 68 39)(font "Arial" ))
		(line (pt 0 32)(pt 16 32)(line_width 3))
	)
	(port
		(pt 168 32)
		(output)
		(text "segment[6..0]" (rect 0 0 68 12)(font "Arial" ))
		(text "segment[6..0]" (rect 79 27 147 39)(font "Arial" ))
		(line (pt 168 32)(pt 152 32)(line_width 3))
	)
	(drawing
		(rectangle (rect 16 16 152 80)(line_width 1))
	)
)
(connector
	(pt 392 168)
	(pt 496 168)
	(bus)
)
(connector
	(pt 496 232)
	(pt 528 232)
	(bus)
)
(connector
	(pt 496 168)
	(pt 496 232)
	(bus)
)
(connector
	(pt 392 152)
	(pt 496 152)
	(bus)
)
(connector
	(pt 496 88)
	(pt 520 88)
	(bus)
)
(connector
	(pt 496 88)
	(pt 496 152)
	(bus)
)
(connector
	(pt 392 184)
	(pt 472 184)
)
(connector
	(pt 472 184)
	(pt 472 328)
)
(connector
	(pt 184 168)
	(pt 232 168)
)
(connector
	(pt 232 168)
	(pt 232 152)
)
(connector
	(pt 232 152)
	(pt 280 152)
)
(connector
	(pt 224 272)
	(pt 264 272)
)
(connector
	(pt 264 272)
	(pt 264 168)
)
(connector
	(pt 264 168)
	(pt 280 168)
)
(connector
	(pt 696 232)
	(pt 744 232)
	(bus)
)
(connector
	(pt 688 88)
	(pt 728 88)
	(bus)
)

⌨️ 快捷键说明

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