- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hello again,
I built my own component and added a Altera Megafunction - the FIFO. When running SOPC builder there is the following error: design library "work" does not contain primary unit "my_fifo" in the "my_component.vhdl" i added this line: use work.my_fifo; Why is there the mentioned error in SOPC builder? Thanks for every hint!Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
update:
When adding "add_file my_fifo.vhd {SYNTHESIS SIMULATION}" to the _hw.tcl file, then in ModelSim the following error occurs: # ** Error: C:/Test/IP/my_component.vhd(157): (vcom-1141) Identifier "my_fifo" does not identify a component declaration. Where is the problem? When compiling the my_component.vhd outside the SOPC builder everything works... Does anyone has a hint for me?- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Is my_fifo a package? If it is just a component you shouldn't try to include it with a 'use' line. Just declare the component in the architecture and instantiate it.
What you you have on line 157 of my_component.vhd?
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page