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

📄 tube_control.bdf

📁 是一些很好的FPGA设计实例
💻 BDF
📖 第 1 页 / 共 2 页
字号:
/*
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-2006 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 -248 360 -80 376)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "32768hz" (rect 5 0 45 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 -296 376 -248 392))
)
(pin
	(input)
	(rect -216 64 -48 80)
	(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 -216 120 -48 136)
	(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
	(output)
	(rect 496 104 672 120)
	(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
	(text "B" (rect 90 0 97 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 672 120 720 136))
)
(pin
	(output)
	(rect 496 120 672 136)
	(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
	(text "C" (rect 90 0 98 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 672 136 720 152))
)
(pin
	(output)
	(rect 496 136 672 152)
	(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
	(text "D" (rect 90 0 98 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 672 152 720 168))
)
(pin
	(output)
	(rect 496 152 672 168)
	(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
	(text "E" (rect 90 0 97 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 672 168 720 184))
)
(pin
	(output)
	(rect 496 168 672 184)
	(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
	(text "F" (rect 90 0 97 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 672 184 720 200))
)
(pin
	(output)
	(rect 496 184 672 200)
	(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
	(text "G" (rect 90 0 98 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 672 200 720 216))
)
(pin
	(output)
	(rect 496 88 672 104)
	(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
	(text "A" (rect 90 0 97 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 672 104 720 120))
)
(pin
	(output)
	(rect 168 312 344 328)
	(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
	(text "sel0" (rect 90 0 110 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 344 328 384 344))
)
(pin
	(output)
	(rect 168 328 344 344)
	(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
	(text "sel1" (rect 90 0 110 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 344 344 384 360))
)
(pin
	(output)
	(rect 168 344 344 360)
	(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
	(text "sel2" (rect 90 0 110 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 344 360 384 376))
)
(symbol
	(rect 296 56 408 216)
	(text "74248" (rect 38 0 79 16)(font "Arial" (font_size 10)))
	(text "inst1" (rect 3 149 26 161)(font "Arial" ))
	(port
		(pt 0 24)
		(input)
		(text "A" (rect 20 18 29 32)(font "Arial" (font_size 8)))
		(text "A" (rect 20 18 29 32)(font "Arial" (font_size 8)))
		(line (pt 0 24)(pt 16 24)(line_width 1))
	)
	(port
		(pt 0 40)
		(input)
		(text "B" (rect 22 34 30 48)(font "Arial" (font_size 8)))
		(text "B" (rect 22 34 30 48)(font "Arial" (font_size 8)))
		(line (pt 0 40)(pt 16 40)(line_width 1))
	)
	(port
		(pt 0 88)
		(input)
		(text "RBIN" (rect 22 82 49 96)(font "Arial" (font_size 8)))
		(text "RBIN" (rect 22 82 49 96)(font "Arial" (font_size 8)))
		(line (pt 0 88)(pt 8 88)(line_width 1))
	)
	(port
		(pt 0 72)
		(input)
		(text "D" (rect 22 66 30 80)(font "Arial" (font_size 8)))
		(text "D" (rect 22 66 30 80)(font "Arial" (font_size 8)))
		(line (pt 0 72)(pt 16 72)(line_width 1))
	)
	(port
		(pt 0 56)
		(input)
		(text "C" (rect 22 50 30 64)(font "Arial" (font_size 8)))
		(text "C" (rect 22 50 30 64)(font "Arial" (font_size 8)))
		(line (pt 0 56)(pt 16 56)(line_width 1))
	)
	(port
		(pt 0 120)
		(input)
		(text "LTN" (rect 22 114 44 128)(font "Arial" (font_size 8)))
		(text "LTN" (rect 22 114 44 128)(font "Arial" (font_size 8)))
		(line (pt 0 120)(pt 8 120)(line_width 1))
	)
	(port
		(pt 0 104)
		(input)
		(text "BIN" (rect 22 98 40 112)(font "Arial" (font_size 8)))
		(text "BIN" (rect 22 98 40 112)(font "Arial" (font_size 8)))
		(line (pt 0 104)(pt 8 104)(line_width 1))
	)
	(port
		(pt 112 136)
		(output)
		(text "OG" (rect 73 129 94 144)(font "Arial" (font_size 9)))
		(text "OG" (rect 73 129 94 144)(font "Arial" (font_size 9)))
		(line (pt 96 136)(pt 112 136)(line_width 1))
	)
	(port
		(pt 112 88)
		(output)
		(text "OD" (rect 73 81 94 96)(font "Arial" (font_size 9)))
		(text "OD" (rect 73 81 94 96)(font "Arial" (font_size 9)))
		(line (pt 96 88)(pt 112 88)(line_width 1))
	)
	(port
		(pt 112 104)
		(output)
		(text "OE" (rect 73 97 93 112)(font "Arial" (font_size 9)))
		(text "OE" (rect 73 97 93 112)(font "Arial" (font_size 9)))
		(line (pt 96 104)(pt 112 104)(line_width 1))
	)
	(port
		(pt 112 120)
		(output)
		(text "OF" (rect 73 113 91 128)(font "Arial" (font_size 9)))
		(text "OF" (rect 73 113 91 128)(font "Arial" (font_size 9)))
		(line (pt 96 120)(pt 112 120)(line_width 1))
	)
	(port
		(pt 112 40)
		(output)
		(text "OA" (rect 73 33 91 48)(font "Arial" (font_size 9)))
		(text "OA" (rect 73 33 91 48)(font "Arial" (font_size 9)))
		(line (pt 96 40)(pt 112 40)(line_width 1))
	)
	(port
		(pt 112 56)
		(output)
		(text "OB" (rect 73 49 93 64)(font "Arial" (font_size 9)))
		(text "OB" (rect 73 49 93 64)(font "Arial" (font_size 9)))
		(line (pt 96 56)(pt 112 56)(line_width 1))
	)
	(port
		(pt 112 72)
		(output)
		(text "OC" (rect 73 65 94 80)(font "Arial" (font_size 9)))
		(text "OC" (rect 73 65 94 80)(font "Arial" (font_size 9)))
		(line (pt 96 72)(pt 112 72)(line_width 1))
	)
	(port
		(pt 112 24)
		(output)
		(text "RBON" (rect 57 17 98 32)(font "Arial" (font_size 9)))
		(text "RBON" (rect 57 17 98 32)(font "Arial" (font_size 9)))
		(line (pt 104 24)(pt 112 24)(line_width 1))
	)
	(drawing
		(text "BCD TO 7SEG" (rect 26 145 106 159)(font "Arial" (font_size 8)))
		(line (pt 16 16)(pt 96 16)(line_width 1))
		(line (pt 16 144)(pt 96 144)(line_width 1))
		(line (pt 16 144)(pt 16 16)(line_width 1))
		(line (pt 96 144)(pt 96 16)(line_width 1))
		(circle (rect 8 116 16 124)(line_width 1))
		(circle (rect 8 100 16 108)(line_width 1))
		(circle (rect 96 20 104 28)(line_width 1))
		(circle (rect 8 84 16 92)(line_width 1))
	)
)
(symbol
	(rect 256 232 288 248)
	(text "VCC" (rect 7 6 27 16)(font "Arial" (font_size 6)))
	(text "inst3" (rect 3 -1 26 11)(font "Arial" )(invisible))
	(port
		(pt 16 0)
		(output)
		(text "1" (rect 19 7 24 19)(font "Courier New" (bold))(invisible))
		(text "1" (rect 19 -3 24 9)(font "Courier New" (bold))(invisible))
		(line (pt 16 0)(pt 16 8)(line_width 1))
	)
	(drawing
		(line (pt 8 8)(pt 24 8)(line_width 1))

⌨️ 快捷键说明

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