Skip to content
Snippets Groups Projects
Commit 39de0655 authored by Zanting's avatar Zanting
Browse files

Verify active

parent de5ee252
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment