forked from M-Labs/artiq
1
0
Fork 0

test_loopback_gate_timing: print input timing for debugging

This commit is contained in:
Sebastien Bourdeauducq 2018-12-01 18:06:22 +08:00
parent dce4f036db
commit 7f55376c75
1 changed files with 1 additions and 0 deletions

View File

@ -254,6 +254,7 @@ class LoopbackGateTiming(EnvExperiment):
self.loop_out.pulse_mu(24)
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:
raise PulseNotReceived()
if not (gate_start_mu <= (in_mu - lat_offset) <= gate_end_mu):