Forum Discussion
Simulating FiFo IP using Quartus Pro 23.3
- 2 years ago
I attached an example simulation with the DCFIFO IP. This is run with different testbench and with the IP standalone only (without the fifo_top.v).
I also add usedw signal in it.
You may refer this as a guidelines.Best Regards,
Richard Tan
Dropping a note to ask if my last reply was helpful to you?
Do you need any further assistance from my side?
Best Regards,
Richard Tan
Hi Richard,
Thanks for the response, it has helped me move along this problem. After clicking “Generate Simulator Setup Script.”
- Open Questa
- Change the directory to the mentor directory in my project files
- Then “do mentor_example.do” ( this is a simulator file I wrote, taken from the link provided)
- This opens the Questa Simulator viewer where I can see the objects and attempt to run the sim
However, I am still unable to successfully simulate the FiFo. It seems that Questa doesn’t seem to be communicating with the IP. What I mean is that I can see my test bench stimulus coming through on the waveform viewer but it doesn’t seem to have any effect on the FiFo IP. I have tried running the simulation for different time intervals so that I wasn’t missing anything but no matter what the FiFo doesn’t output any data. It never sends the Empty flag low, or the Full flag high. Even after I wait many CC after sending it data, and overflowing it.
I am attaching my project files in a Zip. The relevant ones are mentor_example.do, fifo_top.v, and FiFoTestBench.v
Thanks for the support!
Max McCune