Forum Discussion

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

ALTCLKCTRL not being instantiated by Modelsim-Altera

Quartus 14.1 Modelsim-Altera 10.3c

Simple VHDL code using Cyclone V. Instantiates ALTCLKCTRL.

.QIP and .SIP added to project as directed. Synthesizes OK.

Modelsim-Altera error: "Instantiation of 'gclk0_altclkctrl_0' failed"

Name of IP is gclk0. The _altclkctrl_0 is postfixed to my IP name.

Why can't Modelsim-Altera find it?

If Quartus 13.0sp1 is used Modelsim-Altera works OK.

Swimteam

3 Replies

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

    The ALTCLKCTRL IP should need the cyclone V device library only,eg cyclonev_atoms.vhd, for simulation. Confirm again the right library to be compiled or using native-link to run the setup simulation script. Hope it will work for you.

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

    As said above, the ALTCLKCTRL IP can be simulated if you add to your ModelSim project, the device library located in /Altera path/quartus/eda/sim_lib/ as xxxx_atoms and xxxx_components (xxxx = your device).

    It worked for me in a STRATIX V Project.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    Quartus 14.1 Modelsim-Altera 10.3c

    Simple VHDL code using Cyclone V. Instantiates ALTCLKCTRL.

    .QIP and .SIP added to project as directed. Synthesizes OK.

    Modelsim-Altera error: "Instantiation of 'gclk0_altclkctrl_0' failed"

    Name of IP is gclk0. The _altclkctrl_0 is postfixed to my IP name.

    Why can't Modelsim-Altera find it?

    If Quartus 13.0sp1 is used Modelsim-Altera works OK.

    Swimteam

    --- Quote End ---

    Since Quartus 13.0sp1 is working, probably you can try with latest 15.0 to check if this is due to version specific issue.