Forum Discussion

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

Error: (vcom-11) Could not find work.altera_syn_attributes.

When i am tring to simulate QuartusII project in modelsim-altera, the following error reported:

# ** Error: (vcom-11) Could not find work.altera_syn_attributes.

# ** Error: E:/Altera_Project/My_IP/FreqMeasure/FREQMeasure_WholeSystem.vhd(23): (vcom-1195) Cannot find expanded name: 'altera.altera_syn_attributes'.

# ** Error: E:/Altera_Project/My_IP/FreqMeasure/FREQMeasure_WholeSystem.vhd(23): Unknown record element "altera_syn_attributes".

# ** Error: E:/Altera_Project/My_IP/FreqMeasure/FREQMeasure_WholeSystem.vhd(25): VHDL Compiler exiting

# C:/altera/72/modelsim_ae/win32aloem/vcom failed.

I know that's because that I use library altera_syn_attributes in my VHDL file.

How can I direct modelsim-altera to find the library?

Thanks...

3 Replies

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

    I think it is located here <QII instalation>/libraries/vhdl/altera/altera_syn_attributes.vhd. My understanding this attribute is meant for synthesis. You can remove or uncomment it during simulation or you can compile the altera_syn_attributes.vhd file into altera library. Hope it works.

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

    The modelsim_ae normally ships with precompiled versions of the Altera-specific VHDL -- the altera_syn_attributes package was probably just omitted as an oversight. It contains declarations for all the Altera-supported attributes and should be compiled into the altera library. I'd file a support request. In the meantime, you can simply compile the package manually into the altera library, which I'm hoping you can do in modelsim_ae. GuruDog points out the file you need.

    I primary use the full version of modelsim, so I'm used to compiling everything myself. Nice when things work automatically though. :)
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Yes, it works.

    Thanks both you, especially HDL_Guru, you always be so kind and patient :)

    Thanks Altera Forum~~

    I can get as much as I want in this forum. :)