Closed cscott closed 3 years ago
Otherwise we do a flurry of tick increments after a state is loaded to catch up to the stored timer tick values, because clk_timer_timestamp and prog_timer_timestamp are stored relative to tick_counter but the tick_counter is not saved.
clk_timer_timestamp
prog_timer_timestamp
tick_counter
Good catch, tick_counter needs to be exported indeed, so I'm merging this one !
Otherwise we do a flurry of tick increments after a state is loaded to catch up to the stored timer tick values, because
clk_timer_timestamp
andprog_timer_timestamp
are stored relative totick_counter
but thetick_counter
is not saved.