- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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...Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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. :)- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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. :)
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page