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

📄 lpm_counter1.bsf

📁 FPGA 实现基于ISA接口的3路编码器计数
💻 BSF
字号:
/*
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 "symbol" (version "1.1"))
(symbol
	(rect 0 0 144 144)
	(text "lpm_counter1" (rect 33 1 125 17)(font "Arial" (font_size 10)))
	(text "inst" (rect 8 128 25 140)(font "Arial" ))
	(port
		(pt 0 32)
		(input)
		(text "sload" (rect 0 0 30 14)(font "Arial" (font_size 8)))
		(text "sload" (rect 20 26 45 39)(font "Arial" (font_size 8)))
		(line (pt 0 32)(pt 16 32)(line_width 1))
	)
	(port
		(pt 0 48)
		(input)
		(text "data[7..0]" (rect 0 0 53 14)(font "Arial" (font_size 8)))
		(text "data[7..0]" (rect 20 42 65 55)(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 49 87)(font "Arial" (font_size 8)))
		(line (pt 0 80)(pt 16 80)(line_width 1))
	)
	(port
		(pt 0 112)
		(input)
		(text "cnt_en" (rect 0 0 38 14)(font "Arial" (font_size 8)))
		(text "cnt_en" (rect 20 106 52 119)(font "Arial" (font_size 8)))
		(line (pt 0 112)(pt 16 112)(line_width 1))
	)
	(port
		(pt 144 72)
		(output)
		(text "q[7..0]" (rect 0 0 35 14)(font "Arial" (font_size 8)))
		(text "q[7..0]" (rect 95 66 125 79)(font "Arial" (font_size 8)))
		(line (pt 144 72)(pt 128 72)(line_width 3))
	)
	(port
		(pt 144 88)
		(output)
		(text "cout" (rect 0 0 24 14)(font "Arial" (font_size 8)))
		(text "cout" (rect 104 82 124 95)(font "Arial" (font_size 8)))
		(line (pt 144 88)(pt 128 88)(line_width 1))
	)
	(drawing
		(text "up counter" (rect 84 17 128 29)(font "Arial" ))
		(line (pt 16 16)(pt 128 16)(line_width 1))
		(line (pt 128 16)(pt 128 128)(line_width 1))
		(line (pt 128 128)(pt 16 128)(line_width 1))
		(line (pt 16 128)(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))
	)
)

⌨️ 快捷键说明

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