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

📄 block1.bdf

📁 这是一个用vhdl语言实现dds的例子
💻 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 232 448 400 464)
	(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 232 344 400 360)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "m[7..0]" (rect 5 0 40 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 824 336 1000 352)
	(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
	(text "out[7..0]" (rect 90 0 131 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 656 304 816 384)
	(text "rom01" (rect 62 1 104 17)(font "Arial" (font_size 10)))
	(text "inst1" (rect 8 64 31 76)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "address[7..0]" (rect 0 0 75 14)(font "Arial" (font_size 8)))
		(text "address[7..0]" (rect 20 26 95 40)(font "Arial" (font_size 8)))
		(line (pt 0 32)(pt 16 32)(line_width 3))
	)
	(port
		(pt 0 48)
		(input)
		(text "clock" (rect 0 0 29 14)(font "Arial" (font_size 8)))
		(text "clock" (rect 26 42 55 56)(font "Arial" (font_size 8)))
		(line (pt 0 48)(pt 16 48)(line_width 1))
	)
	(port
		(pt 160 40)
		(output)
		(text "q[7..0]" (rect 0 0 35 14)(font "Arial" (font_size 8)))
		(text "q[7..0]" (rect 111 34 146 48)(font "Arial" (font_size 8)))
		(line (pt 160 40)(pt 144 40)(line_width 3))
	)
	(drawing
		(line (pt 16 16)(pt 144 16)(line_width 1))
		(line (pt 144 16)(pt 144 64)(line_width 1))
		(line (pt 144 64)(pt 16 64)(line_width 1))
		(line (pt 16 64)(pt 16 16)(line_width 1))
		(line (pt 16 42)(pt 22 48)(line_width 1))
		(line (pt 22 48)(pt 16 54)(line_width 1))
	)
)
(symbol
	(rect 464 288 632 384)
	(text "add" (rect 5 0 22 12)(font "Arial" ))
	(text "inst" (rect 8 80 25 92)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "clk" (rect 0 0 14 12)(font "Arial" ))
		(text "clk" (rect 21 27 35 39)(font "Arial" ))
		(line (pt 0 32)(pt 16 32)(line_width 1))
	)
	(port
		(pt 0 48)
		(input)
		(text "adds[15..0]" (rect 0 0 55 12)(font "Arial" ))
		(text "adds[15..0]" (rect 21 43 76 55)(font "Arial" ))
		(line (pt 0 48)(pt 16 48)(line_width 3))
	)
	(port
		(pt 0 64)
		(input)
		(text "m[7..0]" (rect 0 0 35 12)(font "Arial" ))
		(text "m[7..0]" (rect 21 59 56 71)(font "Arial" ))
		(line (pt 0 64)(pt 16 64)(line_width 3))
	)
	(port
		(pt 168 48)
		(output)
		(text "adda[7..0]" (rect 0 0 49 12)(font "Arial" ))
		(text "adda[7..0]" (rect 98 43 147 55)(font "Arial" ))
		(line (pt 168 48)(pt 152 48)(line_width 3))
	)
	(port
		(pt 168 32)
		(bidir)
		(text "back[15..0]" (rect 0 0 55 12)(font "Arial" ))
		(text "back[15..0]" (rect 92 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 568 440 616 472)
	(text "NOT" (rect 1 0 21 10)(font "Arial" (font_size 6)))
	(text "inst2" (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))
		(line (pt 13 7)(pt 31 16)(line_width 1))
		(line (pt 13 25)(pt 31 16)(line_width 1))
		(circle (rect 31 12 39 20)(line_width 1))
	)
)
(connector
	(pt 440 264)
	(pt 440 336)
	(bus)
)
(connector
	(pt 464 336)
	(pt 440 336)
	(bus)
)
(connector
	(pt 640 264)
	(pt 640 320)
	(bus)
)
(connector
	(pt 632 320)
	(pt 640 320)
	(bus)
)
(connector
	(pt 440 264)
	(pt 640 264)
	(bus)
)
(connector
	(pt 632 336)
	(pt 656 336)
	(bus)
)
(connector
	(pt 616 456)
	(pt 648 456)
)
(connector
	(pt 648 456)
	(pt 648 352)
)
(connector
	(pt 656 352)
	(pt 648 352)
)
(connector
	(pt 464 320)
	(pt 416 320)
)
(connector
	(pt 416 456)
	(pt 416 320)
)
(connector
	(pt 400 456)
	(pt 416 456)
)
(connector
	(pt 416 456)
	(pt 568 456)
)
(connector
	(pt 816 344)
	(pt 824 344)
	(bus)
)
(connector
	(pt 464 352)
	(pt 400 352)
	(bus)
)
(junction (pt 416 456))

⌨️ 快捷键说明

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