diff --git a/applications/unb1_reorder/tb/python/tc_unb1_reorder.py b/applications/unb1_reorder/tb/python/tc_unb1_reorder.py index 99d51b6754271062f1a349208c8876bb36980551..c2a68d0fd71b0630d72c59c88e73a7b4f6b7fa25 100644 --- a/applications/unb1_reorder/tb/python/tc_unb1_reorder.py +++ b/applications/unb1_reorder/tb/python/tc_unb1_reorder.py @@ -287,14 +287,14 @@ if __name__ == "__main__": # Verify output data # ############################################################################### - # for i in range(c_bg_nof_streams): - # for j in range(c_db_ram_size): - # if db_out_re[i][j] != ref_data_re[i][j]: - # tc.append_log(2, 'Error in real output data. Expected data: %d Data read: %d Iteration nr: %d %d' % (ref_data_re[i][j], db_out_re[i][j], i, j)) - # tc.set_result('FAILED') - # if db_out_im[i][j] != ref_data_im[i][j]: - # tc.append_log(2, 'Error in imag output data. Expected data: %d Data read: %d Iteration nr: %d %d' % (ref_data_im[i][j], db_out_im[i][j], i, j)) - # tc.set_result('FAILED') + for i in range(c_bg_nof_streams): + for j in range(c_db_ram_size): + if db_out_re[i][j] != ref_data_re[i][j]: + tc.append_log(2, 'Error in real output data. Expected data: %d Data read: %d Iteration nr: %d %d' % (ref_data_re[i][j], db_out_re[i][j], i, j)) + tc.set_result('FAILED') + if db_out_im[i][j] != ref_data_im[i][j]: + tc.append_log(2, 'Error in imag output data. Expected data: %d Data read: %d Iteration nr: %d %d' % (ref_data_im[i][j], db_out_im[i][j], i, j)) + tc.set_result('FAILED') ############################################################################### # End