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

📄 cnt3.bdf

📁 16位CUPIP核,完全运行的好的东西,可以直接拿来用的!
💻 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-2005 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 168 352 336 368)
	(text "INPUT" (rect 133 -1 161 9)(font "Arial" (font_size 6)))
	(text "CLR" (rect 51 1 74 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 104 248 272 264)
	(text "INPUT" (rect 133 -1 161 9)(font "Arial" (font_size 6)))
	(text "CLK" (rect 51 1 74 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 408 232 584 248)
	(text "OUTPUT" (rect 1 -1 39 9)(font "Arial" (font_size 6)))
	(text "Q[2..0]" (rect 90 0 127 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 272 144 408 344)
	(text "LPM_COUNTER" (rect 20 0 133 16)(font "Arial" (font_size 10)))
	(text "1" (rect 3 190 7 200)(font "Arial" (font_size 6)))
	(port
		(pt 0 32)
		(input)
		(text "sset" (rect 20 23 44 37)(font "Arial" (font_size 8)))
		(text "sset" (rect 20 23 44 37)(font "Arial" (font_size 8)))
		(line (pt 0 32)(pt 16 32)(line_width 1))
		(unused)
	)
	(port
		(pt 0 48)
		(input)
		(text "sload" (rect 20 39 50 53)(font "Arial" (font_size 8)))
		(text "sload" (rect 20 39 50 53)(font "Arial" (font_size 8)))
		(line (pt 0 48)(pt 16 48)(line_width 1))
		(unused)
	)
	(port
		(pt 0 64)
		(input)
		(text "updown" (rect 20 55 67 69)(font "Arial" (font_size 8)))
		(text "updown" (rect 20 55 67 69)(font "Arial" (font_size 8)))
		(line (pt 0 64)(pt 16 64)(line_width 1))
		(unused)
	)
	(port
		(pt 0 80)
		(input)
		(text "cnt_en" (rect 20 71 58 85)(font "Arial" (font_size 8)))
		(text "cnt_en" (rect 20 71 58 85)(font "Arial" (font_size 8)))
		(line (pt 0 80)(pt 16 80)(line_width 1))
		(unused)
	)
	(port
		(pt 0 96)
		(input)
		(text "data[LPM_WIDTH-1..0]" (rect 20 87 146 101)(font "Arial" (font_size 8)))
		(text "data[]" (rect 20 87 51 101)(font "Arial" (font_size 8)))
		(line (pt 0 96)(pt 16 96)(line_width 3))
		(unused)
	)
	(port
		(pt 0 112)
		(input)
		(text "clock" (rect 27 104 56 118)(font "Arial" (font_size 8))(invisible))
		(text "clock" (rect 27 104 56 118)(font "Arial" (font_size 8))(invisible))
		(line (pt 0 112)(pt 16 112)(line_width 1))
	)
	(port
		(pt 0 128)
		(input)
		(text "clk_en" (rect 20 119 56 133)(font "Arial" (font_size 8)))
		(text "clk_en" (rect 20 119 56 133)(font "Arial" (font_size 8)))
		(line (pt 0 128)(pt 16 128)(line_width 1))
		(unused)
	)
	(port
		(pt 0 144)
		(input)
		(text "sconst" (rect 20 135 58 149)(font "Arial" (font_size 8)))
		(text "sconst" (rect 20 135 58 149)(font "Arial" (font_size 8)))
		(line (pt 0 144)(pt 16 144)(line_width 1))
		(unused)
	)
	(port
		(pt 0 160)
		(input)
		(text "sclr" (rect 20 151 41 165)(font "Arial" (font_size 8)))
		(text "sclr" (rect 20 151 41 165)(font "Arial" (font_size 8)))
		(line (pt 0 160)(pt 16 160)(line_width 1))
		(unused)
	)
	(port
		(pt 88 200)
		(input)
		(text "aload" (rect 81 154 95 184)(font "Arial" (font_size 8))(vertical))
		(text "aload" (rect 81 154 95 184)(font "Arial" (font_size 8))(vertical))
		(line (pt 88 200)(pt 88 184)(line_width 1))
		(unused)
	)
	(port
		(pt 72 200)
		(input)
		(text "aclr" (rect 65 162 79 183)(font "Arial" (font_size 8))(vertical))
		(text "aclr" (rect 65 162 79 183)(font "Arial" (font_size 8))(vertical))
		(line (pt 72 200)(pt 72 184)(line_width 1))
	)
	(port
		(pt 56 200)
		(input)
		(text "aset" (rect 49 159 63 183)(font "Arial" (font_size 8))(vertical))
		(text "aset" (rect 49 159 63 183)(font "Arial" (font_size 8))(vertical))
		(line (pt 56 200)(pt 56 184)(line_width 1))
		(unused)
	)
	(port
		(pt 104 200)
		(input)
		(text "aconst" (rect 96 147 110 185)(font "Arial" (font_size 8))(vertical))
		(text "aconst" (rect 96 147 110 185)(font "Arial" (font_size 8))(vertical))
		(line (pt 104 200)(pt 104 184)(line_width 1))
		(unused)
	)
	(port
		(pt 0 176)
		(input)
		(text "cin" (rect 20 167 36 181)(font "Arial" (font_size 8)))
		(text "cin" (rect 20 167 36 181)(font "Arial" (font_size 8)))
		(line (pt 0 176)(pt 16 176)(line_width 1))
		(unused)
	)
	(port
		(pt 136 96)
		(output)
		(text "q[LPM_WIDTH-1..0]" (rect 105 87 213 101)(font "Arial" (font_size 8)))
		(text "q[]" (rect 105 87 119 101)(font "Arial" (font_size 8)))
		(line (pt 120 96)(pt 136 96)(line_width 3))
	)
	(port
		(pt 136 112)
		(output)
		(text "eq[15..0]" (rect 99 103 148 117)(font "Arial" (font_size 8)))
		(text "eq[]" (rect 99 103 120 117)(font "Arial" (font_size 8)))
		(line (pt 120 112)(pt 136 112)(line_width 3))
		(unused)
	)
	(port
		(pt 136 128)
		(output)
		(text "cout" (rect 96 119 120 133)(font "Arial" (font_size 8)))
		(text "cout" (rect 96 119 120 133)(font "Arial" (font_size 8)))
		(line (pt 120 128)(pt 136 128)(line_width 1))
	)
	(parameter
		"LPM_AVALUE"
		""
		"Unsigned value associated with the aset port"
	)
	(parameter
		"LPM_DIRECTION"
		"\"UP\""
		"Selects between up/down, up, or down"
		"\"DEFAULT\"" "\"UP\"" "\"DOWN\"" 
	)
	(parameter
		"LPM_MODULUS"
		""
		"Optional counter wrap value"
	)
	(parameter
		"LPM_SVALUE"
		""
		"Unsigned value associated with the sset port"
	)
	(parameter
		"LPM_WIDTH"
		" 3"
		"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" 
	)
	(drawing
		(line (pt 16 184)(pt 120 184)(line_width 1))
		(line (pt 16 16)(pt 120 16)(line_width 1))
		(line (pt 16 184)(pt 16 16)(line_width 1))
		(line (pt 120 184)(pt 120 16)(line_width 1))
		(line (pt 16 120)(pt 24 112)(line_width 1))
		(line (pt 24 112)(pt 16 104)(line_width 1))
	)
	(annotation_block (parameter)(rect 408 56 528 144))
)
(connector
	(pt 336 360)
	(pt 344 360)
)
(connector
	(pt 344 360)
	(pt 344 344)
)

⌨️ 快捷键说明

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