FPGA Intellectual Property
PCI Express*, Networking and Connectivity, Memory Interfaces, DSP IP, and Video IP
6355 Discussions

altsyncram simulating issue (single port RAM core)

Altera_Forum
Honored Contributor II
1,549 Views

Hi, 

 

I'm using Altera's core: single port RAM , which includes the component "altsyncram". 

 

when loading modelsim i get the following warning: 

Warning: (vsim-3473) Component instance "altsyncram_component : altsyncram" is not bound. 

 

 

what does it mean and how can i resolve it? 

 

 

i compiled the relevant altera libraries for simulating( e.g altera_mf library) 

 

Thanks a lot, 

Fina.
0 Kudos
7 Replies
Altera_Forum
Honored Contributor II
603 Views

Hi,  

 

I think, the cause could be that you don't compile the altsyncram component. 

 

so adding "vcom -check_synthesis [your_dir]/altsyncram.vhd' should do it. 

 

Cheers
0 Kudos
Altera_Forum
Honored Contributor II
603 Views

thanks for your answer :-) 

 

where can i find the file altsyncram.vhd ? it wasn't supplied with the code. 

 

Thanks, 

Fina.
0 Kudos
Altera_Forum
Honored Contributor II
603 Views

When creating the RAM with Megawizard, it should create a *my_ram*.vhd file. 

You need to compile this file. Otherwise, modelsim doesn't know anything about the component you are declaring.  

(sorry for the confusion about altsyncram.vhd) 

 

Cheers
0 Kudos
Altera_Forum
Honored Contributor II
603 Views

thanks for your answer. 

 

megawizrd did create a *my_ram*.vhd file. but in *my_ram*.vhd file there is an instantiation of the component altsyncram_component : altsyncram . 

 

seems that the simulator can't find this component. although i compiled the relevant altera libraries (altera_mf etc...).
0 Kudos
Altera_Forum
Honored Contributor II
603 Views

Have you put the corresponding library into the modelsim.ini-file? 

 

insert  

 

"altera_mf = [your_altera_installation_folder]/modelsim_ae/altera/vhdl/altera_mf" 

 

into the library section of that file. 

 

Cheers
0 Kudos
Altera_Forum
Honored Contributor II
603 Views

i compiled altera libraries and add the mapping of the compiled folders to library section of modelsim.

0 Kudos
Altera_Forum
Honored Contributor II
603 Views

Hi,  

 

Try putting the *.hex or *.mif files of your ram  

In the modelsim project folder 

This should solve your problem 

Cheers
0 Kudos
Reply