reg_ah<=tdout[7:0];// MSB of the register address (instead of the byte 2)
num_bytes_send<=tdout[19:16];// number of bytes to send (if more than 4 will skip stop and continue with next data
i2c_dly<=tdout[27:20];
reg_ah<=tdout[SENSI2C_TBL_RAH+:SENSI2C_TBL_RAH_BITS];//[ 7:0]; // MSB of the register address (instead of the byte 2)
num_bytes_send<=tdout[SENSI2C_TBL_NBWR+:SENSI2C_TBL_NBWR_BITS];// [19:16]; // number of bytes to send (if more than 4 will skip stop and continue with next data