Sign in

username:

password:



Not a member?

Search Comp.Arch.FPGA



Search tips

fpga by Keywords

Altera | ASIC | CPLD | Cyclone | DCM | DDR | DSP | Ethernet | ISE | JTAG | Linux | LVDS | Microblaze | ML310 | Modelsim | NIOS | OPB | PCI | Quartus | RocketIO | SDRAM | Spartan | Spartan3 | SRAM | Stratix | Verilog | VHDL | Virtex | Virtex-4 | Virtex-II | Xilinx | XST


Ads

See Also

DSPEmbedded SystemsElectronics

Comp.Arch.FPGA | Xilinx DCM: Is CLKIN_PERIOD really required


There are 5 messages in this thread.

You are currently looking at messages 0 to 5.

Xilinx DCM: Is CLKIN_PERIOD really required - Sudhir Singh - 2010-01-28 22:09:00

Hi Guys,

Just wondering if the CLKIN_PERIOD value needs to be set to the period
of input clock when instantiating a DCM component. I have a design
where input clock can be either 25MHz or 125MHz, the clock frequency
will change during operation. I will be using the DCM mainly for de-
skewing. What should the CLKIN_PERIOD be set to in this case?
Does it cause any problems if CLKIN_PERIOD is not set?

Cheers
Sudhir

______________________________
Join the blogging team on FPGARelated.com and earn rewards! Details Here.



Re: Xilinx DCM: Is CLKIN_PERIOD really required - backhus - 2010-01-29 02:19:00

On 29 Jan., 04:09, Sudhir Singh
<Sudhir.Si...@email.com> wrote:
> Hi Guys,
>
> Just wondering if the CLKIN_PERIOD value needs to be set to the period
> of input clock when instantiating a DCM component. I have a design
> where input clock can be either 25MHz or 125MHz, the clock frequency
> will change during operation. I will be using the DCM mainly for de-
> skewing. What should the CLKIN_PERIOD be set to in this case?
> Does it cause any problems if CLKIN_PERIOD is not set?
>
> Cheers
> Sudhir

Hi Sudhir,
the DCM should work as specified, regardless of the frequency given in
the coregenerator GUI or VHDL Generic Maps.
Only thing to considder is, that the DCM might loose it's frequency
locking when the input frequency changes.
You should do some post-par simulations and observe the LOCKED signal.
(Locking on a new frequency takes time.)

Have a nice synthesis
  Eilert
______________________________
Join the blogging team on FPGARelated.com and earn rewards! Details Here.

Re: Xilinx DCM: Is CLKIN_PERIOD really required - Gabor - 2010-01-29 09:30:00

On Jan 29, 2:19=A0am, backhus
<goous...@googlemail.com> wrote:
> On 29 Jan., 04:09, Sudhir Singh <Sudhir.Si...@email.com> wrote:
>
> > Hi Guys,
>
> > Just wondering if the CLKIN_PERIOD value needs to be set to the period
> > of input clock when instantiating a DCM component. I have a design
> > where input clock can be either 25MHz or 125MHz, the clock frequency
> > will change during operation. I will be using the DCM mainly for de-
> > skewing. What should the CLKIN_PERIOD be set to in this case?
> > Does it cause any problems if CLKIN_PERIOD is not set?
>
> > Cheers
> > Sudhir
>
> Hi Sudhir,
> the DCM should work as specified, regardless of the frequency given in
> the coregenerator GUI or VHDL Generic Maps.
> Only thing to considder is, that the DCM might loose it's frequency
> locking when the input frequency changes.
> You should do some post-par simulations and observe the LOCKED signal.
> (Locking on a new frequency takes time.)
>
> Have a nice synthesis
> =A0 Eilert

If I'm not mistaken the CLKIN_PERIOD is mainly needed for the DFS
portion of the DCM, which you shouldn't need for phase shifting.
Also I've seen cases where the DCM loses lock and does not negate
the LOCKED signal.  You should monitor the status bits to be sure
that the DCM is locked, and reset it when you detect loss of lock.

Regards,
Gabor
______________________________
Join the blogging team on FPGARelated.com and earn rewards! Details Here.

Re: Xilinx DCM: Is CLKIN_PERIOD really required - austin - 2010-01-29 11:21:00

All,

The clock in period for the DCM is used to set the configuration bits
for best performance (tap size, etc.).

If you don't set it to the right frequency range, you may not get the
best performance, and perhaps it won't work at all if you are set for
the low range, and the input is in the high range.

The absolute value (accuracy) of the number is not important.  The DCM
software in ISE is just trying to make decisions based on the low
frequency range, and the high frequency range.

So, for example, if the input is from 25 MHz to 150 MHz, any value in
this range is fine.

The DCM will track any input in this range, until it runs out of taps
with the delay lines.  Then LOCKED goes false (the only reason why it
does go false).

Also monitor CLOCK_IN_LOST status bit, as when the clock is lost, this
is the ONLY bit that changes (everything else is synchronous to
CLOCK_IN, so when it is lost, nothing will change, except this one
status bit).

Austin



Re: Xilinx DCM: Is CLKIN_PERIOD really required - Sudhir Singh - 2010-01-30 05:52:00

Hi Guys,

Thank you all for the information you have given me.

Cheers
Sudhir