forked from M-Labs/artiq
test_loopback_gate_timing: print input timing for debugging
This commit is contained in:
parent
dce4f036db
commit
7f55376c75
|
@ -254,6 +254,7 @@ class LoopbackGateTiming(EnvExperiment):
|
||||||
self.loop_out.pulse_mu(24)
|
self.loop_out.pulse_mu(24)
|
||||||
|
|
||||||
in_mu = self.loop_in.timestamp_mu(gate_end_mu)
|
in_mu = self.loop_in.timestamp_mu(gate_end_mu)
|
||||||
|
print("timings: ", gate_start_mu, in_mu - lat_offset, gate_end_mu)
|
||||||
if in_mu < 0:
|
if in_mu < 0:
|
||||||
raise PulseNotReceived()
|
raise PulseNotReceived()
|
||||||
if not (gate_start_mu <= (in_mu - lat_offset) <= gate_end_mu):
|
if not (gate_start_mu <= (in_mu - lat_offset) <= gate_end_mu):
|
||||||
|
|
Loading…
Reference in New Issue