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

Please log in before posting.

or

Log in with Google account

Registration is free and takes only a minute.

Register now