This is almost a continuation of an earlier thread but the question has changed a bit.
I am trying to measure very short delays with the code below
Code: Select all
start when pinseq(1) :> void; // @ tStart;
tmr :> tStart;
test <: 1;
stop when pinseq(1) :> void; // @ tStop;
tmr :> tStop;
..........................
delay = tStop - tStart;
in port start = XS1_PORT_1A;
in port stop = XS1_PORT_1B;
I had assumed that the two ports are supplied with the same reference clock but it almost looks as if each port has its own clock. Is this the case?
Thanks in advance for any help,
John.