- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I want to simulate a simple project with a Qsys system along with some additional codes inside another top level module. I could simulate with just the codes, but the problem started when i tried to include the Qsys modules inside my project. I have followed some tutorials on Qsys simulation, but they point to using the Qsys system as the top level without using any additional code. So i couldn't get much idea from that too. The code compiles normally and when I start simulation with "RTL simulation", modelsim starts and compiles. Afterward when I try to Simulate the Top level module it shows error-ModelSim>vsim -voptargs=+acc work.top# vsim -voptargs=+acc work.top # Loading work.top# Loading work.testMemory# ** Error: (vsim-3033) D:/ACT/attempt2/testMemory/simulation/testMemory.v(54): Instantiation of 'testMemory_MemoryBlock' failed. The design unit was not found.# Region: /top/u0# Searched libraries:# D:\Act\attempt2\simulation\modelsim\rtl_work
.
.
.
.# ** Error: (vsim-3033) D:/ACT/attempt2/testMemory/simulation/testMemory.v(235): Instantiation of 'altera_reset_controller' failed. The design unit was not found.# Region: /top/u0# Searched libraries:# D:\Act\attempt2\simulation\modelsim\rtl_work# Error loading design
But I can see the reported modules in the list of libraries..(attached image) Now I don't know how to add the libraries to "work" group or make the program search in all other libraries beside rtl_work. I am still in the learning phase and this is my first project involving simulation. So I don't know much about the jargon. Also I don't know how to make a tcl file. I was hoping someone could help me resolving the issue or give me some pointers to thing that I should be reading.
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Found the solution.
Just for the reference of anyone else stumbling at the same thing in the future - ww w.alteraforum. com / forum / showthread. php?t=23529- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Although you have found a solution, you may want to look at using Tcl scripts to take care of managing the simulation libraries.
Take a look at this tutorial along with its scripts http://www.alterawiki.com/wiki/using_the_usb-blaster_as_an_sopc/qsys_avalon-mm_master_tutorial Cheers, Dave
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