Skip to content

Commit

Permalink
Add checking of success to force an error if not
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigomelo9 committed Jun 30, 2024
1 parent f027f22 commit daf7f7c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pyfpga/templates/vivado.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ open_project {{ PROJECT }}
reset_run synth_1
launch_runs synth_1
wait_on_run synth_1
#report_property [get_runs synth_1]
if { [get_property STATUS [get_runs synth_1]] ne "synth_design Complete!" } { exit 1 }

{{ POSTSYN }}
{% endif %}
Expand All @@ -60,6 +62,8 @@ wait_on_run synth_1
reset_run impl_1
launch_runs impl_1
wait_on_run impl_1
#report_property [get_runs impl_1]
if { [get_property STATUS [get_runs impl_1]] ne "route_design Complete!" } { exit 1 }

{{ POSTPAR }}
{% endif %}
Expand Down

0 comments on commit daf7f7c

Please sign in to comment.