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

📄 decoder.bdf

📁 可以对输入时钟任意分频(整数或小数),带Quartus II 完整项目文件.
💻 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-2004 Altera Corporation
Any  megafunction  design,  and related netlist (encrypted  or  decrypted),
support information,  device programming or simulation file,  and any other
associated  documentation or information  provided by  Altera  or a partner
under  Altera's   Megafunction   Partnership   Program  may  be  used  only
to program  PLD  devices (but not masked  PLD  devices) from  Altera.   Any
other  use  of such  megafunction  design,  netlist,  support  information,
device programming or simulation file,  or any other  related documentation
or information  is prohibited  for  any  other purpose,  including, but not
limited to  modification,  reverse engineering,  de-compiling, or use  with
any other  silicon devices,  unless such use is  explicitly  licensed under
a separate agreement with  Altera  or a megafunction partner.  Title to the
intellectual property,  including patents,  copyrights,  trademarks,  trade
secrets,  or maskworks,  embodied in any such megafunction design, netlist,
support  information,  device programming or simulation file,  or any other
related documentation or information provided by  Altera  or a megafunction
partner, remains with Altera, the megafunction partner, or their respective
licensors. No other licenses, including any licenses needed under any third
party's intellectual property, are provided herein.
*/
(header "graphic" (version "1.3"))
(pin
	(input)
	(rect 928 168 1096 184)
	(text "INPUT" (rect 133 0 161 9)(font "Arial" (font_size 6)))
	(text "clk" (rect 5 0 19 12)(font "Arial" ))
	(pt 168 8)
	(connected_pin (pt 0 0))
	(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 153 17)(font "Arial" (font_size 6)))
)
(pin
	(input)
	(rect 928 224 1096 240)
	(text "INPUT" (rect 133 0 161 9)(font "Arial" (font_size 6)))
	(text "reset" (rect 5 0 29 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 153 17)(font "Arial" (font_size 6)))
)
(pin
	(input)
	(rect 928 240 1096 256)
	(text "INPUT" (rect 133 0 161 9)(font "Arial" (font_size 6)))
	(text "vel[8..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 153 17)(font "Arial" (font_size 6)))
)
(pin
	(output)
	(rect 1888 224 2064 240)
	(text "OUTPUT" (rect 1 0 34 9)(font "Arial" (font_size 6)))
	(text "out" (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))
	)
)
(symbol
	(rect 1696 184 1840 312)
	(text "fenpin" (rect 5 0 35 12)(font "Arial" ))
	(text "inst" (rect 8 112 25 124)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "odde" (rect 0 0 23 12)(font "Arial" ))
		(text "odde" (rect 21 27 44 39)(font "Arial" ))
		(line (pt 0 32)(pt 16 32)(line_width 1))
	)
	(port
		(pt 0 48)
		(input)
		(text "fraction" (rect 0 0 37 12)(font "Arial" ))
		(text "fraction" (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 11 12)(font "Arial" ))
		(text "clr" (rect 21 59 32 71)(font "Arial" ))
		(line (pt 0 64)(pt 16 64)(line_width 1))
	)
	(port
		(pt 0 80)
		(input)
		(text "clkout" (rect 0 0 29 12)(font "Arial" ))
		(text "clkout" (rect 21 75 50 87)(font "Arial" ))
		(line (pt 0 80)(pt 16 80)(line_width 1))
	)
	(port
		(pt 0 96)
		(input)
		(text "coef_i[7..0]" (rect 0 0 56 12)(font "Arial" ))
		(text "coef_i[7..0]" (rect 21 91 77 103)(font "Arial" ))
		(line (pt 0 96)(pt 16 96)(line_width 3))
	)
	(port
		(pt 144 32)
		(output)
		(text "xor_clk" (rect 0 0 35 12)(font "Arial" ))
		(text "xor_clk" (rect 88 27 123 39)(font "Arial" ))
		(line (pt 144 32)(pt 128 32)(line_width 1))
	)
	(port
		(pt 144 48)
		(output)
		(text "out" (rect 0 0 15 12)(font "Arial" ))
		(text "out" (rect 108 43 123 55)(font "Arial" ))
		(line (pt 144 48)(pt 128 48)(line_width 1))
	)
	(parameter
		"CLR_C"
		"8'b00000000"
		""
	)
	(parameter
		"INC_C"
		"8'b00000001"
		""
	)
	(drawing
		(rectangle (rect 16 16 128 112)(line_width 1))
	)
	(annotation_block (parameter)(rect 1280 184 1408 232))
)
(symbol
	(rect 1424 184 1576 312)
	(text "decode" (rect 5 0 40 12)(font "Arial" ))
	(text "inst6" (rect 8 112 31 124)(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 "reset" (rect 0 0 24 12)(font "Arial" ))
		(text "reset" (rect 21 43 45 55)(font "Arial" ))
		(line (pt 0 48)(pt 16 48)(line_width 1))
	)
	(port
		(pt 0 64)
		(input)
		(text "vel[8..0]" (rect 0 0 41 12)(font "Arial" ))
		(text "vel[8..0]" (rect 21 59 62 71)(font "Arial" ))
		(line (pt 0 64)(pt 16 64)(line_width 3))
	)
	(port
		(pt 152 32)
		(output)
		(text "odde" (rect 0 0 23 12)(font "Arial" ))
		(text "odde" (rect 108 27 131 39)(font "Arial" ))
		(line (pt 152 32)(pt 136 32)(line_width 1))
	)
	(port
		(pt 152 48)
		(output)
		(text "fraction" (rect 0 0 37 12)(font "Arial" ))
		(text "fraction" (rect 94 43 131 55)(font "Arial" ))
		(line (pt 152 48)(pt 136 48)(line_width 1))
	)
	(port
		(pt 152 64)
		(output)
		(text "clr" (rect 0 0 11 12)(font "Arial" ))
		(text "clr" (rect 120 59 131 71)(font "Arial" ))
		(line (pt 152 64)(pt 136 64)(line_width 1))
	)
	(port
		(pt 152 80)
		(output)
		(text "coef_i[7..0]" (rect 0 0 56 12)(font "Arial" ))
		(text "coef_i[7..0]" (rect 75 75 131 87)(font "Arial" ))
		(line (pt 152 80)(pt 136 80)(line_width 3))
	)
	(drawing
		(rectangle (rect 16 16 136 112)(line_width 1))
	)
)
(symbol
	(rect 1256 112 1376 208)
	(text "switch" (rect 5 0 35 12)(font "Arial" ))
	(text "inst7" (rect 8 80 31 92)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "clk1" (rect 0 0 20 12)(font "Arial" ))
		(text "clk1" (rect 21 27 41 39)(font "Arial" ))
		(line (pt 0 32)(pt 16 32)(line_width 1))
	)
	(port
		(pt 0 48)
		(input)
		(text "fraction" (rect 0 0 37 12)(font "Arial" ))
		(text "fraction" (rect 21 43 58 55)(font "Arial" ))
		(line (pt 0 48)(pt 16 48)(line_width 1))
	)
	(port
		(pt 0 64)
		(input)
		(text "clk" (rect 0 0 14 12)(font "Arial" ))
		(text "clk" (rect 21 59 35 71)(font "Arial" ))
		(line (pt 0 64)(pt 16 64)(line_width 1))
	)
	(port
		(pt 120 32)
		(output)
		(text "clkout" (rect 0 0 29 12)(font "Arial" ))
		(text "clkout" (rect 70 27 99 39)(font "Arial" ))
		(line (pt 120 32)(pt 104 32)(line_width 1))
	)
	(drawing
		(rectangle (rect 16 16 104 80)(line_width 1))
	)
)
(symbol
	(rect 1152 120 1216 168)
	(text "XOR" (rect 1 0 18 9)(font "Arial" (font_size 6)))
	(text "inst8" (rect 3 37 26 49)(font "Arial" ))
	(port
		(pt 0 16)
		(input)
		(text "IN1" (rect 2 7 17 19)(font "Courier New" (bold))(invisible))
		(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
		(line (pt 0 16)(pt 11 16)(line_width 1))
	)
	(port
		(pt 0 32)
		(input)
		(text "IN2" (rect 2 23 17 35)(font "Courier New" (bold))(invisible))
		(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
		(line (pt 0 32)(pt 11 32)(line_width 1))
	)
	(port
		(pt 64 24)
		(output)
		(text "OUT" (rect 48 15 63 27)(font "Courier New" (bold))(invisible))
		(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
		(line (pt 49 24)(pt 64 24)(line_width 1))
	)
	(drawing
		(line (pt 14 13)(pt 25 13)(line_width 1))
		(line (pt 14 36)(pt 25 36)(line_width 1))
		(arc (pt 7 29)(pt 7 19)(rect -14 8 19 41)(line_width 1))
		(arc (pt 49 24)(pt 25 13)(rect -6 13 57 76)(line_width 1))
		(arc (pt 25 35)(pt 49 24)(rect -6 -27 57 36)(line_width 1))
		(arc (pt 8 36)(pt 8 12)(rect -21 7 14 42)(line_width 1))
	)
)
(connector
	(pt 1576 216)
	(pt 1696 216)
)
(connector
	(pt 1576 248)
	(pt 1696 248)
)
(connector
	(pt 1576 264)
	(pt 1632 264)
	(bus)
)
(connector
	(pt 1632 264)
	(pt 1632 280)
	(bus)
)
(connector
	(pt 1632 280)
	(pt 1696 280)
	(bus)
)
(connector
	(pt 1664 144)
	(pt 1664 264)
)
(connector
	(pt 1664 264)
	(pt 1696 264)
)
(connector
	(pt 1376 144)
	(pt 1664 144)
)
(connector
	(pt 1840 216)
	(pt 1864 216)
)
(connector
	(pt 1864 216)
	(pt 1864 80)
)
(connector
	(pt 1128 80)
	(pt 1864 80)
)
(connector
	(pt 1128 80)
	(pt 1128 136)
)
(connector
	(pt 1128 136)
	(pt 1152 136)
)
(connector
	(pt 1152 152)
	(pt 1128 152)
)
(connector
	(pt 1216 144)
	(pt 1256 144)
)
(connector
	(pt 1256 160)
	(pt 1232 160)
)
(connector
	(pt 1232 160)
	(pt 1232 344)
)
(connector
	(pt 1232 344)
	(pt 1608 344)
)
(connector
	(pt 1608 232)
	(pt 1608 344)
)
(connector
	(pt 1576 232)
	(pt 1608 232)
)
(connector
	(pt 1608 232)
	(pt 1696 232)
)
(connector
	(pt 1128 216)
	(pt 1424 216)
)
(connector
	(pt 1128 152)
	(pt 1128 176)
)
(connector
	(pt 1128 176)
	(pt 1128 216)
)
(connector
	(pt 1840 232)
	(pt 1888 232)
)
(connector
	(pt 1128 176)
	(pt 1256 176)
)
(connector
	(pt 1096 176)
	(pt 1128 176)
)
(connector
	(pt 1096 232)
	(pt 1424 232)
)
(connector
	(pt 1096 248)
	(pt 1424 248)
	(bus)
)
(junction (pt 1608 232))
(junction (pt 1128 176))

⌨️ 快捷键说明

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