Skip to content
Snippets Groups Projects
Unverified Commit 83973c38 authored by auphelia's avatar auphelia Committed by GitHub
Browse files

Merge pull request #784 from Xilinx/fix/test_cybsec

Update resource estimates in cybsec test
parents 7aa80c0f 6e31105f
No related branches found
No related tags found
No related merge requests found
...@@ -222,7 +222,7 @@ def test_end2end_cybsec_mlp_build(QONNX_export): ...@@ -222,7 +222,7 @@ def test_end2end_cybsec_mlp_build(QONNX_export):
assert est_cycles_dict["MatrixVectorActivation_1"] == 64 assert est_cycles_dict["MatrixVectorActivation_1"] == 64
with open(est_res_report, "r") as f: with open(est_res_report, "r") as f:
est_res_dict = json.load(f) est_res_dict = json.load(f)
assert est_res_dict["total"]["LUT"] == 11360.0 assert est_res_dict["total"]["LUT"] == 7904.0
assert est_res_dict["total"]["BRAM_18K"] == 36.0 assert est_res_dict["total"]["BRAM_18K"] == 36.0
shutil.copytree(output_dir + "/deploy", get_checkpoint_name("build", QONNX_export)) shutil.copytree(output_dir + "/deploy", get_checkpoint_name("build", QONNX_export))
......
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