Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
21584 Discussions

Confusing with functional simulation

Altera_Forum
Honored Contributor II
1,250 Views

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?
0 Kudos
6 Replies
Altera_Forum
Honored Contributor II
505 Views

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.
0 Kudos
Altera_Forum
Honored Contributor II
505 Views

The Quartus simulator should be perfectly adequate for this kind of simulation. How are you initializing your ROM? What does your design look like?

0 Kudos
Altera_Forum
Honored Contributor II
505 Views

Generally I would do like Tricky, create own test benches and run with Modelsim Altera Starter Edition (which is free version).

0 Kudos
Altera_Forum
Honored Contributor II
505 Views

OK, generally I would do the same. But how does that get us any closer to answering the original inquiry?

0 Kudos
Altera_Forum
Honored Contributor II
505 Views

 

--- 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.
0 Kudos
Altera_Forum
Honored Contributor II
505 Views

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.

0 Kudos
Reply