Add AMC recovery at configuration step.
Summary
The current reocvery procedure for the AMC recovery is done manually in the following steps:
recover.sh
- In
gem_reg.py
:
> write GEM_AMC.TTC.CTRL.LOCKMON_TARGET_PHASE 0x100
> write GEM_AMC.TTC.CTRL.PHASE_ALIGNMENT_RESET 0
> kw GEM_AMC.TTC
> Check that GEM_AMC.TTC.STATUS.CLK.PHASE_MONITOR.PHASE roughly matches the GEM_AMC.TTC.CTRL.LOCKMON_TARGET_PHASE (i.e. 0x100)
> write GEM_AMC.TTC.CTRL.CNT_RESET 1
- Rest the MGT, with
gth_reset.sh
andgth_status.sh
What is the expected correct behavior?
Just use the Configure step of the state transition to recover the AMC.