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

📄 control1.bdf

📁 是一些很好的FPGA设计实例
💻 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-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 -208 328 -40 344)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "CLK" (rect 5 0 26 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 -72 56 96 72)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "dout[3..0]" (rect 5 0 52 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 -56 88 112 104)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "en" (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
	(output)
	(rect 488 136 664 152)
	(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
	(text "DATA[23..0]" (rect 90 0 150 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 88 184 208 360)
	(text "74175" (rect 40 1 81 17)(font "Arial" (font_size 10)))
	(text "inst1" (rect 3 165 26 177)(font "Arial" ))
	(port
		(pt 0 136)
		(input)
		(text "CLRN" (rect 21 130 52 144)(font "Arial" (font_size 8)))
		(text "CLRN" (rect 21 130 52 144)(font "Arial" (font_size 8)))
		(line (pt 0 136)(pt 8 136)(line_width 1))
	)
	(port
		(pt 0 152)
		(input)
		(text "CLK" (rect 21 146 44 160)(font "Arial" (font_size 8)))
		(text "CLK" (rect 21 146 44 160)(font "Arial" (font_size 8)))
		(line (pt 0 152)(pt 16 152)(line_width 1))
	)
	(port
		(pt 0 56)
		(input)
		(text "3D" (rect 20 52 35 66)(font "Arial" (font_size 8)))
		(text "3D" (rect 20 52 35 66)(font "Arial" (font_size 8)))
		(line (pt 0 56)(pt 16 56)(line_width 1))
	)
	(port
		(pt 0 40)
		(input)
		(text "2D" (rect 20 36 35 50)(font "Arial" (font_size 8)))
		(text "2D" (rect 20 36 35 50)(font "Arial" (font_size 8)))
		(line (pt 0 40)(pt 16 40)(line_width 1))
	)
	(port
		(pt 0 24)
		(input)
		(text "1D" (rect 20 20 35 34)(font "Arial" (font_size 8)))
		(text "1D" (rect 20 20 35 34)(font "Arial" (font_size 8)))
		(line (pt 0 24)(pt 16 24)(line_width 1))
	)
	(port
		(pt 0 72)
		(input)
		(text "4D" (rect 20 68 35 82)(font "Arial" (font_size 8)))
		(text "4D" (rect 20 68 35 82)(font "Arial" (font_size 8)))
		(line (pt 0 72)(pt 16 72)(line_width 1))
	)
	(port
		(pt 120 40)
		(output)
		(text "1QN" (rect 77 35 101 49)(font "Arial" (font_size 8)))
		(text "1QN" (rect 77 35 101 49)(font "Arial" (font_size 8)))
		(line (pt 112 40)(pt 120 40)(line_width 1))
	)
	(port
		(pt 120 24)
		(output)
		(text "1Q" (rect 85 19 101 33)(font "Arial" (font_size 8)))
		(text "1Q" (rect 85 19 101 33)(font "Arial" (font_size 8)))
		(line (pt 104 24)(pt 120 24)(line_width 1))
	)
	(port
		(pt 120 72)
		(output)
		(text "2QN" (rect 77 67 101 81)(font "Arial" (font_size 8)))
		(text "2QN" (rect 77 67 101 81)(font "Arial" (font_size 8)))
		(line (pt 112 72)(pt 120 72)(line_width 1))
	)
	(port
		(pt 120 88)
		(output)
		(text "3Q" (rect 85 83 101 97)(font "Arial" (font_size 8)))
		(text "3Q" (rect 85 83 101 97)(font "Arial" (font_size 8)))
		(line (pt 104 88)(pt 120 88)(line_width 1))
	)
	(port
		(pt 120 56)
		(output)
		(text "2Q" (rect 85 51 101 65)(font "Arial" (font_size 8)))
		(text "2Q" (rect 85 51 101 65)(font "Arial" (font_size 8)))
		(line (pt 104 56)(pt 120 56)(line_width 1))
	)
	(port
		(pt 120 136)
		(output)
		(text "4QN" (rect 77 131 101 145)(font "Arial" (font_size 8)))
		(text "4QN" (rect 77 131 101 145)(font "Arial" (font_size 8)))
		(line (pt 112 136)(pt 120 136)(line_width 1))
	)
	(port
		(pt 120 120)
		(output)
		(text "4Q" (rect 85 115 101 129)(font "Arial" (font_size 8)))
		(text "4Q" (rect 85 115 101 129)(font "Arial" (font_size 8)))
		(line (pt 104 120)(pt 120 120)(line_width 1))
	)
	(port
		(pt 120 104)
		(output)
		(text "3QN" (rect 77 99 101 113)(font "Arial" (font_size 8)))
		(text "3QN" (rect 77 99 101 113)(font "Arial" (font_size 8)))
		(line (pt 112 104)(pt 120 104)(line_width 1))
	)
	(drawing
		(text "REGISTER" (rect 33 163 90 177)(font "Arial" (font_size 8)))
		(line (pt 16 160)(pt 104 160)(line_width 1))
		(line (pt 16 16)(pt 104 16)(line_width 1))
		(line (pt 16 160)(pt 16 16)(line_width 1))
		(line (pt 104 160)(pt 104 16)(line_width 1))
		(circle (rect 104 36 112 44)(line_width 1))
		(circle (rect 104 68 112 76)(line_width 1))
		(circle (rect 104 100 112 108)(line_width 1))
		(circle (rect 104 132 112 140)(line_width 1))
		(circle (rect 8 132 16 140)(line_width 1))
	)
)
(symbol
	(rect 152 72 216 152)
	(text "DFF" (rect 1 0 19 10)(font "Arial" (font_size 6)))
	(text "inst2" (rect 3 68 26 80)(font "Arial" ))
	(port
		(pt 32 80)
		(input)
		(text "CLRN" (rect 21 59 44 71)(font "Courier New" (bold)))
		(text "CLRN" (rect 21 58 44 70)(font "Courier New" (bold)))
		(line (pt 32 80)(pt 32 76)(line_width 1))
	)
	(port
		(pt 0 40)
		(input)
		(text "CLK" (rect 3 29 20 41)(font "Courier New" (bold))(invisible))
		(text "CLK" (rect 3 29 20 41)(font "Courier New" (bold))(invisible))
		(line (pt 0 40)(pt 12 40)(line_width 1))
	)
	(port
		(pt 0 24)
		(input)
		(text "D" (rect 14 20 19 32)(font "Courier New" (bold)))
		(text "D" (rect 14 20 19 32)(font "Courier New" (bold)))
		(line (pt 0 24)(pt 12 24)(line_width 1))
	)
	(port
		(pt 32 0)
		(input)
		(text "PRN" (rect 24 13 41 25)(font "Courier New" (bold)))
		(text "PRN" (rect 24 11 41 23)(font "Courier New" (bold)))
		(line (pt 32 4)(pt 32 0)(line_width 1))
	)
	(port
		(pt 64 24)
		(output)
		(text "Q" (rect 45 20 50 32)(font "Courier New" (bold)))
		(text "Q" (rect 45 20 50 32)(font "Courier New" (bold)))
		(line (pt 52 24)(pt 64 24)(line_width 1))
	)
	(drawing
		(line (pt 12 12)(pt 52 12)(line_width 1))
		(line (pt 12 68)(pt 52 68)(line_width 1))
		(line (pt 52 68)(pt 52 12)(line_width 1))
		(line (pt 12 68)(pt 12 12)(line_width 1))
		(line (pt 19 40)(pt 12 47)(line_width 1))
		(line (pt 12 32)(pt 20 40)(line_width 1))
		(circle (rect 28 4 36 12)(line_width 1))
		(circle (rect 28 68 36 76)(line_width 1))
	)
)
(symbol
	(rect 312 112 464 208)
	(text "control" (rect 5 0 38 12)(font "Arial" ))
	(text "inst" (rect 8 80 25 92)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "en" (rect 0 0 11 12)(font "Arial" ))
		(text "en" (rect 21 27 32 39)(font "Arial" ))
		(line (pt 0 32)(pt 16 32)(line_width 1))
	)
	(port
		(pt 0 48)
		(input)
		(text "D[3..0]" (rect 0 0 34 12)(font "Arial" ))
		(text "D[3..0]" (rect 21 43 55 55)(font "Arial" ))
		(line (pt 0 48)(pt 16 48)(line_width 3))
	)
	(port
		(pt 152 32)
		(output)
		(text "DATA[23..0]" (rect 0 0 60 12)(font "Arial" ))
		(text "DATA[23..0]" (rect 71 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))
	)
)
(connector
	(pt 464 144)
	(pt 488 144)
	(bus)
)
(connector
	(text "D[3..0]" (rect 272 144 306 156)(font "Arial" ))
	(pt 280 160)
	(pt 312 160)
	(bus)
)
(connector
	(text "dout[3..0]" (rect 96 48 143 60)(font "Arial" ))
	(pt 96 64)
	(pt 128 64)
	(bus)
)
(connector
	(pt 296 96)
	(pt 296 144)
)
(connector
	(pt 296 144)
	(pt 312 144)
)
(connector
	(pt 216 96)
	(pt 296 96)
)
(connector
	(text "D[0]" (rect 218 192 239 204)(font "Arial" ))
	(pt 208 208)
	(pt 232 208)
)
(connector
	(text "D[1]" (rect 218 224 239 236)(font "Arial" ))
	(pt 208 240)
	(pt 232 240)
)
(connector
	(text "D[2]" (rect 218 256 239 268)(font "Arial" ))
	(pt 208 272)
	(pt 232 272)
)
(connector
	(text "D[3]" (rect 218 288 239 300)(font "Arial" ))
	(pt 208 304)
	(pt 232 304)
)
(connector
	(text "dout[3]" (rect 50 240 84 252)(font "Arial" ))
	(pt 88 256)
	(pt 16 256)
)
(connector
	(text "dout[2]" (rect 50 224 84 236)(font "Arial" ))
	(pt 88 240)
	(pt 16 240)
)
(connector
	(text "dout[1]" (rect 50 208 84 220)(font "Arial" ))
	(pt 88 224)
	(pt 16 224)
)
(connector
	(text "dout[0]" (rect 50 192 84 204)(font "Arial" ))
	(pt 88 208)
	(pt 16 208)
)
(connector
	(pt 112 96)
	(pt 152 96)
)
(connector
	(pt -16 112)
	(pt 152 112)
)
(connector
	(pt -16 112)
	(pt -16 336)
)
(connector
	(pt -40 336)
	(pt -16 336)
)
(connector
	(pt -16 336)
	(pt 88 336)
)
(junction (pt -16 336))

⌨️ 快捷键说明

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