Forum Discussion

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

Simulation of AN501 (PWM)

Hello

I'm trying to simulate a PWM by using the example given on the altera site: AN 501.

There is no problem with the compilation in quartus but I have some trouble in modelsim.

When I click on "work" there are 5 modules. When I do right click/ simulate for the main module (pwm_main) it gave me this message "Error loading design"

2 Replies

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

    Hello

    I'm always working on it.

    I haven't find anything for the moment.

    If someone can help me please or have an idea.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Here is the complete error

    # Loading work.pwm_main# Loading work.altufm_osc0_altufm_osc_1p3# ** Error: (vsim-3033) D:/documents and Settings/VALESN1/My Documents/Téléchargements/an501_design_example/AN501_Pulse_Width_Modulator_Altera_MAX_II_CPLD_Design_Example/quartus/pwm_main.v(78): Instantiation of 'maxii_ufm' failed. The design unit was not found.# Region: /pwm_main/u1# Searched libraries:# D:\documents and Settings\VALESN1\My Documents\Téléchargements\an501_design_example\AN501_Pulse_Width_Modulator_Altera_MAX_II_CPLD_Design_Example\quartus\simulation\modelsim\rtl_work# Loading work.clk_gen# Loading work.duty_cycle# Loading work.pwm_gen# Error loading design

    I thinf it is a problem with the simulation of the internal clock