Commit 755114a3 authored by Jens Korinth's avatar Jens Korinth
Browse files

Only write bitstream in case of timing closure

parent 41e5c933
......@@ -78,6 +78,11 @@ namespace eval platform {
report_utilization -file utilization.txt
report_utilization -file utilization_userlogic.txt -cells [get_cells -hierarchical -filter {NAME =~ *target_ip_*}]
report_power -file power.txt
write_bitstream -force "${bitstreamname}.bit"
set wns [tapasco::get_wns_from_timing_report "timing.txt"]
if {$wns >= -0.3} {
write_bitstream -force "${bitstreamname}.bit"
} else {
error "timing failure, WNS: $wns"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment