没有合适的资源?快使用搜索试试~ 我知道了~
首页Spartan-6 FPGA原语库设计指南
Spartan-6 FPGA原语库设计指南
需积分: 7 2 下载量 8 浏览量
更新于2024-07-18
收藏 4.18MB PDF 举报
Spartan-6 Libraries Guide for HDL Designs (UG615 v13.1, March 1, 2011) 是一份专为Xilinx FPGA 设计者提供的技术文档,旨在帮助用户利用Spartan-6系列FPGA进行高效、便捷的设计。这份文档详细介绍了Spartan-6 FPGA中各种原语(Primitive)的使用方法和例程,原语是FPGA设计中的关键构建块,它们允许设计师精确控制时序和实现电路的特定功能。
在使用FPGA时,设计者需要理解和掌握这些原语,如触发器、寄存器、逻辑函数单元(LUTs)、查找表(Look-Up Tables)、分布式内存等,因为它们构成了FPGA的基本结构,并且决定了设计的性能和资源占用。文档涵盖了如何通过高级硬件描述语言(HDL),如Verilog或VHDL,来声明和配置这些原语,以及如何确保设计满足时序约束,避免潜在的时钟同步问题。
在使用Spartan-6Libraries时,设计师需要注意以下几点:
1. **版权和许可**:Xilinx保留所有文档的版权,并要求用户在未经书面许可的情况下不得复制、分发或以任何形式公开使用,包括电子、机械、打印等形式,或通过录音、录制等手段。
2. **更新和责任声明**:Xilinx并不保证文档的准确性,也不承诺提供技术支持或协助,用户应自行承担设计风险。
3. **使用条件**:文档是“按现状”提供,没有任何形式的保证,包括但不限于明示或暗示的质量保证。Xilinx不对文档中的错误负责,也未承诺提供任何更新或修正。
这份Spartan-6 Libraries Guide为FPGA设计者提供了一个全面的工具箱,帮助他们充分利用Spartan-6系列FPGA的特性,进行高效、优化的设计工作。理解并熟练应用这些原语例程对于成功完成FPGA项目至关重要。在实际设计过程中,设计师应遵循文档指导,同时结合实践经验,不断调试和优化设计,以达到最佳性能。
Chapter2:AboutUnimacros
AttributeTypeAllowedValuesDefaultDescription
INIT_FILE
String
0bitstring
NONE
Nameofthelecontaininginitialvalues.
WRITE_MODE
String“READ_FIRST”,
“WRITE_FIRST”,
“NO_CHANGE”
“WRITE_FIRST”
Specieswritemodetothememory
INIT
HexadecimalAny72-BitValueAllzerosSpeciestheinitialvalueontheoutputafter
conguration.
SRVAL
HexadecimalAny72-BitValueAllzeroesSpeciestheoutputvalueofontheDOport
upontheassertionofthesynchronousreset
(RST)signal.
SIM_MODEString"SAFE","FAST""SAFE"
Thisisasimulationonlyattribute.It
willdirectthesimulationmodeltorun
inperformance-orientedmodewhen
setto"FAST."PleaseseetheSynthesis
andSimulationDesignGuideformore
information.
INIT_00to
INIT_FF
HexadecimalAny256-BitValueAllzeroesAllowsspecicationoftheinitialcontentsof
the16Kbor32Kbdatamemoryarray.
INITP_00to
INITP_0F
HexadecimalAny256-BitValueAllzeroesAllowsspecicationoftheinitialcontentsof
the2Kbor4Kbparitydatamemoryarray.
VHDLInstantiationTemplate
Unlesstheyalreadyexist,copythefollowingtwostatementsandpastethembeforetheentitydeclaration.
LibraryUNISIM;
useUNISIM.vcomponents.all;
--BRAM_SINGLE_MACRO:SinglePortRAM
--Spartan-6
--XilinxHDLLibrariesGuide,version13.1
--Note-ThisUnimacromodelassumestheportdirectionstobe"downto".
--Simulationofthismodelwith"to"intheportdirectionscouldleadtoerroneousresults.
---------------------------------------------------------------------
--READ_WIDTH|BRAM_SIZE|READDepth|ADDRWidth|--
--WRITE_WIDTH||WRITEDepth||WEWidth--
--============|===========|=============|============|============--
--19-36|"18Kb"|512|9-bit|4-bit--
--10-18|"18Kb"|1024|10-bit|2-bit--
--10-18|"9Kb"|512|9-bit|2-bit--
--5-9|"18Kb"|2048|11-bit|1-bit--
--5-9|"9Kb"|1024|10-bit|1-bit--
--3-4|"18Kb"|4096|12-bit|1-bit--
--3-4|"9Kb"|2048|11-bit|1-bit--
--2|"18Kb"|8192|13-bit|1-bit--
--2|"9Kb"|4096|12-bit|1-bit--
--1|"18Kb"|16384|14-bit|1-bit--
--1|"9Kb"|8192|13-bit|1-bit--
---------------------------------------------------------------------
BRAM_SINGLE_MACRO_inst:BRAM_SINGLE_MACRO
genericmap(
BRAM_SIZE=>"18Kb",--TargetBRAM,"9Kb"or"18Kb"
DEVICE=>"SPARTAN6",--TargetDevice:"VIRTEX5","VIRTEX6","SPARTAN6"
DO_REG=>0,--Optionaloutputregister(0or1)
INIT_A=>X"000000000",--Initialvaluesonoutputport
INIT_FILE=>"NONE",
WRITE_WIDTH=>0,--Validvaluesare1-72(37-72onlyvalidwhenBRAM_SIZE="18Kb")
READ_WIDTH=>0,--Validvaluesare1-72(37-72onlyvalidwhenBRAM_SIZE="18Kb")
SRVAL=>X"000000000",--Set/Resetvalueforportoutput
Spartan-6LibrariesGuideforHDLDesigns
16w
w w . x i l i n x . c o m UG615(v13.1)March1,2011
Chapter2:AboutUnimacros
WRITE_MODE=>"WRITE_FIRST",--"WRITE_FIRST","READ_FIRST"or"NO_CHANGE"
--ThefollowingINIT_xxdeclarationsspecifytheinitialcontentsoftheRAM
INIT_00=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_01=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_02=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_03=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_04=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_05=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_06=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_07=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_08=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_09=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_0A=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_0B=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_0C=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_0D=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_0E=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_0F=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_10=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_11=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_12=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_13=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_14=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_15=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_16=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_17=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_18=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_19=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_1A=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_1B=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_1C=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_1D=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_1E=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_1F=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_20=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_21=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_22=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_23=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_24=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_25=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_26=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_27=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_28=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_29=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_2A=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_2B=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_2C=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_2D=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_2E=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_2F=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_30=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_31=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_32=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_33=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_34=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_35=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_36=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_37=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_38=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_39=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_3A=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_3B=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_3C=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_3D=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_3E=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_3F=>X"0000000000000000000000000000000000000000000000000000000000000000",
--ThenextsetofINIT_xxarevalidwhenconfiguredas36Kb
INIT_40=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_41=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_42=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_43=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_44=>X"0000000000000000000000000000000000000000000000000000000000000000",
Spartan-6LibrariesGuideforHDLDesigns
UG615(v13.1)March1,2011w
w w . x i l i n x . c o m 17
Chapter2:AboutUnimacros
INIT_45=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_46=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_47=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_48=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_49=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_4A=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_4B=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_4C=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_4D=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_4E=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_4F=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_50=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_51=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_52=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_53=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_54=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_55=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_56=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_57=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_58=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_59=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_5A=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_5B=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_5C=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_5D=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_5E=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_5F=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_60=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_61=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_62=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_63=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_64=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_65=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_66=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_67=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_68=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_69=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_6A=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_6B=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_6C=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_6D=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_6E=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_6F=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_70=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_71=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_72=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_73=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_74=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_75=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_76=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_77=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_78=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_79=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_7A=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_7B=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_7C=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_7D=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_7E=>X"0000000000000000000000000000000000000000000000000000000000000000",
INIT_7F=>X"0000000000000000000000000000000000000000000000000000000000000000",
--ThenextsetofINITP_xxarefortheparitybits
INITP_00=>X"0000000000000000000000000000000000000000000000000000000000000000",
INITP_01=>X"0000000000000000000000000000000000000000000000000000000000000000",
INITP_02=>X"0000000000000000000000000000000000000000000000000000000000000000",
INITP_03=>X"0000000000000000000000000000000000000000000000000000000000000000",
INITP_04=>X"0000000000000000000000000000000000000000000000000000000000000000",
INITP_05=>X"0000000000000000000000000000000000000000000000000000000000000000",
INITP_06=>X"0000000000000000000000000000000000000000000000000000000000000000",
INITP_07=>X"0000000000000000000000000000000000000000000000000000000000000000",
--ThenextsetofINIT_xxarevalidwhenconfiguredas36Kb
INITP_08=>X"0000000000000000000000000000000000000000000000000000000000000000",
INITP_09=>X"0000000000000000000000000000000000000000000000000000000000000000",
Spartan-6LibrariesGuideforHDLDesigns
18w
w w . x i l i n x . c o m UG615(v13.1)March1,2011
Chapter2:AboutUnimacros
INITP_0A=>X"0000000000000000000000000000000000000000000000000000000000000000",
INITP_0B=>X"0000000000000000000000000000000000000000000000000000000000000000",
INITP_0C=>X"0000000000000000000000000000000000000000000000000000000000000000",
INITP_0D=>X"0000000000000000000000000000000000000000000000000000000000000000",
INITP_0E=>X"0000000000000000000000000000000000000000000000000000000000000000",
INITP_0F=>X"0000000000000000000000000000000000000000000000000000000000000000")
portmap(
DO=>DO,--Outputdata,widthdefinedbyREAD_WIDTHparameter
ADDR=>ADDR,--Inputaddress,widthdefinedbyread/writeportdepth
CLK=>CLK,--1-bitinputclock
DI=>DI,--Inputdataport,widthdefinedbyWRITE_WIDTHparameter
EN=>EN,--1-bitinputRAMenable
REGCE=>REGCE,--1-bitinputoutputregisterenable
RST=>RST,--1-bitinputreset
WE=>WE--Inputwriteenable,widthdefinedbywriteportdepth
);
--EndofBRAM_SINGLE_MACRO_instinstantiation
VerilogInstantiationTemplate
//BRAM_SINGLE_MACRO:SinglePortRAM
//Spartan-6
//XilinxHDLLibrariesGuide,version13.1
/////////////////////////////////////////////////////////////////////
//READ_WIDTH|BRAM_SIZE|READDepth|ADDRWidth|//
//WRITE_WIDTH||WRITEDepth||WEWidth//
//============|===========|=============|============|============//
//19-36|"18Kb"|512|9-bit|4-bit//
//10-18|"18Kb"|1024|10-bit|2-bit//
//10-18|"9Kb"|512|9-bit|2-bit//
//5-9|"18Kb"|2048|11-bit|1-bit//
//5-9|"9Kb"|1024|10-bit|1-bit//
//3-4|"18Kb"|4096|12-bit|1-bit//
//3-4|"9Kb"|2048|11-bit|1-bit//
//2|"18Kb"|8192|13-bit|1-bit//
//2|"9Kb"|4096|12-bit|1-bit//
//1|"18Kb"|16384|14-bit|1-bit//
//1|"9Kb"|8192|13-bit|1-bit//
/////////////////////////////////////////////////////////////////////
BRAM_SINGLE_MACRO#(
.BRAM_SIZE("18Kb"),//TargetBRAM,"9Kb"or"18Kb"
.DEVICE("SPARTAN6"),//TargetDevice:"VIRTEX5","VIRTEX6","SPARTAN6"
.DO_REG(0),//Optionaloutputregister(0or1)
.INIT(36’h000000000),//Initialvaluesonoutputport
.INIT_FILE("NONE"),
.WRITE_WIDTH(0),//Validvaluesare1-36(19-36onlyvalidwhenBRAM_SIZE="18Kb")
.READ_WIDTH(0),//Validvaluesare1-36(19-36onlyvalidwhenBRAM_SIZE="18Kb")
.SRVAL(36’h000000000),//Set/Resetvalueforportoutput
.WRITE_MODE("WRITE_FIRST"),//"WRITE_FIRST","READ_FIRST",or"NO_CHANGE"
.INIT_00(256’h0000000000000000000000000000000000000000000000000000000000000000),
.INIT_01(256’h0000000000000000000000000000000000000000000000000000000000000000),
.INIT_02(256’h0000000000000000000000000000000000000000000000000000000000000000),
.INIT_03(256’h0000000000000000000000000000000000000000000000000000000000000000),
.INIT_04(256’h0000000000000000000000000000000000000000000000000000000000000000),
.INIT_05(256’h0000000000000000000000000000000000000000000000000000000000000000),
.INIT_06(256’h0000000000000000000000000000000000000000000000000000000000000000),
.INIT_07(256’h0000000000000000000000000000000000000000000000000000000000000000),
.INIT_08(256’h0000000000000000000000000000000000000000000000000000000000000000),
.INIT_09(256’h0000000000000000000000000000000000000000000000000000000000000000),
.INIT_0A(256’h0000000000000000000000000000000000000000000000000000000000000000),
.INIT_0B(256’h0000000000000000000000000000000000000000000000000000000000000000),
.INIT_0C(256’h0000000000000000000000000000000000000000000000000000000000000000),
.INIT_0D(256’h0000000000000000000000000000000000000000000000000000000000000000),
.INIT_0E(256’h0000000000000000000000000000000000000000000000000000000000000000),
.INIT_0F(256’h0000000000000000000000000000000000000000000000000000000000000000),
.INIT_10(256’h0000000000000000000000000000000000000000000000000000000000000000),
.INIT_11(256’h0000000000000000000000000000000000000000000000000000000000000000),
.INIT_12(256’h0000000000000000000000000000000000000000000000000000000000000000),
Spartan-6LibrariesGuideforHDLDesigns
UG615(v13.1)March1,2011w
w w . x i l i n x . c o m 19
Chapter2:AboutUnimacros
.INIT_13(256’h0000000000000000000000000000000000000000000000000000000000000000),
.INIT_14(256’h0000000000000000000000000000000000000000000000000000000000000000),
.INIT_15(256’h0000000000000000000000000000000000000000000000000000000000000000),
.INIT_16(256’h0000000000000000000000000000000000000000000000000000000000000000),
.INIT_17(256’h0000000000000000000000000000000000000000000000000000000000000000),
.INIT_18(256’h0000000000000000000000000000000000000000000000000000000000000000),
.INIT_19(256’h0000000000000000000000000000000000000000000000000000000000000000),
.INIT_1A(256’h0000000000000000000000000000000000000000000000000000000000000000),
.INIT_1B(256’h0000000000000000000000000000000000000000000000000000000000000000),
.INIT_1C(256’h0000000000000000000000000000000000000000000000000000000000000000),
.INIT_1D(256’h0000000000000000000000000000000000000000000000000000000000000000),
.INIT_1E(256’h0000000000000000000000000000000000000000000000000000000000000000),
.INIT_1F(256’h0000000000000000000000000000000000000000000000000000000000000000),
//ThenextsetofINIT_xxarefor"18Kb"configurationonly
.INIT_20(256’h0000000000000000000000000000000000000000000000000000000000000000),
.INIT_21(256’h0000000000000000000000000000000000000000000000000000000000000000),
.INIT_22(256’h0000000000000000000000000000000000000000000000000000000000000000),
.INIT_23(256’h0000000000000000000000000000000000000000000000000000000000000000),
.INIT_24(256’h0000000000000000000000000000000000000000000000000000000000000000),
.INIT_25(256’h0000000000000000000000000000000000000000000000000000000000000000),
.INIT_26(256’h0000000000000000000000000000000000000000000000000000000000000000),
.INIT_27(256’h0000000000000000000000000000000000000000000000000000000000000000),
.INIT_28(256’h0000000000000000000000000000000000000000000000000000000000000000),
.INIT_29(256’h0000000000000000000000000000000000000000000000000000000000000000),
.INIT_2A(256’h0000000000000000000000000000000000000000000000000000000000000000),
.INIT_2B(256’h0000000000000000000000000000000000000000000000000000000000000000),
.INIT_2C(256’h0000000000000000000000000000000000000000000000000000000000000000),
.INIT_2D(256’h0000000000000000000000000000000000000000000000000000000000000000),
.INIT_2E(256’h0000000000000000000000000000000000000000000000000000000000000000),
.INIT_2F(256’h0000000000000000000000000000000000000000000000000000000000000000),
.INIT_30(256’h0000000000000000000000000000000000000000000000000000000000000000),
.INIT_31(256’h0000000000000000000000000000000000000000000000000000000000000000),
.INIT_32(256’h0000000000000000000000000000000000000000000000000000000000000000),
.INIT_33(256’h0000000000000000000000000000000000000000000000000000000000000000),
.INIT_34(256’h0000000000000000000000000000000000000000000000000000000000000000),
.INIT_35(256’h0000000000000000000000000000000000000000000000000000000000000000),
.INIT_36(256’h0000000000000000000000000000000000000000000000000000000000000000),
.INIT_37(256’h0000000000000000000000000000000000000000000000000000000000000000),
.INIT_38(256’h0000000000000000000000000000000000000000000000000000000000000000),
.INIT_39(256’h0000000000000000000000000000000000000000000000000000000000000000),
.INIT_3A(256’h0000000000000000000000000000000000000000000000000000000000000000),
.INIT_3B(256’h0000000000000000000000000000000000000000000000000000000000000000),
.INIT_3C(256’h0000000000000000000000000000000000000000000000000000000000000000),
.INIT_3D(256’h0000000000000000000000000000000000000000000000000000000000000000),
.INIT_3E(256’h0000000000000000000000000000000000000000000000000000000000000000),
.INIT_3F(256’h0000000000000000000000000000000000000000000000000000000000000000),
//ThenextsetofINITP_xxarefortheparitybits
.INITP_00(256’h0000000000000000000000000000000000000000000000000000000000000000),
.INITP_01(256’h0000000000000000000000000000000000000000000000000000000000000000),
.INITP_02(256’h0000000000000000000000000000000000000000000000000000000000000000),
.INITP_03(256’h0000000000000000000000000000000000000000000000000000000000000000),
//ThenextsetofINITP_xxarefor"18Kb"configurationonly
.INITP_04(256’h0000000000000000000000000000000000000000000000000000000000000000),
.INITP_05(256’h0000000000000000000000000000000000000000000000000000000000000000),
.INITP_06(256’h0000000000000000000000000000000000000000000000000000000000000000),
.INITP_07(256’h0000000000000000000000000000000000000000000000000000000000000000)
)BRAM_SINGLE_MACRO_inst(
.DO(DO),//Outputdata,widthdefinedbyREAD_WIDTHparameter
.ADDR(ADDR),//Inputaddress,widthdefinedbyread/writeportdepth
.CLK(CLK),//1-bitinputclock
.DI(DI),//Inputdataport,widthdefinedbyWRITE_WIDTHparameter
.EN(EN),//1-bitinputRAMenable
.REGCE(REGCE),//1-bitinputoutputregisterenable
.RST(RST),//1-bitinputreset
.WE(WE)//Inputwriteenable,widthdefinedbywriteportdepth
);
//EndofBRAM_SINGLE_MACRO_instinstantiation
Spartan-6LibrariesGuideforHDLDesigns
20w
w w . x i l i n x . c o m UG615(v13.1)March1,2011
剩余315页未读,继续阅读
586 浏览量
2018-09-23 上传
2016-02-11 上传
2015-08-03 上传
2009-09-29 上传
2021-02-14 上传
Ss清
- 粉丝: 4
- 资源: 6
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 黑板风格计算机毕业答辩PPT模板下载
- CodeSandbox实现ListView快速创建指南
- Node.js脚本实现WXR文件到Postgres数据库帖子导入
- 清新简约创意三角毕业论文答辩PPT模板
- DISCORD-JS-CRUD:提升 Discord 机器人开发体验
- Node.js v4.3.2版本Linux ARM64平台运行时环境发布
- SQLight:C++11编写的轻量级MySQL客户端
- 计算机专业毕业论文答辩PPT模板
- Wireshark网络抓包工具的使用与数据包解析
- Wild Match Map: JavaScript中实现通配符映射与事件绑定
- 毕业答辩利器:蝶恋花毕业设计PPT模板
- Node.js深度解析:高性能Web服务器与实时应用构建
- 掌握深度图技术:游戏开发中的绚丽应用案例
- Dart语言的HTTP扩展包功能详解
- MoonMaker: 投资组合加固神器,助力$GME投资者登月
- 计算机毕业设计答辩PPT模板下载
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功