Improving Glitch Precision

Revision as of 07:49, 7 April 2017 by Gdeon (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Revision as of 07:49, 7 April 2017 by Gdeon (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

If you're using a target with its own clock source, it's possible to set up the glitch module to have a higher resolution. The steps to do this are:

  • Set the CLKGEN input source to `EXTCLK`.
  • Set up the mulitply and divide values to make CLKGEN faster than the external clock (for example, Multiply = 10 and Divide = 1). Keep in mind that extremely clock speeds won't work.
  • Set the glitch module's clock source to CLKGEN.

Now, one period of the glitch module's output will be a fraction of the target's clock period.

This overclocked glitch module is best used with the `Enable Only` output mode, which generates a single pulse that can last for many clock cycles. The `Ext Trigger Offset` and `Repeat` values are in terms of the glitch module's clock, so the pulse's start and end times can be tuned by fractions of a target period.