Forum Discussion

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

Using Modelsim-Altera as the simulation tool

I tried to use Modelsim-Altera 6.3g_p1 as the simulation tool for Quartus|| 8.1 web edition. I followed the instructions as available from Altera website. The problem I'm facing is that it works fine for RTL functional as well as post-synthesis simulation but doesn't work for gate-level simulation. On the other hand, it is doing fine if I use the waveform editor of Quartus as the input file for simulation.

It would be nice if anyone of you can throw light on this matter.

9 Replies

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

    Does modelsim have any problem with simulating 'integer' signals??

    This is because I'm finding that the simulation gives error with output signal as 'integer' but works fine if the same signal is changed to 'std_logic_vector'.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Maybe you are mixing std.numeric and std.logic.signed libraries. That typically confuses modelsim.

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

    I'm trying to use file i/o in Modelsim. I've started with trying to write the output values to a file. While compilation, it doesn't give error, but when I start simulation, it shows "# ** Fatal: SDF files require Altera primitive library".

    What does this mean???
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    std.numeric is the defacto standard

    --- Quote End ---

    Unfortunatly std_logic_signed/unsigned/arith have become the defacto standard thanks to all the old text books and experienced engineers unwilling to change.

    Numeric_std is the IEEE standard that people should use.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Can't modelsim simulate 'event' attribute to dynamic signals?? I'm able to do it in Quartus but modelsim is giving error as: Attribute "event" requires a static signal prefix