Forum Discussion
Altera_Forum
Honored Contributor
11 years agoNo PLL output on modelsim
Hi all,
I am using quartus 2 9.1 sp2. I want to run an ALTPLL considering only one input (Clk) and two output ( c0 and locked output). I have generated the vhdl file for modelsim. I simulate it with 50MHz clock and i see no output on both the output signals. Please see the files below for .bdf and modelsim screenshot. Please help me how to see the output and what changes i need to make. Thank you Ash24 Replies
- Altera_Forum
Honored Contributor
do you think the input-clock is 50MHz?
- Altera_Forum
Honored Contributor
Hi Ash,
Just to check with you if the pll_locked got asserted? Can you try to apply a reset to the PLL? - Altera_Forum
Honored Contributor
yea that's what i have designed in Mega wizard plug in manager. I have chosen 50MHz for the input clock
- Altera_Forum
Honored Contributor
Hi akira,
yea that's what i have designed in Mega wizard plug in manager. I have chosen 50MHz for the input clock Thanks - Altera_Forum
Honored Contributor
Hi tiny007,
I added a reset as per what you said. still the output remains the same Undefined. Is there somewhere i am going wrong? - Altera_Forum
Honored Contributor
Hi amod,
Two things: you only show 5-6 ns on your waveforms, the PLL models, like real PLLs, take some time to initialize and sync before you get an output. 6ns is not nearly enough time. I forget how long this takes in simulation (I think it's a lot less than for the real devices) but give it a us or so before you give up. Second, it looks like the clock you're feeding it is NOT 50MHz, but 10GHz! The period shown is 0.1ns, check your clock generation. -Fred - Altera_Forum
Honored Contributor
FredH is right. Where is your testbench? Post it here.
- Altera_Forum
Honored Contributor
- Altera_Forum
Honored Contributor
Hi krasner,
Could you please explain me how to generate testbench ? - Altera_Forum
Honored Contributor
Are you getting any warning when you run modelsim? Perhaps a library is not set up. See this thread: http://www.alteraforum.com/forum/showthread.php?t=21634