The error_status output signal coming out of tg_status.vhd/v file does notlatch the error data due to different number of pipeline stages on the various parts of the data in the read_data_path.vhd/v module.
Neither the expected or actual data values at the time of the error status transistion will align, so the error_status can not actually be used to view the error values for either the expected or the actual data.
The expected data captured by tg_status of the value cmp_data_o does not align with data_error_o and appears to be off by one cycle while theactual data captured by tg_status of the value rd_mdata_o does not align with data_error_o and appears to be off by two clock cycles.