Forum Discussion

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

Simulate FIR MegaCore IP with Verilog in ModelSim

I am trying to simulate the FIR MegaCore IP with Verilog test bench in ModelSim Altera Starter Edition.

I have generated the IP with Verilog as chosen language.

Generated simulation files and scripts include a VHDL test bench, the script works just fine when it comes to

the included VHDL test bench. However when I try to alter the script (msim_setup.tcl) to simulate my design with

my Verilog test bench, ModelSim says that it is unable to instantiate the IP and ALTERA version supports only one HDL.

Can you please tell me how to simulate this IP with my custom Verilog test bench?

2 Replies

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

    Your modelsim license supports one hdl (not mixed). so try generate all in vhdl or all in verilog (module and testbench)

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

    --- Quote Start ---

    Your modelsim license supports one hdl (not mixed). so try generate all in vhdl or all in verilog (module and testbench)

    --- Quote End ---

    I am aware of that... I am generating the IP as Verilog! It's their fault of providing it in VHDL and the Top-Level in Verilog!

    And then they say you are not allowed to compile mixed language projects... Are they kidding me?!!

    I've designed the whole project in Verilog... it doesn't make sense to write it again in VHDL just for the sake of Altera!