Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
15 years ago

altsyncram simulating issue (single port RAM core)

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.

7 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    thanks for your answer :-)

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

    Thanks,

    Fina.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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...).
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    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
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

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

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi,

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

    In the modelsim project folder

    This should solve your problem

    Cheers