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

📄 example.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 160 112 328 128)
	(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
	(input)
	(rect 160 80 328 96)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "D[31..0]" (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)))
)
(pin
	(output)
	(rect 576 80 752 96)
	(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
	(text "SEL0" (rect 90 0 115 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 576 96 752 112)
	(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
	(text "SEL1" (rect 90 0 115 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 576 112 752 128)
	(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
	(text "SEL2" (rect 90 0 115 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 552 128 728 144)
	(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
	(text "OA" (rect 90 0 105 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 552 144 728 160)
	(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
	(text "OB" (rect 90 0 105 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 552 160 728 176)
	(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
	(text "OC" (rect 90 0 106 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 552 176 728 192)
	(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
	(text "OD" (rect 90 0 106 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 552 192 728 208)
	(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
	(text "OE" (rect 90 0 105 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 552 208 728 224)
	(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
	(text "OF" (rect 90 0 105 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 552 224 728 240)
	(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
	(text "OG" (rect 90 0 106 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 424 56 552 280)
	(text "smdisplay" (rect 5 0 61 14)(font "Arial" (font_size 8)))
	(text "inst" (rect 8 208 25 220)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "D[31..0]" (rect 0 0 43 14)(font "Arial" (font_size 8)))
		(text "D[31..0]" (rect 21 27 64 41)(font "Arial" (font_size 8)))
		(line (pt 0 32)(pt 16 32)(line_width 3))
	)
	(port
		(pt 0 48)
		(input)
		(text "A" (rect 0 0 9 14)(font "Arial" (font_size 8)))
		(text "A" (rect 21 43 30 57)(font "Arial" (font_size 8)))
		(line (pt 0 48)(pt 16 48)(line_width 1))
	)
	(port
		(pt 0 64)
		(input)
		(text "B" (rect 0 0 8 14)(font "Arial" (font_size 8)))
		(text "B" (rect 21 59 29 73)(font "Arial" (font_size 8)))
		(line (pt 0 64)(pt 16 64)(line_width 1))
	)
	(port
		(pt 0 80)
		(input)
		(text "C" (rect 0 0 8 14)(font "Arial" (font_size 8)))
		(text "C" (rect 21 75 29 89)(font "Arial" (font_size 8)))
		(line (pt 0 80)(pt 16 80)(line_width 1))
	)
	(port
		(pt 0 96)
		(input)
		(text "clk" (rect 0 0 15 14)(font "Arial" (font_size 8)))
		(text "clk" (rect 21 91 36 105)(font "Arial" (font_size 8)))
		(line (pt 0 96)(pt 16 96)(line_width 1))
	)
	(port
		(pt 128 32)
		(output)
		(text "SEL0" (rect 0 0 29 14)(font "Arial" (font_size 8)))
		(text "SEL0" (rect 78 27 107 41)(font "Arial" (font_size 8)))
		(line (pt 128 32)(pt 112 32)(line_width 1))
	)
	(port
		(pt 128 48)
		(output)
		(text "SEL1" (rect 0 0 29 14)(font "Arial" (font_size 8)))
		(text "SEL1" (rect 78 43 107 57)(font "Arial" (font_size 8)))
		(line (pt 128 48)(pt 112 48)(line_width 1))
	)
	(port
		(pt 128 64)
		(output)
		(text "SEL2" (rect 0 0 29 14)(font "Arial" (font_size 8)))
		(text "SEL2" (rect 78 59 107 73)(font "Arial" (font_size 8)))
		(line (pt 128 64)(pt 112 64)(line_width 1))
	)
	(port
		(pt 128 80)
		(output)
		(text "OA" (rect 0 0 18 14)(font "Arial" (font_size 8)))
		(text "OA" (rect 89 75 107 89)(font "Arial" (font_size 8)))
		(line (pt 128 80)(pt 112 80)(line_width 1))
	)
	(port
		(pt 128 96)
		(output)
		(text "OB" (rect 0 0 17 14)(font "Arial" (font_size 8)))
		(text "OB" (rect 90 91 107 105)(font "Arial" (font_size 8)))
		(line (pt 128 96)(pt 112 96)(line_width 1))
	)
	(port
		(pt 128 112)
		(output)
		(text "OC" (rect 0 0 17 14)(font "Arial" (font_size 8)))
		(text "OC" (rect 90 107 107 121)(font "Arial" (font_size 8)))
		(line (pt 128 112)(pt 112 112)(line_width 1))
	)
	(port
		(pt 128 128)
		(output)
		(text "OD" (rect 0 0 17 14)(font "Arial" (font_size 8)))
		(text "OD" (rect 90 123 107 137)(font "Arial" (font_size 8)))
		(line (pt 128 128)(pt 112 128)(line_width 1))
	)
	(port
		(pt 128 144)
		(output)
		(text "OE" (rect 0 0 16 14)(font "Arial" (font_size 8)))
		(text "OE" (rect 91 139 107 153)(font "Arial" (font_size 8)))
		(line (pt 128 144)(pt 112 144)(line_width 1))
	)
	(port
		(pt 128 160)
		(output)
		(text "OF" (rect 0 0 16 14)(font "Arial" (font_size 8)))
		(text "OF" (rect 91 155 107 169)(font "Arial" (font_size 8)))
		(line (pt 128 160)(pt 112 160)(line_width 1))
	)
	(port
		(pt 128 176)
		(output)
		(text "OG" (rect 0 0 18 14)(font "Arial" (font_size 8)))
		(text "OG" (rect 89 171 107 185)(font "Arial" (font_size 8)))
		(line (pt 128 176)(pt 112 176)(line_width 1))
	)
	(drawing
		(rectangle (rect 16 16 112 208)(line_width 1))
	)
)
(symbol
	(rect 192 192 312 304)
	(text "7493" (rect 45 1 78 17)(font "Arial" (font_size 10)))
	(text "inst2" (rect 3 101 26 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 176 136 208 168)
	(text "GND" (rect 8 6 29 16)(font "Arial" (font_size 6)))
	(text "inst3" (rect 3 -1 26 11)(font "Arial" )(invisible))
	(port
		(pt 16 32)
		(output)
		(text "1" (rect 18 0 23 12)(font "Courier New" (bold))(invisible))
		(text "1" (rect 18 20 23 32)(font "Courier New" (bold))(invisible))
		(line (pt 16 24)(pt 16 32)(line_width 1))
	)
	(drawing
		(line (pt 8 24)(pt 16 16)(line_width 1))
		(line (pt 16 16)(pt 24 24)(line_width 1))
		(line (pt 8 24)(pt 24 24)(line_width 1))
	)
	(flipx)
)
(connector
	(text "clk" (rect 162 248 176 260)(font "Arial" ))
	(pt 192 264)
	(pt 152 264)
)
(connector
	(pt 312 216)
	(pt 352 216)
)
(connector
	(pt 192 168)
	(pt 192 216)
)
(connector
	(pt 192 216)
	(pt 192 232)
)
(connector
	(pt 160 184)
	(pt 352 184)
)
(connector
	(pt 160 184)
	(pt 160 280)
)
(connector
	(pt 160 280)
	(pt 192 280)
)
(connector
	(pt 424 104)
	(pt 352 104)
)
(connector
	(pt 352 104)
	(pt 352 184)
)
(connector
	(pt 352 184)
	(pt 352 216)
)
(connector
	(pt 312 232)
	(pt 384 232)
)
(connector
	(pt 384 120)
	(pt 424 120)
)
(connector
	(pt 552 88)
	(pt 576 88)
)
(connector
	(pt 552 120)
	(pt 576 120)
)
(connector
	(pt 552 104)
	(pt 576 104)
)
(connector
	(pt 384 120)
	(pt 384 232)
)
(connector
	(pt 328 120)
	(pt 368 120)
)
(connector
	(pt 368 120)
	(pt 368 152)
)
(connector
	(pt 424 152)
	(pt 368 152)
)
(connector
	(text "<<__$DEF_ALIAS4197>>" (rect 346 72 469 84)(font "Arial" )(invisible))
	(pt 328 88)
	(pt 424 88)
	(bus)
)
(connector
	(pt 312 248)
	(pt 408 248)
)
(connector
	(pt 408 248)
	(pt 408 136)
)
(connector
	(pt 408 136)
	(pt 424 136)
)
(junction (pt 192 216))
(junction (pt 352 184))

⌨️ 快捷键说明

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