Forum Discussion
Confusing with functional simulation
Hi guys.
I have problem with my functional simulation. And now I confuse about that. Currently I am creating my rom for my assignment. Whenever I want to check the output Q at functional simulation, only result for Addr 0000 appear. I already set before the start simulation for Addr 0001 and others. What should I do if I want my Q( output) besides Addr 0000?6 Replies
- Altera_Forum
Honored Contributor
I suggest creating an HDL testbench and running the design in a proper simulator. Quartus Simulator is very limited and only runs gate level (ie. slow) simulation.
Try uising modelsim instead. - Altera_Forum
Honored Contributor
The Quartus simulator should be perfectly adequate for this kind of simulation. How are you initializing your ROM? What does your design look like?
- Altera_Forum
Honored Contributor
Generally I would do like Tricky, create own test benches and run with Modelsim Altera Starter Edition (which is free version).
- Altera_Forum
Honored Contributor
OK, generally I would do the same. But how does that get us any closer to answering the original inquiry?
- Altera_Forum
Honored Contributor
--- Quote Start --- OK, generally I would do the same. But how does that get us any closer to answering the original inquiry? --- Quote End --- The OPs problems are not clear, and probably steam from lack of proper address generation. The Quartus simulator isnt very flexible when it comes to stimulus generation, along with the fact most users of the forum (myself included) dont use it, hence using a testbench would be much easier. - Altera_Forum
Honored Contributor
The address generation looks proper to me (although the attached image is a bit small and hard to read). Hence my questions about how the rom is initialzed and what the actual design looks like.