first attempt at serdes lowlevel fsm