Forum: FPGA, VHDL & Verilog Using PLL in the code

von Kevin (Guest)

Attached files:

Rate this post
0 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


Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [vhdl]VHDL code[/vhdl]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]

Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.