Skip to content
Snippets Groups Projects
Commit 596761b8 authored by Yaman Umuroglu's avatar Yaman Umuroglu
Browse files

[ZYNQ] generate xml report

parent a58893ac
No related branches found
No related tags found
No related merge requests found
......@@ -258,6 +258,9 @@ class MakeZYNQProject(Transformation):
raise Exception("Synthesis failed, no hardware handoff file found")
deploy_hwh_name = vivado_pynq_proj_dir + "/resizer.hwh"
copy(hwh_name, deploy_hwh_name)
# filename for the synth utilization report
synth_report_filename = vivado_pynq_proj_dir + "/synth_report.xml"
model.set_metadata_prop("vivado_synth_rpt", synth_report_filename)
return (model, False)
......
......@@ -395,4 +395,7 @@ make_wrapper -files [get_files top.bd] -import -fileset sources_1 -top
launch_runs -to_step write_bitstream impl_1 -jobs %d
wait_on_run [get_runs impl_1]
# generate synthesis report
open_run synth_1 -name synth_1
report_utilization -hierarchical -hierarchical_depth 4 -file synth_report.xml -format xml
"""
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