FPGARelated.com
Forums

Frequency Doubler - VHDL/Verilog

Started by Gazelle ●November 12, 2003
Gazelle wrote:
> > Good day gents, > I am wondering if VHDL (or Verilog) code > exists in order to make a frequency doubler in a normal > CPLD (without internal DDL/DPL/PLL infrastructure ) with a symmetric > duty cycle. > Below some code can be found which generates a by-2 multiplied > frequency - however the duty cycle > is very assymmetrical ...
If you think about this, you are asking for 'clairvoyant logic' - it has to know where to put the extra edges, in order to give symmetric output. You CAN double Freq, to get an OP positive edge for each IP edge, but the OP falling edge has no IP info to relate to, so is device delay determined. So, you will need some analog interpolation scheme - that can be : - Accept fixed freq operation, and design appx delays as nominal 50% - RC integrator & comparitor, to give quadrature signals which can then be doubled to close to 50%. - narrow band tuned circuit, ringing at target 2f - Full PLL approach -jg