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

📄 cam0.tdf

📁 用VHDL编写的程序
💻 TDF
字号:
-- megafunction wizard: %CAM%
-- GENERATION: STANDARD
-- VERSION: WM1.0
-- MODULE: altcam 

-- ============================================================
-- File Name: cam0.tdf
-- Megafunction Name(s):
-- 			altcam
-- ============================================================
-- ************************************************************
-- THIS IS A WIZARD-GENERATED FILE. DO NOT EDIT THIS FILE!
--
-- 5.0 Build 148 04/26/2005 SJ Full Version
-- ************************************************************


--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.

INCLUDE "altcam.inc";



SUBDESIGN cam0
(
	pattern[31..0]	 : INPUT = GND;
	wraddress[4..0]	 : INPUT = GND;
	wren	 : INPUT = GND;
	inclock	 : INPUT;
	inclocken	 : INPUT = VCC;
	inaclr	 : INPUT = GND;
	maddress[4..0]	 : OUTPUT;
	mfound	 : OUTPUT;
)

VARIABLE

	altcam_component : altcam WITH (
			WIDTH = 32,
			WIDTHAD = 5,
			NUMWORDS = 32,
			MATCH_MODE = "SINGLE",
			PATTERN_REG = "INCLOCK",
			PATTERN_ACLR = "ON",
			WRCONTROL_ACLR = "ON",
			WRADDRESS_ACLR = "ON",
			OUTPUT_ACLR = "ON",
			LPM_TYPE = "altcam"
			);

BEGIN

	maddress[4..0] = altcam_component.maddress[4..0];
	mfound = altcam_component.mfound;
	altcam_component.inclocken = inclocken;
	altcam_component.wren = wren;
	altcam_component.inclock = inclock;
	altcam_component.pattern[31..0] = pattern[31..0];
	altcam_component.inaclr = inaclr;
	altcam_component.wraddress[4..0] = wraddress[4..0];
END;



-- ============================================================
-- CNX file retrieval info
-- ============================================================
-- Retrieval info: PRIVATE: WidthData NUMERIC "32"
-- Retrieval info: PRIVATE: WidthAddr NUMERIC "5"
-- Retrieval info: PRIVATE: Depth NUMERIC "32"
-- Retrieval info: PRIVATE: Addr_Sel NUMERIC "1"
-- Retrieval info: PRIVATE: Mode NUMERIC "0"
-- Retrieval info: PRIVATE: WrxUsed NUMERIC "0"
-- Retrieval info: PRIVATE: WrxUsedUsed NUMERIC "0"
-- Retrieval info: PRIVATE: WrdelUsed NUMERIC "0"
-- Retrieval info: PRIVATE: MnextUsed NUMERIC "0"
-- Retrieval info: PRIVATE: MAddrUsed NUMERIC "1"
-- Retrieval info: PRIVATE: MBitsUsed NUMERIC "0"
-- Retrieval info: PRIVATE: MFoundUsed NUMERIC "1"
-- Retrieval info: PRIVATE: MCountUsed NUMERIC "0"
-- Retrieval info: PRIVATE: MRdbusyUsed NUMERIC "0"
-- Retrieval info: PRIVATE: MWrbusyUsed NUMERIC "0"
-- Retrieval info: PRIVATE: Clk_Mode NUMERIC "0"
-- Retrieval info: PRIVATE: Patt_Reg NUMERIC "1"
-- Retrieval info: PRIVATE: Wrx_Reg NUMERIC "1"
-- Retrieval info: PRIVATE: Aclr_Used NUMERIC "1"
-- Retrieval info: PRIVATE: Ena_Used NUMERIC "1"
-- Retrieval info: PRIVATE: Patt_Clr_Used NUMERIC "1"
-- Retrieval info: PRIVATE: Wrx_Clr_Used NUMERIC "1"
-- Retrieval info: PRIVATE: Wraddr_Clr_Used NUMERIC "1"
-- Retrieval info: PRIVATE: Wren_Clr_Used NUMERIC "1"
-- Retrieval info: PRIVATE: Output_Used NUMERIC "1"
-- Retrieval info: PRIVATE: BlankMemory NUMERIC "1"
-- Retrieval info: PRIVATE: MIFfilename STRING ""
-- Retrieval info: CONSTANT: WIDTH NUMERIC "32"
-- Retrieval info: CONSTANT: WIDTHAD NUMERIC "5"
-- Retrieval info: CONSTANT: NUMWORDS NUMERIC "32"
-- Retrieval info: CONSTANT: MATCH_MODE STRING "SINGLE"
-- Retrieval info: CONSTANT: PATTERN_REG STRING "INCLOCK"
-- Retrieval info: CONSTANT: PATTERN_ACLR STRING "ON"
-- Retrieval info: CONSTANT: WRCONTROL_ACLR STRING "ON"
-- Retrieval info: CONSTANT: WRADDRESS_ACLR STRING "ON"
-- Retrieval info: CONSTANT: OUTPUT_ACLR STRING "ON"
-- Retrieval info: CONSTANT: LPM_TYPE STRING "altcam"
-- Retrieval info: USED_PORT: pattern 0 0 32 0 INPUT GND pattern[31..0]
-- Retrieval info: USED_PORT: wraddress 0 0 5 0 INPUT GND wraddress[4..0]
-- Retrieval info: USED_PORT: wren 0 0 0 0 INPUT GND wren
-- Retrieval info: USED_PORT: maddress 0 0 5 0 OUTPUT NODEFVAL maddress[4..0]
-- Retrieval info: USED_PORT: mfound 0 0 0 0 OUTPUT NODEFVAL mfound
-- Retrieval info: USED_PORT: inclock 0 0 0 0 INPUT NODEFVAL inclock
-- Retrieval info: USED_PORT: inclocken 0 0 0 0 INPUT VCC inclocken
-- Retrieval info: USED_PORT: inaclr 0 0 0 0 INPUT GND inaclr
-- Retrieval info: CONNECT: @pattern 0 0 32 0 pattern 0 0 32 0
-- Retrieval info: CONNECT: @wraddress 0 0 5 0 wraddress 0 0 5 0
-- Retrieval info: CONNECT: @wren 0 0 0 0 wren 0 0 0 0
-- Retrieval info: CONNECT: maddress 0 0 5 0 @maddress 0 0 5 0
-- Retrieval info: CONNECT: mfound 0 0 0 0 @mfound 0 0 0 0
-- Retrieval info: CONNECT: @inclock 0 0 0 0 inclock 0 0 0 0
-- Retrieval info: CONNECT: @inclocken 0 0 0 0 inclocken 0 0 0 0
-- Retrieval info: CONNECT: @inaclr 0 0 0 0 inaclr 0 0 0 0
-- Retrieval info: LIBRARY: altera_mf altera_mf.altera_mf_components.all
-- Retrieval info: GEN_FILE: TYPE_NORMAL cam0.tdf TRUE
-- Retrieval info: GEN_FILE: TYPE_NORMAL cam0.inc FALSE
-- Retrieval info: GEN_FILE: TYPE_NORMAL cam0.cmp TRUE
-- Retrieval info: GEN_FILE: TYPE_NORMAL cam0.bsf TRUE FALSE
-- Retrieval info: GEN_FILE: TYPE_NORMAL cam0_inst.tdf FALSE

⌨️ 快捷键说明

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