Skip to content

shehzadi/NetFPGA-RLdram

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Disclaimer of Warranty:
-----------------------
This software code and all associated documentation, comments or other 
information (collectively "Software") is provided "AS IS" without 
warranty of any kind. MICRON TECHNOLOGY, INC. ("MTI") EXPRESSLY 
DISCLAIMS ALL WARRANTIES EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED 
TO, NONINFRINGEMENT OF THIRD PARTY RIGHTS, AND ANY IMPLIED WARRANTIES 
OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE. MTI DOES NOT 
WARRANT THAT THE SOFTWARE WILL MEET YOUR REQUIREMENTS, OR THAT THE 
OPERATION OF THE SOFTWARE WILL BE UNINTERRUPTED OR ERROR-FREE. 
FURTHERMORE, MTI DOES NOT MAKE ANY REPRESENTATIONS REGARDING THE USE OR 
THE RESULTS OF THE USE OF THE SOFTWARE IN TERMS OF ITS CORRECTNESS, 
ACCURACY, RELIABILITY, OR OTHERWISE. THE ENTIRE RISK ARISING OUT OF USE 
OR PERFORMANCE OF THE SOFTWARE REMAINS WITH YOU. IN NO EVENT SHALL MTI, 
ITS AFFILIATED COMPANIES OR THEIR SUPPLIERS BE LIABLE FOR ANY DIRECT, 
INDIRECT, CONSEQUENTIAL, INCIDENTAL, OR SPECIAL DAMAGES (INCLUDING, 
WITHOUT LIMITATION, DAMAGES FOR LOSS OF PROFITS, BUSINESS INTERRUPTION, 
OR LOSS OF INFORMATION) ARISING OUT OF YOUR USE OF OR INABILITY TO USE 
THE SOFTWARE, EVEN IF MTI HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH 
DAMAGES. Because some jurisdictions prohibit the exclusion or 
limitation of liability for consequential or incidental damages, the 
above limitation may not apply to you.

Copyright 2003 Micron Technology, Inc. All rights reserved.

Getting Started:
----------------
Unzip the included files to a folder.
Point your simulator to the folder where you located the files.
Compile rldram2.v and tb.v in a verilog simulator.
Simulate the top level test bench tb.
If you are using the ModelSim simulator, type "do tb.do" at the command 
prompt.

File Descriptions:
------------------
rldram2.v              --rldram2 model 
rldram2_parameters.vh  --File that contains all parameters used by the model
readme.txt             --This file
tb.v                   --Test bench
subtest.vh             --Test included by the test bench.
tb.do                  --File that compiles and runs the above files

Defining the Speed Grade:
-------------------------
The verilog compiler directive "`define" may be used to choose between 
multiple speed grades supported by the rldram2 model.  Allowable speed 
grades are listed in the rldram2_parameters.v file and begin with the 
letters "sg".  The speed grade is used to select a set of timing 
parameters for the rldram2 model.  The following are examples of defining 
the speed grade.

    simulator   command line
    ---------   ------------
    ModelSim    vlog +define+sg5 rldram2.v
    VCS         vcs +define+sg5 rldram2.v
    NC-Verilog  ncverilog +define+sg5 rldram2.v

Defining the Organization:
--------------------------
The verilog compiler directive "`define" may be used to choose between 
multiple organizations supported by the rldram2 model.  Valid 
organizations include "x9", "x18", and "x36", and are listed in the 
rldram2_parameters.v file.  The organization is used to select the amount 
of memory and the port sizes of the rldram2 model.  The following are
examples of defining the organization.

    simulator   command line
    ---------   ------------
    ModelSim    vlog +define+x18 rldram2.v
    VCS         vcs +define+x18 rldram2.v
    NC-Verilog  ncverilog +define+x18 rldram2.v

Defining the IO type:
---------------------
The verilog compiler directive "`define" maybe used to choose between
Common IO or Seperate IO.  The following are examples of defining the
IO type.

    simulator   command line
    ---------   ------------
    ModelSim    vlog +define+SIO rldram2.v
    VCS         vcs +define+SIO rldram2.v
    NC-Verilog  ncverilog +define+SIO rldram2.v


All combinations of speed grade and organization are considered valid 
by the rldram2 model even though a Micron part may not exist for every 
combination.

Allocating Memory:
------------------
An associative array has been implemented to reduce the amount of 
static memory allocated by the rldram2 model.  Each entry in the 
associative array is a burst length of eight in size.  The number of 
entries in the associative array is controlled by the MEM_BITS 
parameter, and is equal to 2^MEM_BITS.  For example, if the MEM_BITS 
parameter is equal to 10, the associative array will be large enough 
to store 1024 writes of burst length 8 to unique addresses.  The 
following are examples of setting the MEM_BITS parameter to 8.

    simulator   command line
    ---------   ------------
    ModelSim    vsim -GMEM_BITS=8 rldram2
    VCS         vcs -pvalue+MEM_BITS=8 rldram2.v
    NC-Verilog  ncverilog +defparam+rldram2.MEM_BITS=8 rldram2.v

It is possible to allocate memory for every address supported by the 
rldram2 model by using the verilog compiler directive "`define MAX_MEM".
This procedure will improve simulation performance at the expense of 
system memory.  The following are examples of allocating memory for
every address.

    Simulator   command line
    ---------   ------------
    ModelSim    vlog +define+MAX_MEM rldram2.v
    VCS         vcs +define+MAX_MEM rldram2.v
    NC-Verilog  ncverilog +define+MAX_MEM rldram2.v

JTAG Tester:
------------------
A JTAG emulator (JTAG_MODEL.v/JTAG_INCLUDE.vh) is included with the Micron testbench to demonstrate the
TAP controller functionality on the rldram2.v model.  A section exists in subtest.vh which exercises the
the JTAG model.  I/O pins of the RLDRAM2 model are not affected by any JTAG commands.  The exceptions to
IEEE defined command operations are listed below.


    ID Code               Operation
    -------               ---------
    Extest                I/O contents captured are 113'h0BEADBEADBEADBEADBEADBEADBEAD,
                          value does not reflect current I/O values on the RLDRAM2 and 
                          values in the boundary scan register will not be driven onto 
                          the I/O pins of the model
    ID code               Normal Operation
    Sample/Preload        I/O contents captured are 113'h0BEADBEADBEADBEADBEADBEADBEAD,
                          value does not reflect current I/O values on the RLDRAM2
    Clamp                 I/O contents captured are 113'h0BEADBEADBEADBEADBEADBEADBEAD,
                          value does not reflect current I/O values on the RLDRAM2 and 
                          values in the boundary scan register will not be driven onto 
                          the I/O pins of the model
    High-Z                Outputs are not forced to a high impedance state
    Bypass                Normal Operation

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages