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

📄 pulse_gen.bdf

📁 在ALTERA公司的EPM570上实现的电机脉冲算法
💻 BDF
📖 第 1 页 / 共 2 页
字号:
/*
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 96 280 264 296)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "DATA[7..0]" (rect 5 0 59 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 156 17)(font "Arial" (font_size 6)))
)
(pin
	(input)
	(rect 288 296 456 312)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "LD0" (rect 5 0 25 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 156 17)(font "Arial" (font_size 6)))
)
(pin
	(input)
	(rect 248 424 416 440)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "LD1" (rect 5 0 25 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 156 17)(font "Arial" (font_size 6)))
)
(pin
	(input)
	(rect 216 832 384 848)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "EN" (rect 5 0 20 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 156 17)(font "Arial" (font_size 6)))
)
(pin
	(input)
	(rect 480 616 648 632)
	(text "INPUT" (rect 133 0 161 10)(font "Arial" (font_size 6)))
	(text "CLK" (rect 5 0 26 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 156 17)(font "Arial" (font_size 6)))
)
(pin
	(output)
	(rect 840 768 1016 784)
	(text "OUTPUT" (rect 1 0 39 10)(font "Arial" (font_size 6)))
	(text "PULSE" (rect 90 0 125 12)(font "Arial" ))
	(pt 0 8)
	(connected_pin (pt 0 0))
	(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 448 488 480 504)
	(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))
	)
)
(symbol
	(rect 456 720 600 848)
	(text "COUNTER16_L_E" (rect 19 1 144 17)(font "Arial" (font_size 10)))
	(text "inst7" (rect 8 112 31 124)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "sload" (rect 0 0 30 14)(font "Arial" (font_size 8)))
		(text "sload" (rect 20 26 50 40)(font "Arial" (font_size 8)))
		(line (pt 0 32)(pt 16 32)(line_width 1))
	)
	(port
		(pt 0 48)
		(input)
		(text "data[15..0]" (rect 0 0 60 14)(font "Arial" (font_size 8)))
		(text "data[15..0]" (rect 20 42 80 56)(font "Arial" (font_size 8)))
		(line (pt 0 48)(pt 16 48)(line_width 3))
	)
	(port
		(pt 0 80)
		(input)
		(text "clock" (rect 0 0 29 14)(font "Arial" (font_size 8)))
		(text "clock" (rect 26 74 55 88)(font "Arial" (font_size 8)))
		(line (pt 0 80)(pt 16 80)(line_width 1))
	)
	(port
		(pt 0 96)
		(input)
		(text "clk_en" (rect 0 0 36 14)(font "Arial" (font_size 8)))
		(text "clk_en" (rect 20 90 56 104)(font "Arial" (font_size 8)))
		(line (pt 0 96)(pt 16 96)(line_width 1))
	)
	(port
		(pt 144 64)
		(output)
		(text "q[15..0]" (rect 0 0 42 14)(font "Arial" (font_size 8)))
		(text "q[15..0]" (rect 89 58 131 72)(font "Arial" (font_size 8)))
		(line (pt 144 64)(pt 128 64)(line_width 3))
	)
	(port
		(pt 144 80)
		(output)
		(text "cout" (rect 0 0 24 14)(font "Arial" (font_size 8)))
		(text "cout" (rect 104 74 128 88)(font "Arial" (font_size 8)))
		(line (pt 144 80)(pt 128 80)(line_width 1))
	)
	(drawing
		(text "up counter" (rect 84 17 135 29)(font "Arial" ))
		(line (pt 16 16)(pt 128 16)(line_width 1))
		(line (pt 128 16)(pt 128 112)(line_width 1))
		(line (pt 128 112)(pt 16 112)(line_width 1))
		(line (pt 16 112)(pt 16 16)(line_width 1))
		(line (pt 16 74)(pt 22 80)(line_width 1))
		(line (pt 22 80)(pt 16 86)(line_width 1))
	)
)
(symbol
	(rect 512 256 656 336)
	(text "LPM_FD8" (rect 43 1 111 17)(font "Arial" (font_size 10)))
	(text "inst12" (rect 8 64 37 76)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "data[7..0]" (rect 0 0 53 14)(font "Arial" (font_size 8)))
		(text "data[7..0]" (rect 20 26 73 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 144 48)
		(output)
		(text "q[7..0]" (rect 0 0 35 14)(font "Arial" (font_size 8)))
		(text "q[7..0]" (rect 95 42 130 56)(font "Arial" (font_size 8)))
		(line (pt 144 48)(pt 128 48)(line_width 3))
	)
	(drawing
		(text "DFF" (rect 109 17 131 29)(font "Arial" ))
		(line (pt 16 16)(pt 128 16)(line_width 1))
		(line (pt 128 16)(pt 128 64)(line_width 1))
		(line (pt 128 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 512 384 656 464)
	(text "LPM_FD8" (rect 43 1 111 17)(font "Arial" (font_size 10)))
	(text "inst13" (rect 8 64 37 76)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "data[7..0]" (rect 0 0 53 14)(font "Arial" (font_size 8)))
		(text "data[7..0]" (rect 20 26 73 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 144 48)
		(output)
		(text "q[7..0]" (rect 0 0 35 14)(font "Arial" (font_size 8)))
		(text "q[7..0]" (rect 95 42 130 56)(font "Arial" (font_size 8)))
		(line (pt 144 48)(pt 128 48)(line_width 3))
	)
	(drawing
		(text "DFF" (rect 109 17 131 29)(font "Arial" ))
		(line (pt 16 16)(pt 128 16)(line_width 1))
		(line (pt 128 16)(pt 128 64)(line_width 1))
		(line (pt 128 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 816 576 960 656)
	(text "LPM_FD1" (rect 43 1 111 17)(font "Arial" (font_size 10)))
	(text "inst" (rect 8 64 25 76)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "data" (rect 0 0 24 14)(font "Arial" (font_size 8)))
		(text "data" (rect 20 26 44 40)(font "Arial" (font_size 8)))
		(line (pt 0 32)(pt 16 32)(line_width 1))
	)
	(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 144 48)
		(output)
		(text "q" (rect 0 0 7 14)(font "Arial" (font_size 8)))
		(text "q" (rect 119 42 126 56)(font "Arial" (font_size 8)))
		(line (pt 144 48)(pt 128 48)(line_width 1))
	)
	(drawing
		(text "DFF" (rect 109 17 131 29)(font "Arial" ))
		(line (pt 16 16)(pt 128 16)(line_width 1))
		(line (pt 128 16)(pt 128 64)(line_width 1))
		(line (pt 128 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 656 728 800 808)
	(text "LPM_FD1" (rect 43 1 111 17)(font "Arial" (font_size 10)))
	(text "inst14" (rect 8 64 37 76)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "data" (rect 0 0 24 14)(font "Arial" (font_size 8)))
		(text "data" (rect 20 26 44 40)(font "Arial" (font_size 8)))
		(line (pt 0 32)(pt 16 32)(line_width 1))
	)
	(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 144 48)
		(output)
		(text "q" (rect 0 0 7 14)(font "Arial" (font_size 8)))
		(text "q" (rect 119 42 126 56)(font "Arial" (font_size 8)))
		(line (pt 144 48)(pt 128 48)(line_width 1))
	)
	(drawing
		(text "DFF" (rect 109 17 131 29)(font "Arial" ))
		(line (pt 16 16)(pt 128 16)(line_width 1))
		(line (pt 128 16)(pt 128 64)(line_width 1))
		(line (pt 128 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 656 840 800 920)
	(text "LPM_FD1" (rect 43 1 111 17)(font "Arial" (font_size 10)))
	(text "inst16" (rect 8 64 37 76)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "data" (rect 0 0 24 14)(font "Arial" (font_size 8)))
		(text "data" (rect 20 26 44 40)(font "Arial" (font_size 8)))
		(line (pt 0 32)(pt 16 32)(line_width 1))
	)
	(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 144 48)
		(output)
		(text "q" (rect 0 0 7 14)(font "Arial" (font_size 8)))
		(text "q" (rect 119 42 126 56)(font "Arial" (font_size 8)))
		(line (pt 144 48)(pt 128 48)(line_width 1))
	)
	(drawing
		(text "DFF" (rect 109 17 131 29)(font "Arial" ))
		(line (pt 16 16)(pt 128 16)(line_width 1))
		(line (pt 128 16)(pt 128 64)(line_width 1))
		(line (pt 128 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 144 656 288 736)
	(text "LPM_FD16" (rect 40 1 116 17)(font "Arial" (font_size 10)))
	(text "inst17" (rect 8 64 37 76)(font "Arial" ))

⌨️ 快捷键说明

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