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

📄 flowingled.bdf

📁 VHDL基础的编程源代码
💻 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-2004 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 40 128 208 144)
	(text "INPUT" (rect 133 0 161 9)(font "Arial" (font_size 6)))
	(text "clock_24M" (rect 5 0 56 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 -48 96 40 128))
)
(pin
	(input)
	(rect 40 144 208 160)
	(text "INPUT" (rect 133 0 161 9)(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 -48 160 40 192))
)
(pin
	(output)
	(rect 744 304 920 320)
	(text "OUTPUT" (rect 1 0 34 9)(font "Arial" (font_size 6)))
	(text "led_bits[7..0]" (rect 90 0 153 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 832 320 920 448))
)
(symbol
	(rect 552 280 720 376)
	(text "leddrv" (rect 5 0 35 12)(font "Arial" ))
	(text "inst4" (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 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 168 32)
		(output)
		(text "led_bits[7..0]" (rect 0 0 63 12)(font "Arial" ))
		(text "led_bits[7..0]" (rect 84 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 232 280 376 376)
	(text "counter" (rect 5 0 41 12)(font "Arial" ))
	(text "inst6" (rect 8 80 31 92)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "clock" (rect 0 0 25 12)(font "Arial" ))
		(text "clock" (rect 21 27 46 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 144 32)
		(bidir)
		(text "counter[3..0]" (rect 0 0 62 12)(font "Arial" ))
		(text "counter[3..0]" (rect 61 27 123 39)(font "Arial" ))
		(line (pt 144 32)(pt 128 32)(line_width 3))
	)
	(port
		(pt 144 48)
		(bidir)
		(text "carrier" (rect 0 0 30 12)(font "Arial" ))
		(text "carrier" (rect 93 43 123 55)(font "Arial" ))
		(line (pt 144 48)(pt 128 48)(line_width 1))
	)
	(parameter
		"divisor"
		"10"
		""
	)
	(parameter
		"inner_counter_width"
		"4"
		""
	)
	(parameter
		"unit"
		"\"1111\""
		""
	)
	(drawing
		(rectangle (rect 16 16 128 80)(line_width 1))
	)
	(annotation_block (parameter)(rect 376 224 520 280))
)
(symbol
	(rect 232 104 376 200)
	(text "counter" (rect 5 0 41 12)(font "Arial" ))
	(text "inst" (rect 8 80 25 92)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "clock" (rect 0 0 25 12)(font "Arial" ))
		(text "clock" (rect 21 27 46 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 144 32)
		(bidir)
		(text "counter[3..0]" (rect 0 0 62 12)(font "Arial" ))
		(text "counter[3..0]" (rect 61 27 123 39)(font "Arial" ))
		(line (pt 144 32)(pt 128 32)(line_width 3))
	)
	(port
		(pt 144 48)
		(bidir)
		(text "carrier" (rect 0 0 30 12)(font "Arial" ))
		(text "carrier" (rect 93 43 123 55)(font "Arial" ))
		(line (pt 144 48)(pt 128 48)(line_width 1))
	)
	(parameter
		"divisor"
		"24000000"
		""
	)
	(parameter
		"inner_counter_width"
		"32"
		""
	)
	(parameter
		"unit"
		"\"1111\""
		""
	)
	(drawing
		(rectangle (rect 16 16 128 80)(line_width 1))
	)
	(annotation_block (parameter)(rect 376 48 536 104))
)
(connector
	(pt 232 136)
	(pt 208 136)
)
(connector
	(pt 376 152)
	(pt 392 152)
)
(connector
	(pt 224 312)
	(pt 232 312)
)
(connector
	(pt 208 152)
	(pt 216 152)
)
(connector
	(pt 216 152)
	(pt 232 152)
)
(connector
	(pt 216 328)
	(pt 232 328)
)
(connector
	(pt 392 208)
	(pt 224 208)
)
(connector
	(pt 392 152)
	(pt 392 208)
)
(connector
	(pt 224 208)
	(pt 224 312)
)
(connector
	(pt 216 400)
	(pt 544 400)
)
(connector
	(pt 216 152)
	(pt 216 328)
)
(connector
	(pt 216 328)
	(pt 216 400)
)
(connector
	(pt 544 400)
	(pt 544 328)
)
(connector
	(pt 544 328)
	(pt 552 328)
)
(connector
	(pt 720 312)
	(pt 744 312)
	(bus)
)
(connector
	(pt 376 312)
	(pt 552 312)
	(bus)
)
(junction (pt 216 152))
(junction (pt 216 328))

⌨️ 快捷键说明

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