Root/Examples/sram_gpio/logic/sim/ddr/readme.txt

1********************************************************************************************
2The sim folder has sample test_bench files to simulate the designs in Modelsim environment.
3This folder has the memory model, test bench, glbl file and required parameter files.
4Read the steps in this file before simulations are done.
5
6To run simulations for this sample configuration, user has to generate the RTL from the tool for the following GUI
7options.
8
9Data_width : 64
10HDL : Verilog or VHDL
11Memory configuration : x16
12DIMM/Component : Component
13Memory Part No : MT46V16M16XX-5
14Add test bench : Yes
15Use DCM : Yes
16Number of controllers : 1
17Number of Write pipelines : 4
18
19-----------------------------------------------For Verilog or VHDL----------------------------------------------------------
20 
211. After the rtl is generated, create the Model sim project file. Add all the rtl files from the rtl folder
22   to the project Also add the memory model, test bench and glbl files from the sim folder.
23
242. Compile the design.
25
263. After successful compilation of design load the design using the following comamnd.
27
28   vsim -t ps +notimingchecks -L ../Modeltech_6.1a/unisims_ver work.ddr1_test_tb glbl
29   Note : User should set proper path for unisim verilog libraries
30
314. After the design is successfully loaded, run the simulations and view the waveforms.
32
33
34Notes :
35
361. To run simulations for different data widths and configurations, users should modify the test bench files
37    with right memory models and design files.
38
392. User must manually change the frequency of the test bench for proper simulations.
40   
413. Users should modify the test bench files for without test bench case.
42   
43
44
45

Archive Download this file

Branches:
master



interactive