UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Participant hycheah
Participant
6,959 Views
Registered: ‎02-27-2010

Instantiating RAMB16_S36 (Where is it located?)

Jump to solution

Hi,

 

I inherited a design which uses ISE and I need to make modifications to it.

However, one of the files called RAMB16_S36 is missing! It is a generated file, not a hand-coded one.

 

Question is, how do I instantiate/produce the RAMB16_S36 file?

I tried looking around at the core generator but I don't think it is produced from the generator.

 

Thanks,

hycheah

0 Kudos
1 Solution

Accepted Solutions
Xilinx Employee
Xilinx Employee
8,403 Views
Registered: ‎08-13-2007

Re: Instantiating RAMB16_S36 (Where is it located?)

Jump to solution

compxlib

 

Start -> Programs -> Xilinx ISE Design Suite 11 -> ISE -> Accessories -> Simulation Library Compilation Wizard.

 

also useful: Software Manuals -> Synthesis & Simulation Guide (sim.pdf)

 

bt

5 Replies
Xilinx Employee
Xilinx Employee
6,953 Views
Registered: ‎08-13-2007

Re: Instantiating RAMB16_S36 (Where is it located?)

Jump to solution

You shouldn't have an HDL file for the RAMB16_S36... It is a primitive in many of the FPGA architectures (e.g. Spartan-3E).

Most likely they are directly instantiating this BlockRAM and you are confused as to why you can't find the file. It will be a black box in the synthesized netlist and reconciled in ngdbuild/map.

 

See the respective Library Guide for an example of its instantiation, e.g. Start -> Programs -> Xilinx ISE Design Suite 11 -> ISE -> Documentation -> Software manuals -> Spartan-3E Libraries Guide for HDL Designs.

 

There are multiple ways to use BlockRAM (instantiation, inferrence, Core Generator, etc.

The device user guide may also be useful. As are these:

http://www.xilinx.com/support/documentation/white_papers/wp335.pdf (Creative Uses of Block RAM)
http://www.xilinx.com/support/documentation/application_notes/xapp463.pdf (Using Block RAM in Spartan-3 Generation FPGAs)
 

 

bt

 

Highlighted
Participant hycheah
Participant
6,926 Views
Registered: ‎02-27-2010

Re: Instantiating RAMB16_S36 (Where is it located?)

Jump to solution

Thanks, that was helpful.

 

I managed to synthesize the design, but somehow simulation failed.

The error screamed,

Failed to access library 'xilinxcorelib_ver' at "xilinxcorelib_ver".

Failed to access library 'unimacro_ver' at "unimacro_ver".

Failed to access library 'unisims_ver' at "unisims_ver".

I tried to map the libraries but I couldn't find the required libraries at the Modeltech library. Mapping to C:\Xilinx\11.1\ISE\verilog\src\xilinxcorelib_ver doesn't work either.

 

Am I missing something? BTW, I am using the Webpack 11.4 and Modelsim PE Student Edition 6.5d.

 

 

0 Kudos
Xilinx Employee
Xilinx Employee
8,404 Views
Registered: ‎08-13-2007

Re: Instantiating RAMB16_S36 (Where is it located?)

Jump to solution

compxlib

 

Start -> Programs -> Xilinx ISE Design Suite 11 -> ISE -> Accessories -> Simulation Library Compilation Wizard.

 

also useful: Software Manuals -> Synthesis & Simulation Guide (sim.pdf)

 

bt

Participant hycheah
Participant
6,901 Views
Registered: ‎02-27-2010

Re: Instantiating RAMB16_S36 (Where is it located?)

Jump to solution

Finally managed to get the libraries compiled and mapped to modelsim.

 

However, I found out that I have to map the libraries all over again when simulating a new project.

Is there a global modelsim.ini where I can map the libraries only once?

 

Thanks,

hycheah

0 Kudos
Participant hycheah
Participant
6,900 Views
Registered: ‎02-27-2010

Re: Instantiating RAMB16_S36 (Where is it located?)

Jump to solution

Found it. Located at C:\Modeltech_pe_edu_6.5d\modelsim.ini

 

Thanks Tim

0 Kudos