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

📄 freq2.bdf

📁 一个基于quartus2的等精度频率计的设计
💻 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 -16 128 152 144)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "fpgaclk" (rect 5 0 41 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 -64 144 -16 160))
)
(pin
	(input)
	(rect -24 232 144 248)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "Gate" (rect 5 0 28 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 -72 248 -24 264))
)
(pin
	(input)
	(rect -24 248 144 264)
	(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)))
	(annotation_block (location)(rect -72 264 -24 280))
)
(pin
	(input)
	(rect 352 464 520 480)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "Sel[2..0]" (rect 5 0 46 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 304 480 352 528))
)
(pin
	(input)
	(rect -24 376 144 392)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "clr" (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)))
	(annotation_block (location)(rect -72 392 -24 408))
)
(pin
	(output)
	(rect 720 408 896 424)
	(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
	(text "OUT[7..0]" (rect 90 0 138 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 896 424 944 536))
)
(symbol
	(rect 160 104 272 200)
	(text "M8" (rect 5 0 19 12)(font "Arial" ))
	(text "inst" (rect 8 80 25 92)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "clock" (rect 0 0 25 12)(font "Arial" ))
		(text "clock" (rect 21 27 46 39)(font "Arial" ))
		(line (pt 0 32)(pt 16 32)(line_width 1))
	)
	(port
		(pt 112 32)
		(output)
		(text "cout" (rect 0 0 21 12)(font "Arial" ))
		(text "cout" (rect 70 27 91 39)(font "Arial" ))
		(line (pt 112 32)(pt 96 32)(line_width 1))
	)
	(port
		(pt 112 48)
		(output)
		(text "q[2..0]" (rect 0 0 31 12)(font "Arial" ))
		(text "q[2..0]" (rect 60 43 91 55)(font "Arial" ))
		(line (pt 112 48)(pt 96 48)(line_width 3))
	)
	(drawing
		(rectangle (rect 16 16 96 80)(line_width 1))
	)
)
(symbol
	(rect 328 320 512 416)
	(text "DC_block" (rect 5 0 53 12)(font "Arial" ))
	(text "inst1" (rect 8 80 31 92)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "DC_CLK" (rect 0 0 43 12)(font "Arial" ))
		(text "DC_CLK" (rect 21 27 64 39)(font "Arial" ))
		(line (pt 0 32)(pt 16 32)(line_width 1))
	)
	(port
		(pt 0 48)
		(input)
		(text "DC_EN" (rect 0 0 37 12)(font "Arial" ))
		(text "DC_EN" (rect 21 43 58 55)(font "Arial" ))
		(line (pt 0 48)(pt 16 48)(line_width 1))
	)
	(port
		(pt 0 64)
		(input)
		(text "CLR" (rect 0 0 22 12)(font "Arial" ))
		(text "CLR" (rect 21 59 43 71)(font "Arial" ))
		(line (pt 0 64)(pt 16 64)(line_width 1))
	)
	(port
		(pt 184 32)
		(output)
		(text "DC_Count[23..0]" (rect 0 0 83 12)(font "Arial" ))
		(text "DC_Count[23..0]" (rect 80 27 163 39)(font "Arial" ))
		(line (pt 184 32)(pt 168 32)(line_width 3))
	)
	(drawing
		(rectangle (rect 16 16 168 80)(line_width 1))
	)
)
(symbol
	(rect 600 208 760 304)
	(text "Calculater" (rect 5 0 54 12)(font "Arial" ))
	(text "inst2" (rect 8 80 31 92)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "Data1[23..0]" (rect 0 0 61 12)(font "Arial" ))
		(text "Data1[23..0]" (rect 21 27 82 39)(font "Arial" ))
		(line (pt 0 32)(pt 16 32)(line_width 3))
	)
	(port
		(pt 0 48)
		(input)
		(text "Data2[23..0]" (rect 0 0 61 12)(font "Arial" ))
		(text "Data2[23..0]" (rect 21 43 82 55)(font "Arial" ))
		(line (pt 0 48)(pt 16 48)(line_width 3))
	)
	(port
		(pt 0 64)
		(input)
		(text "Select[2..0]" (rect 0 0 56 12)(font "Arial" ))
		(text "Select[2..0]" (rect 21 59 77 71)(font "Arial" ))
		(line (pt 0 64)(pt 16 64)(line_width 3))
	)
	(port
		(pt 160 32)
		(output)
		(text "OUT[7..0]" (rect 0 0 48 12)(font "Arial" ))
		(text "OUT[7..0]" (rect 91 27 139 39)(font "Arial" ))
		(line (pt 160 32)(pt 144 32)(line_width 3))
	)
	(drawing
		(rectangle (rect 16 16 144 80)(line_width 1))
	)
)
(symbol
	(rect 320 104 496 200)
	(text "BZ_block" (rect 5 0 51 12)(font "Arial" ))
	(text "inst3" (rect 8 80 31 92)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "BZ_CLK" (rect 0 0 41 12)(font "Arial" ))
		(text "BZ_CLK" (rect 21 27 62 39)(font "Arial" ))
		(line (pt 0 32)(pt 16 32)(line_width 1))
	)
	(port
		(pt 0 48)
		(input)
		(text "BZ_EN" (rect 0 0 35 12)(font "Arial" ))
		(text "BZ_EN" (rect 21 43 56 55)(font "Arial" ))
		(line (pt 0 48)(pt 16 48)(line_width 1))
	)
	(port
		(pt 0 64)
		(input)
		(text "CLR" (rect 0 0 22 12)(font "Arial" ))
		(text "CLR" (rect 21 59 43 71)(font "Arial" ))
		(line (pt 0 64)(pt 16 64)(line_width 1))
	)
	(port
		(pt 176 32)
		(output)
		(text "BZ_Count[23..0]" (rect 0 0 81 12)(font "Arial" ))
		(text "BZ_Count[23..0]" (rect 74 27 155 39)(font "Arial" ))
		(line (pt 176 32)(pt 160 32)(line_width 3))
	)
	(drawing
		(rectangle (rect 16 16 160 80)(line_width 1))
	)
)
(symbol
	(rect 160 216 224 296)
	(text "DFF" (rect 1 0 19 10)(font "Arial" (font_size 6)))
	(text "inst4" (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 104 192 136 208)
	(text "VCC" (rect 7 0 27 10)(font "Arial" (font_size 6)))
	(text "inst5" (rect 3 5 26 17)(font "Arial" )(invisible))
	(port
		(pt 16 16)
		(output)
		(text "1" (rect 19 7 24 19)(font "Courier New" (bold))(invisible))
		(text "1" (rect 19 7 24 19)(font "Courier New" (bold))(invisible))
		(line (pt 16 16)(pt 16 8)(line_width 1))
	)
	(drawing
		(line (pt 8 8)(pt 24 8)(line_width 1))
	)
)
(connector
	(pt 496 136)
	(pt 576 136)
	(bus)
)
(connector
	(pt 576 136)
	(pt 576 240)
	(bus)
)
(connector
	(pt 576 240)
	(pt 600 240)
	(bus)
)
(connector
	(pt 512 352)
	(pt 544 352)
	(bus)
)
(connector
	(pt 544 352)
	(pt 544 256)
	(bus)
)
(connector
	(pt 544 256)
	(pt 600 256)
	(bus)
)
(connector
	(pt 320 168)
	(pt 296 168)
)
(connector
	(pt 296 168)
	(pt 296 384)
)
(connector
	(pt 192 384)
	(pt 192 296)
)
(connector
	(pt 296 384)
	(pt 328 384)
)
(connector
	(pt 224 240)
	(pt 280 240)
)
(connector
	(pt 280 152)
	(pt 320 152)
)
(connector
	(pt 328 368)
	(pt 280 368)
)
(connector
	(pt 280 152)
	(pt 280 240)
)
(connector
	(pt 280 240)
	(pt 280 368)
)
(connector
	(pt 600 272)
	(pt 560 272)
	(bus)
)
(connector
	(pt 560 272)
	(pt 560 472)
	(bus)
)
(connector
	(pt 560 472)
	(pt 520 472)
	(bus)
)
(connector
	(pt 320 136)
	(pt 272 136)
)
(connector
	(pt 160 256)
	(pt 144 256)
)
(connector
	(pt 160 240)
	(pt 144 240)
)
(connector
	(pt 160 136)
	(pt 152 136)
)
(connector
	(pt 328 352)
	(pt 144 352)
)
(connector
	(pt 144 352)
	(pt 144 256)
)
(connector
	(pt 760 240)
	(pt 776 240)
	(bus)
)
(connector
	(pt 776 376)
	(pt 776 240)
	(bus)
)
(connector
	(pt 776 376)
	(pt 696 376)
	(bus)
)
(connector
	(pt 696 376)
	(pt 696 416)
	(bus)
)
(connector
	(pt 696 416)
	(pt 720 416)
	(bus)
)
(connector
	(pt 144 384)
	(pt 192 384)
)
(connector
	(pt 192 384)
	(pt 296 384)
)
(connector
	(pt 192 216)
	(pt 192 208)
)
(connector
	(pt 192 208)
	(pt 120 208)
)
(junction (pt 296 384))
(junction (pt 280 240))
(junction (pt 144 256))
(junction (pt 192 384))

⌨️ 快捷键说明

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