Using PLL in the code

Guest #3834563
Rate this post
• ▲ useful
▼ not useful
Hello People,

I want to do somthing simple and need advice.

I have an FPGA where the clock is 40Mhz. I have made a counter that 
blinks an LED.
Using smartgen I have generated a static PLL code that makes 40Mhz -> 
80Mhz, and I want to use it to blink another LED with the same counter 
loop structure. This way the other LED will blink twice as fast.

So, I have 3 files: (They are attached as well)

1) blink_led.v
2) blink_led_tb.v
3) PLL40_80Mhz.v

The fist two simulate perfect and work fine.

I want to know how to use the PLL module to trasfer the 80Mhz to the 
other module. Shall I include the file? Shall I copy the PLL module into 
my main module? ...

Thank you very much in advance
Attached files:

Reply

Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.

Formatting
  • [c]C-Code[/c]
  • [vhdl]VHDL-Code[/vhdl]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]
  • [[Title]] – link to an article
  • Link to another post: right-click its post ID (#8078628), copy the address, paste it into the text

More about formatting

Post long source code as an attachment, not in the text.

Already registered? Log in

Not shown to anyone. We send you a link; your post appears once you confirm it there.

By submitting you create a free account and accept the terms of use.