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

phaser: print gw_rev in debug mode

This commit is contained in:
Marius Weber 2021-05-08 14:04:35 +01:00
parent c7e992e26d
commit eb477ee06b

View File

@ -186,6 +186,9 @@ class Phaser:
is_baseband = hw_rev & PHASER_HW_REV_VARIANT
gw_rev = self.read8(PHASER_ADDR_GW_REV)
if debug:
print(gw_rev)
self.core.break_realtime()
delay(.1*ms) # slack
# allow a few errors during startup and alignment since boot