invalid data read fixed
Data offset no longer need to be specified as a state structure's field.
Redundant shift_offset field has been removed from fsm and device_t struct.