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

📄 cmp3.bdf

📁 基于ALTERA的cyclone 系列的控制电机的实验例程
💻 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 184 232 352 248)
	(text "INPUT" (rect 133 -1 161 9)(font "Arial" (font_size 6)))
	(text "a[3..0]" (rect 41 1 76 15)(font "Arial" (font_size 8)))
	(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 184 248 352 264)
	(text "INPUT" (rect 133 -1 161 9)(font "Arial" (font_size 6)))
	(text "b[3..0]" (rect 41 1 76 15)(font "Arial" (font_size 8)))
	(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 480 232 656 248)
	(text "OUTPUT" (rect 1 -1 39 9)(font "Arial" (font_size 6)))
	(text "agb" (rect 90 0 111 14)(font "Arial" (font_size 8)))
	(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 352 184 480 312)
	(text "LPM_COMPARE" (rect 15 0 133 16)(font "Arial" (font_size 10)))
	(text "1" (rect 3 118 7 128)(font "Arial" (font_size 6)))
	(port
		(pt 0 56)
		(input)
		(text "dataa[LPM_WIDTH-1..0]" (rect 20 47 153 61)(font "Arial" (font_size 8)))
		(text "dataa[]" (rect 20 47 58 61)(font "Arial" (font_size 8)))
		(line (pt 0 56)(pt 16 56)(line_width 3))
	)
	(port
		(pt 0 72)
		(input)
		(text "datab[LPM_WIDTH-1..0]" (rect 20 63 153 77)(font "Arial" (font_size 8)))
		(text "datab[]" (rect 20 63 58 77)(font "Arial" (font_size 8)))
		(line (pt 0 72)(pt 16 72)(line_width 3))
	)
	(port
		(pt 0 88)
		(input)
		(text "clock" (rect 20 79 49 93)(font "Arial" (font_size 8)))
		(text "clock" (rect 20 79 49 93)(font "Arial" (font_size 8)))
		(line (pt 0 88)(pt 16 88)(line_width 1))
		(unused)
	)
	(port
		(pt 0 104)
		(input)
		(text "aclr" (rect 20 95 41 109)(font "Arial" (font_size 8)))
		(text "aclr" (rect 20 95 41 109)(font "Arial" (font_size 8)))
		(line (pt 0 104)(pt 16 104)(line_width 1))
		(unused)
	)
	(port
		(pt 0 24)
		(input)
		(text "clken" (rect 20 15 49 29)(font "Arial" (font_size 8)))
		(text "clken" (rect 20 15 49 29)(font "Arial" (font_size 8)))
		(line (pt 0 24)(pt 16 24)(line_width 1))
		(unused)
	)
	(port
		(pt 128 104)
		(output)
		(text "aleb" (rect 88 95 111 109)(font "Arial" (font_size 8)))
		(text "aleb" (rect 88 95 111 109)(font "Arial" (font_size 8)))
		(line (pt 112 104)(pt 128 104)(line_width 1))
		(unused)
	)
	(port
		(pt 128 40)
		(output)
		(text "aeb" (rect 90 31 111 45)(font "Arial" (font_size 8)))
		(text "aeb" (rect 90 31 111 45)(font "Arial" (font_size 8)))
		(line (pt 112 40)(pt 128 40)(line_width 1))
		(unused)
	)
	(port
		(pt 128 56)
		(output)
		(text "agb" (rect 90 47 111 61)(font "Arial" (font_size 8)))
		(text "agb" (rect 90 47 111 61)(font "Arial" (font_size 8)))
		(line (pt 112 56)(pt 128 56)(line_width 1))
	)
	(port
		(pt 128 88)
		(output)
		(text "aneb" (rect 85 79 113 93)(font "Arial" (font_size 8)))
		(text "aneb" (rect 85 79 113 93)(font "Arial" (font_size 8)))
		(line (pt 112 88)(pt 128 88)(line_width 1))
		(unused)
	)
	(port
		(pt 128 72)
		(output)
		(text "ageb" (rect 84 63 112 77)(font "Arial" (font_size 8)))
		(text "ageb" (rect 84 63 112 77)(font "Arial" (font_size 8)))
		(line (pt 112 72)(pt 128 72)(line_width 1))
		(unused)
	)
	(port
		(pt 128 24)
		(output)
		(text "alb" (rect 93 15 109 29)(font "Arial" (font_size 8)))
		(text "alb" (rect 93 15 109 29)(font "Arial" (font_size 8)))
		(line (pt 112 24)(pt 128 24)(line_width 1))
		(unused)
	)
	(parameter
		"CHAIN_SIZE"
		""
		"Size of internal chains, any integer > 0"
		" 1" " 2" " 3" " 4" " 5" " 6" " 7" " 8" " 9" "10" "11" "12" "13" "14" "15" "16" "20" "24" "28" "32" "40" "48" "56" "64" 
	)
	(parameter
		"LPM_PIPELINE"
		""
		"Output latency in clock cycles - requires use of optional clock"
		"0" "1" "2" "3" "4" 
	)
	(parameter
		"LPM_REPRESENTATION"
		""
		"Numeric representation of inputs"
		"\"UNSIGNED\"" "\"SIGNED\"" 
	)
	(parameter
		"LPM_WIDTH"
		"4"
		"Width of I/O, any integer > 0"
		" 1" " 2" " 3" " 4" " 5" " 6" " 7" " 8" " 9" "10" "11" "12" "13" "14" "15" "16" "20" "24" "28" "32" "40" "48" "56" "64" 
	)
	(parameter
		"ONE_INPUT_IS_CONSTANT"
		""
		"Hint to help minimize the number of LCELLs"
		"\"NO\"" "\"YES\"" 
	)
	(drawing
		(line (pt 16 16)(pt 112 16)(line_width 1))
		(line (pt 16 112)(pt 112 112)(line_width 1))
		(line (pt 112 112)(pt 112 16)(line_width 1))
		(line (pt 16 112)(pt 16 16)(line_width 1))
	)
	(annotation_block (parameter)(rect 488 136 664 224))
)

⌨️ 快捷键说明

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