Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
10 years ago

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's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored 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's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored 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's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

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

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

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

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored 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's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored 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.