Forum Discussion

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

Quartus2 - altpll megawizard plugin - no clock output in simulation waveform editor

Hi,

in my schematic entry I use the altpll block to divide my clock.

I`ve routet the outputs to GPIO pins and could measure them via oscilloscope.

But when I use them for simulation in the waveform editor, there is just a low signal at the outputs.

So, check out my screenshot, to see that the allclear button works, and the pll is going to start, after alclr is low.

So it seems, that the pll works, and as I told you, I can measure the clock signals via oscilloscope at the gpio pins.

So, what did I wrong?

I would be happy, if someone could help me.

best regards

sektor

11 Replies

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

    --- Quote Start ---

    Modelsim stopped the simulation with an error, because a file called "../../rtl_work.filename" could not be found.

    The file isn`t in the directory, so how to create this file?

    --- Quote End ---

    I'm not sure what that file is or how you would create it. If you post your project, someone may take a look.

    --- Quote Start ---

    And let me ask you, what exactly do you mean with "modify it to add clk/reset generation".

    Is it to add a clock and a reset from the IP catalog?

    --- Quote End ---

    Open the counter.vt file and search for 'clk' and 'reset_n' and you will see where I added my clk/reset generation. You need to do the same/similar in your own test bench file.

    --- Quote Start ---

    For your information, actually i receive the clock from an external signal, so i just got an input port. In the waveform editor, you could generate a clock. Is it possible to work like that in Modelsim to or is it necessary to use the IP blocks as mentioned in my question above?

    --- Quote End ---

    The tutorial PDF tells you how to do it in Modelsim. My project and my suggestion is to do it in (Verilog) HDL in your test bench file. It's pretty simple, and yes almost all projects get set up like this.