fixed reset issue, used a register instead of the reset signal
turned it into an fsm. The nonce seems to appear at the wrong read in the tcl script however