Skip to content
Snippets Groups Projects
Unverified Commit d31c45ee authored by Yaman Umuroglu's avatar Yaman Umuroglu Committed by GitHub
Browse files

[Test] more tolerance in rtlsim throughput test

parent e27d598e
No related branches found
No related tags found
No related merge requests found
......@@ -241,11 +241,11 @@ def test_end2end_tfc_w1a1_throughput_test_rtlsim():
# run through IP-stitched rtlsim with increasing batch sizes and
# check the number of cycles it takes to execute
ret = throughput_test_rtlsim(model, 1)
assert ret["cycles"] == 205
assert np.isclose(ret["cycles"], 205, atol=5)
ret = throughput_test_rtlsim(model, 10)
assert ret["cycles"] == 844
assert np.isclose(ret["cycles"], 844, atol=10)
ret = throughput_test_rtlsim(model, 100)
assert ret["cycles"] == 7234
assert np.isclose(ret["cycles"], 7234, atol=100)
@pytest.mark.vivado
......
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