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

📄 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 -56 56 112 72)
	(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 568 -112 744 -96)
	(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
	(text "en" (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 632 -40 808 -24)
	(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
	(text "lock" (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))
	)
)
(pin
	(output)
	(rect 624 88 800 104)
	(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
	(text "clr" (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))
	)
)
(symbol
	(rect 168 -8 288 104)
	(text "7493" (rect 45 1 78 17)(font "Arial" (font_size 10)))
	(text "inst" (rect 3 101 20 113)(font "Arial" ))
	(port
		(pt 0 24)
		(input)
		(text "RO1" (rect 20 18 44 32)(font "Arial" (font_size 8)))
		(text "RO1" (rect 20 18 44 32)(font "Arial" (font_size 8)))
		(line (pt 0 24)(pt 16 24)(line_width 1))
	)
	(port
		(pt 0 40)
		(input)
		(text "RO2" (rect 20 34 44 48)(font "Arial" (font_size 8)))
		(text "RO2" (rect 20 34 44 48)(font "Arial" (font_size 8)))
		(line (pt 0 40)(pt 16 40)(line_width 1))
	)
	(port
		(pt 0 72)
		(input)
		(text "CLKA" (rect 20 66 53 80)(font "Arial" (font_size 8)))
		(text "CLKA" (rect 20 66 53 80)(font "Arial" (font_size 8)))
		(line (pt 0 72)(pt 16 72)(line_width 1))
	)
	(port
		(pt 0 88)
		(input)
		(text "CLKB" (rect 20 82 51 96)(font "Arial" (font_size 8)))
		(text "CLKB" (rect 20 82 51 96)(font "Arial" (font_size 8)))
		(line (pt 0 88)(pt 16 88)(line_width 1))
	)
	(port
		(pt 120 56)
		(output)
		(text "QC" (rect 86 50 103 64)(font "Arial" (font_size 8)))
		(text "QC" (rect 86 50 103 64)(font "Arial" (font_size 8)))
		(line (pt 104 56)(pt 120 56)(line_width 1))
	)
	(port
		(pt 120 40)
		(output)
		(text "QB" (rect 86 34 103 48)(font "Arial" (font_size 8)))
		(text "QB" (rect 86 34 103 48)(font "Arial" (font_size 8)))
		(line (pt 104 40)(pt 120 40)(line_width 1))
	)
	(port
		(pt 120 24)
		(output)
		(text "QA" (rect 86 18 104 32)(font "Arial" (font_size 8)))
		(text "QA" (rect 86 18 104 32)(font "Arial" (font_size 8)))
		(line (pt 104 24)(pt 120 24)(line_width 1))
	)
	(port
		(pt 120 72)
		(output)
		(text "QD" (rect 86 66 103 80)(font "Arial" (font_size 8)))
		(text "QD" (rect 86 66 103 80)(font "Arial" (font_size 8)))
		(line (pt 104 72)(pt 120 72)(line_width 1))
	)
	(drawing
		(text "COUNTER" (rect 34 98 90 112)(font "Arial" (font_size 8)))
		(line (pt 16 96)(pt 104 96)(line_width 1))
		(line (pt 16 16)(pt 104 16)(line_width 1))
		(line (pt 104 96)(pt 104 16)(line_width 1))
		(line (pt 16 96)(pt 16 16)(line_width 1))
	)
)
(symbol
	(rect 320 -88 440 200)
	(text "74154" (rect 42 0 83 16)(font "Arial" (font_size 10)))
	(text "inst1" (rect 3 277 26 289)(font "Arial" ))
	(port
		(pt 0 136)
		(input)
		(text "C" (rect 22 129 30 143)(font "Arial" (font_size 8)))
		(text "C" (rect 22 129 30 143)(font "Arial" (font_size 8)))
		(line (pt 0 136)(pt 16 136)(line_width 1))
	)
	(port
		(pt 0 152)
		(input)
		(text "D" (rect 22 145 30 159)(font "Arial" (font_size 8)))
		(text "D" (rect 22 145 30 159)(font "Arial" (font_size 8)))
		(line (pt 0 152)(pt 16 152)(line_width 1))
	)
	(port
		(pt 0 120)
		(input)
		(text "B" (rect 22 113 30 127)(font "Arial" (font_size 8)))
		(text "B" (rect 22 113 30 127)(font "Arial" (font_size 8)))
		(line (pt 0 120)(pt 16 120)(line_width 1))
	)
	(port
		(pt 0 104)
		(input)
		(text "A" (rect 22 97 31 111)(font "Arial" (font_size 8)))
		(text "A" (rect 22 97 31 111)(font "Arial" (font_size 8)))
		(line (pt 0 104)(pt 16 104)(line_width 1))
	)
	(port
		(pt 0 168)
		(input)
		(text "G1N" (rect 22 161 46 175)(font "Arial" (font_size 8)))
		(text "G1N" (rect 22 161 46 175)(font "Arial" (font_size 8)))
		(line (pt 0 168)(pt 8 168)(line_width 1))
	)
	(port
		(pt 0 184)
		(input)
		(text "G2N" (rect 22 177 46 191)(font "Arial" (font_size 8)))
		(text "G2N" (rect 22 177 46 191)(font "Arial" (font_size 8)))
		(line (pt 0 184)(pt 8 184)(line_width 1))
	)
	(port
		(pt 120 24)
		(output)
		(text "O0N" (rect 77 15 101 29)(font "Arial" (font_size 8)))
		(text "O0N" (rect 77 15 101 29)(font "Arial" (font_size 8)))
		(line (pt 112 24)(pt 120 24)(line_width 1))
	)
	(port
		(pt 120 216)
		(output)
		(text "O12N" (rect 70 207 101 221)(font "Arial" (font_size 8)))
		(text "O12N" (rect 70 207 101 221)(font "Arial" (font_size 8)))
		(line (pt 112 216)(pt 120 216)(line_width 1))
	)
	(port
		(pt 120 264)
		(output)
		(text "O15N" (rect 70 255 101 269)(font "Arial" (font_size 8)))
		(text "O15N" (rect 70 255 101 269)(font "Arial" (font_size 8)))
		(line (pt 112 264)(pt 120 264)(line_width 1))
	)
	(port
		(pt 120 184)
		(output)
		(text "O10N" (rect 70 175 101 189)(font "Arial" (font_size 8)))
		(text "O10N" (rect 70 175 101 189)(font "Arial" (font_size 8)))
		(line (pt 112 184)(pt 120 184)(line_width 1))
	)
	(port
		(pt 120 200)
		(output)
		(text "O11N" (rect 70 191 101 205)(font "Arial" (font_size 8)))
		(text "O11N" (rect 70 191 101 205)(font "Arial" (font_size 8)))
		(line (pt 112 200)(pt 120 200)(line_width 1))
	)
	(port
		(pt 120 40)
		(output)
		(text "O1N" (rect 75 31 99 45)(font "Arial" (font_size 8)))
		(text "O1N" (rect 75 31 99 45)(font "Arial" (font_size 8)))
		(line (pt 112 40)(pt 120 40)(line_width 1))
	)
	(port
		(pt 120 232)
		(output)
		(text "O13N" (rect 70 223 101 237)(font "Arial" (font_size 8)))
		(text "O13N" (rect 70 223 101 237)(font "Arial" (font_size 8)))
		(line (pt 112 232)(pt 120 232)(line_width 1))
	)
	(port
		(pt 120 248)
		(output)
		(text "O14N" (rect 70 239 101 253)(font "Arial" (font_size 8)))
		(text "O14N" (rect 70 239 101 253)(font "Arial" (font_size 8)))
		(line (pt 112 248)(pt 120 248)(line_width 1))
	)
	(port
		(pt 120 88)
		(output)
		(text "O4N" (rect 75 79 99 93)(font "Arial" (font_size 8)))
		(text "O4N" (rect 75 79 99 93)(font "Arial" (font_size 8)))
		(line (pt 112 88)(pt 120 88)(line_width 1))
	)
	(port
		(pt 120 72)
		(output)
		(text "O3N" (rect 75 63 99 77)(font "Arial" (font_size 8)))
		(text "O3N" (rect 75 63 99 77)(font "Arial" (font_size 8)))
		(line (pt 112 72)(pt 120 72)(line_width 1))
	)
	(port
		(pt 120 56)
		(output)
		(text "O2N" (rect 75 47 99 61)(font "Arial" (font_size 8)))
		(text "O2N" (rect 75 47 99 61)(font "Arial" (font_size 8)))
		(line (pt 112 56)(pt 120 56)(line_width 1))
	)
	(port
		(pt 120 136)
		(output)
		(text "O7N" (rect 75 127 99 141)(font "Arial" (font_size 8)))
		(text "O7N" (rect 75 127 99 141)(font "Arial" (font_size 8)))
		(line (pt 112 136)(pt 120 136)(line_width 1))
	)
	(port
		(pt 120 120)
		(output)
		(text "O6N" (rect 75 111 99 125)(font "Arial" (font_size 8)))
		(text "O6N" (rect 75 111 99 125)(font "Arial" (font_size 8)))
		(line (pt 112 120)(pt 120 120)(line_width 1))
	)
	(port
		(pt 120 104)
		(output)
		(text "O5N" (rect 75 95 99 109)(font "Arial" (font_size 8)))
		(text "O5N" (rect 75 95 99 109)(font "Arial" (font_size 8)))
		(line (pt 112 104)(pt 120 104)(line_width 1))
	)
	(port
		(pt 120 168)
		(output)
		(text "O9N" (rect 75 159 99 173)(font "Arial" (font_size 8)))
		(text "O9N" (rect 75 159 99 173)(font "Arial" (font_size 8)))
		(line (pt 112 168)(pt 120 168)(line_width 1))
	)
	(port
		(pt 120 152)
		(output)
		(text "O8N" (rect 75 143 99 157)(font "Arial" (font_size 8)))
		(text "O8N" (rect 75 143 99 157)(font "Arial" (font_size 8)))
		(line (pt 112 152)(pt 120 152)(line_width 1))
	)
	(drawing
		(text "DECODER" (rect 39 273 95 287)(font "Arial" (font_size 8)))
		(line (pt 16 16)(pt 104 16)(line_width 1))
		(line (pt 16 272)(pt 104 272)(line_width 1))
		(line (pt 16 272)(pt 16 16)(line_width 1))
		(line (pt 104 272)(pt 104 16)(line_width 1))
		(circle (rect 104 20 112 28)(line_width 1))
		(circle (rect 8 164 16 172)(line_width 1))
		(circle (rect 104 36 112 44)(line_width 1))
		(circle (rect 104 52 112 60)(line_width 1))
		(circle (rect 104 68 112 76)(line_width 1))
		(circle (rect 104 84 112 92)(line_width 1))
		(circle (rect 104 100 112 108)(line_width 1))
		(circle (rect 104 116 112 124)(line_width 1))
		(circle (rect 104 132 112 140)(line_width 1))
		(circle (rect 104 148 112 156)(line_width 1))
		(circle (rect 104 164 112 172)(line_width 1))
		(circle (rect 104 180 112 188)(line_width 1))
		(circle (rect 104 196 112 204)(line_width 1))
		(circle (rect 104 212 112 220)(line_width 1))
		(circle (rect 104 228 112 236)(line_width 1))
		(circle (rect 104 244 112 252)(line_width 1))
		(circle (rect 104 260 112 268)(line_width 1))
		(circle (rect 8 180 16 188)(line_width 1))
	)
)
(symbol
	(rect 112 152 144 184)
	(text "GND" (rect 8 16 29 26)(font "Arial" (font_size 6)))
	(text "inst2" (rect 3 21 26 33)(font "Arial" )(invisible))
	(port
		(pt 16 0)
		(output)
		(text "1" (rect 18 0 23 12)(font "Courier New" (bold))(invisible))
		(text "1" (rect 18 0 23 12)(font "Courier New" (bold))(invisible))
		(line (pt 16 8)(pt 16 0)(line_width 1))
	)
	(drawing
		(line (pt 8 8)(pt 16 16)(line_width 1))
		(line (pt 16 16)(pt 24 8)(line_width 1))
		(line (pt 8 8)(pt 24 8)(line_width 1))
	)
)
(symbol
	(rect 520 -120 568 -88)
	(text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6)))
	(text "inst3" (rect 3 21 26 33)(font "Arial" ))
	(port
		(pt 0 16)
		(input)
		(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
		(text "IN" (rect 2 7 13 19)(font "Courier New" (bold))(invisible))
		(line (pt 0 16)(pt 13 16)(line_width 1))
	)
	(port
		(pt 48 16)
		(output)
		(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible))
		(text "OUT" (rect 32 7 49 19)(font "Courier New" (bold))(invisible))
		(line (pt 39 16)(pt 48 16)(line_width 1))
	)
	(drawing
		(line (pt 13 25)(pt 13 7)(line_width 1))

⌨️ 快捷键说明

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