2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-25 03:08:27 +08:00

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

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):