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

📄 new_duty.bdf

📁 这是一个定时比较器
💻 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-2007 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 from 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 80 104 248 120)
	(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 80 232 248 248)
	(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
	(input)
	(rect 80 136 248 152)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "a1[15..0]" (rect 5 0 48 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 80 152 248 168)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "b[15..0]" (rect 5 0 42 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 80 208 248 224)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "duty_load[15..0]" (rect 5 0 85 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 80 120 248 136)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "en_comp" (rect 5 0 49 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 728 88 904 104)
	(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
	(text "new_duty[15..0]" (rect 90 0 169 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 488 64 704 224)
	(text "counter" (rect 5 0 41 12)(font "Arial" ))
	(text "inst1" (rect 8 144 31 156)(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 "a1" (rect 0 0 11 12)(font "Arial" ))
		(text "a1" (rect 21 43 32 55)(font "Arial" ))
		(line (pt 0 48)(pt 16 48)(line_width 1))
	)
	(port
		(pt 0 64)
		(input)
		(text "a2" (rect 0 0 11 12)(font "Arial" ))
		(text "a2" (rect 21 59 32 71)(font "Arial" ))
		(line (pt 0 64)(pt 16 64)(line_width 1))
	)
	(port
		(pt 0 80)
		(input)
		(text "a3" (rect 0 0 11 12)(font "Arial" ))
		(text "a3" (rect 21 75 32 87)(font "Arial" ))
		(line (pt 0 80)(pt 16 80)(line_width 1))
	)
	(port
		(pt 0 96)
		(input)
		(text "en" (rect 0 0 11 12)(font "Arial" ))
		(text "en" (rect 21 91 32 103)(font "Arial" ))
		(line (pt 0 96)(pt 16 96)(line_width 1))
	)
	(port
		(pt 0 112)
		(input)
		(text "duty_load[15..0]" (rect 0 0 80 12)(font "Arial" ))
		(text "duty_load[15..0]" (rect 21 107 101 119)(font "Arial" ))
		(line (pt 0 112)(pt 16 112)(line_width 3))
	)
	(port
		(pt 216 32)
		(output)
		(text "new_duty[15..0]" (rect 0 0 79 12)(font "Arial" ))
		(text "new_duty[15..0]" (rect 116 27 195 39)(font "Arial" ))
		(line (pt 216 32)(pt 200 32)(line_width 3))
	)
	(drawing
		(rectangle (rect 16 16 200 144)(line_width 1))
	)
)
(symbol
	(rect 344 80 456 208)
	(text "compare1" (rect 5 0 53 12)(font "Arial" ))
	(text "inst" (rect 8 112 25 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 "en" (rect 0 0 11 12)(font "Arial" ))
		(text "en" (rect 21 43 32 55)(font "Arial" ))
		(line (pt 0 48)(pt 16 48)(line_width 1))
	)
	(port
		(pt 0 64)
		(input)
		(text "a1[15..0]" (rect 0 0 43 12)(font "Arial" ))
		(text "a1[15..0]" (rect 21 59 64 71)(font "Arial" ))
		(line (pt 0 64)(pt 16 64)(line_width 3))
	)
	(port
		(pt 0 80)
		(input)
		(text "b1[15..0]" (rect 0 0 43 12)(font "Arial" ))
		(text "b1[15..0]" (rect 21 75 64 87)(font "Arial" ))
		(line (pt 0 80)(pt 16 80)(line_width 3))
	)
	(port
		(pt 112 32)
		(output)
		(text "y1" (rect 0 0 12 12)(font "Arial" ))
		(text "y1" (rect 79 27 91 39)(font "Arial" ))
		(line (pt 112 32)(pt 96 32)(line_width 1))
	)
	(port
		(pt 112 48)
		(output)
		(text "y2" (rect 0 0 12 12)(font "Arial" ))
		(text "y2" (rect 79 43 91 55)(font "Arial" ))
		(line (pt 112 48)(pt 96 48)(line_width 1))
	)
	(port
		(pt 112 64)
		(output)
		(text "y3" (rect 0 0 12 12)(font "Arial" ))
		(text "y3" (rect 79 59 91 71)(font "Arial" ))
		(line (pt 112 64)(pt 96 64)(line_width 1))
	)
	(drawing
		(rectangle (rect 16 16 96 112)(line_width 1))
	)
)
(connector
	(pt 488 96)
	(pt 480 96)
)
(connector
	(pt 704 96)
	(pt 728 96)
	(bus)
)
(connector
	(pt 488 160)
	(pt 472 160)
)
(connector
	(pt 488 176)
	(pt 480 176)
	(bus)
)
(connector
	(pt 248 160)
	(pt 344 160)
	(bus)
)
(connector
	(pt 248 128)
	(pt 344 128)
)
(connector
	(pt 248 144)
	(pt 344 144)
	(bus)
)
(connector
	(pt 456 144)
	(pt 488 144)
)
(connector
	(pt 456 128)
	(pt 488 128)
)
(connector
	(pt 456 112)
	(pt 488 112)
)
(connector
	(pt 480 96)
	(pt 480 72)
)
(connector
	(pt 480 72)
	(pt 320 72)
)
(connector
	(pt 320 112)
	(pt 320 72)
)
(connector
	(pt 248 112)
	(pt 320 112)
)
(connector
	(pt 320 112)
	(pt 344 112)
)
(connector
	(pt 480 176)
	(pt 480 216)
	(bus)
)
(connector
	(pt 480 216)
	(pt 248 216)
	(bus)
)
(connector
	(pt 472 160)
	(pt 472 240)
)
(connector
	(pt 248 240)
	(pt 472 240)
)
(junction (pt 320 112))
(text "比较器是在光栅尺来的数据接近原数据时比较二者值,当光栅尺数据小于原值时使y1=1,相等时y2=1,大于时y3=1" (rect 88 288 817 302)(font "Arial" (font_size 8)))
(text "计数器当y1=1时,将原占空比值增大,y2=1时占空比值不变,y3=1时原占空比减少,统一写给new—duty" (rect 88 304 753 318)(font "Arial" (font_size 8)))
(text "en为低电平时将原占空比值写入,为高电平时将前一占空比值写入" (rect 88 272 498 286)(font "Arial" (font_size 8)))

⌨️ 快捷键说明

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