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

📄 readme.txt

📁 arm控制FPGA的DDR测试代码
💻 TXT
字号:
********************************************************************************************
The sim folder has sample test_bench files to simulate the designs in Modelsim environment. 
This folder has the memory model, test bench file and required parameter file/files. 
Read the steps in this file before simulations are done.

To run simulations for this sample configuration, user has to generate the RTL from the tool for the following GUI 
options.

Data_width                : 64
HDL                       : Verilog 
Memory configuration      : x16
DIMM/Component            : Component 
Memory Part No            : MT46V16M16TG-5
Add test bench            : Yes
Use DCM                   : Yes
Number of controllers     : 1
Number of Write pipelines : 4

-----------------------------------------------For Verilog----------------------------------------------------------

1. User should replace include parameter file name in ddr1_test_tb.v file with parameter file name from 
   RTL folder when the design is generated from the tool before the the simulations are run.

2. User should replace module name in the component instantiation part in the file ddr1_test_tb.v file with  
   the module name of their design.
  
3. After the rtl is generated, create the Model sim project file. Add all the rtl files from the rtl folder 
   to the project Also add the memory model, test bench and glbl files from the sim folder. 

4. Compile the design.

5. After successful compilation of design load the design using the following comamnd. 

   vsim -t ps +notimingchecks -L ../Modeltech_6.1a/unisims_ver work.ddr2_test_tb glbl
   Note : User should set proper path for unisim verilog libraries

6. After the design is successfully loaded, run the simulations and view the waveforms. 


Notes : 

1.  To run simulations for different data widths and configurations, users should modify the test bench files
    with right memory models and design files.

2. User must manually change the frequency of the test bench for proper simulations.
   
   


⌨️ 快捷键说明

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