As of August 2020 the site you are on (wiki.newae.com) is deprecated, and content is now at rtfm.newae.com. |
Difference between revisions of "Improving Glitch Precision"
From ChipWhisperer Wiki
(Created page with "TODO: describe extclk hack to create faster glitches Category:Tips") |
|||
Line 1: | Line 1: | ||
− | + | 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. | ||
[[Category:Tips]] | [[Category:Tips]] |
Latest revision as of 08:49, 7 April 2017
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.