Forum Discussion

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

Simulating with ModelSim> Will it simulate megafunctions in AHDL?

Hi, I must move from the Quartus Simulator to ModelSim and I have a question about simulating with AHDL. Will ModelSim simulate User written AHDL files? Will ModelSim simulate megafunctions based on AHDL?

Thanks,

joe

7 Replies

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

    No and No. You will have to simulate the post place and routed design (this is what the quartus simulator did with designs anyway).

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

    Modelsim will only support VHDL and Verilog (and Altera also do not advise using AHDL for new designs).

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

    --- Quote Start ---

    Modelsim will only support VHDL and Verilog (and Altera also do not advise using AHDL for new designs).

    --- Quote End ---

    I was speaking with a co-worker about this and he envokes ModelSim from Quartus 9.0 and is able to simulate AHDL design. I've asked him to show me how that is done. joe
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    It will be a gate level simuation. Modelsim is unable to simulation AHDL code.

    I highly suggest moving to VHDL or Verilog. It allows much more flexability when it comes to testbenches.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    It will be a gate level simuation. Modelsim is unable to simulation AHDL code.

    I highly suggest moving to VHDL or Verilog. It allows much more flexability when it comes to testbenches.

    --- Quote End ---

    What does the Quartus simulator do, Gate Level or RTL Level? All this is new to me. I've been using the Quartus Simulator so long and things have worked so far.

    Which is better, Gate or RTL level sim?

    Thanks for all your help and suggestions. I'm hoping to move to SystemVerilog.

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

    Quartus does gate level. RTL simulation runs much much faster because it simulates the code directly. One is not better than the other, they both have their purposes, but you wouldnt usually do gate level simulation unless you had to (because of how slowly it runs).

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

    To my recollection the internal Quartus 9.x simulator can also do functional simulation.