Understanding of set_pad_delay (xs1.h)

Technical questions regarding the XTC tools and programming with XMOS.
Vanillacoke
New User
Posts: 3
Joined: Fri Dec 06, 2013 3:38 pm

Understanding of set_pad_delay (xs1.h)

Post by Vanillacoke »

Hello

if a port is used as clock-source for a clockblock, does the set_pad_delay used on the port delay the clockblocks tick?

I have glitches on a clock-input signal and try to avoid multiple ticks from the clockblock.
I know there is the set_clock_rise_delay too, but does it prevent multiple clockblock-ticks in this case?

the input-clock is used to sample data and a glitch causes multiple samples.

Greetings


User avatar
segher
XCore Expert
Posts: 844
Joined: Sun Jul 11, 2010 1:31 am

Post by segher »

I don't think pad delay does anything for clock inputs; the
documentation isn't explicit about it (or I missed it).

No amount of delay will remove clock glitches.