File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -553,9 +553,15 @@ proc adi_project_run {project_name} {
553553 if { [string match " *VIOLATED*" $timing_string ] == 1 ||
554554 [string match " *Timing constraints are not met*" $timing_string ] == 1} {
555555 write_hw_platform -fixed -force -include_bit -file ${actual_project_name} .sdk/system_top_bad_timing.xsa
556+ if {[info exists ::env(ADI_GENERATE_BIN)]} {
557+ write_bitstream -bin_file ${actual_project_name} .sdk/system_top_bad_timing.bit
558+ }
556559 return -code error [format " ERROR: Timing Constraints NOT met!" ]
557560 } else {
558561 write_hw_platform -fixed -force -include_bit -file ${actual_project_name} .sdk/system_top.xsa
562+ if {[info exists ::env(ADI_GENERATE_BIN)]} {
563+ write_bitstream -bin_file ${actual_project_name} .sdk/system_top.bit
564+ }
559565 }
560566}
561567
@@ -700,4 +706,3 @@ proc adi_project_verify {project_name} {
700706 return -code error [format " ERROR: Timing Constraints NOT met!" ]
701707 }
702708}
703-
You can’t perform that action at this time.
0 commit comments