mirror of https://github.com/m-labs/artiq.git
phaser: print gw_rev in debug mode
This commit is contained in:
parent
c7e992e26d
commit
eb477ee06b
|
@ -186,6 +186,9 @@ class Phaser:
|
||||||
is_baseband = hw_rev & PHASER_HW_REV_VARIANT
|
is_baseband = hw_rev & PHASER_HW_REV_VARIANT
|
||||||
|
|
||||||
gw_rev = self.read8(PHASER_ADDR_GW_REV)
|
gw_rev = self.read8(PHASER_ADDR_GW_REV)
|
||||||
|
if debug:
|
||||||
|
print(gw_rev)
|
||||||
|
self.core.break_realtime()
|
||||||
delay(.1*ms) # slack
|
delay(.1*ms) # slack
|
||||||
|
|
||||||
# allow a few errors during startup and alignment since boot
|
# allow a few errors during startup and alignment since boot
|
||||||
|
|
Loading…
Reference in New Issue