File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
hdk/cl/developer_designs/cl_firesim/build/scripts Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -144,6 +144,10 @@ set_msg_config -id {DRC CKLD-2} -suppress
144
144
set_msg_config -id {DRC REQP-1853} -suppress
145
145
set_msg_config -id {Timing 38-436} -suppress
146
146
147
+ # Promote the following critical warnings to errors to prevent AGFI generation
148
+ # Design not completely routed
149
+ set_msg_config -id {Route 35-1} -new_severity " ERROR"
150
+
147
151
# Check that an email address has been set, else unset notify_via_sns
148
152
149
153
if {[string compare $notify_via_sns " 1" ] == 0} {
@@ -313,6 +317,12 @@ if {$implement} {
313
317
puts " \n AWS FPGA: ([ clock format [clock seconds] -format %T]) - Running post-route optimization" ;
314
318
impl_step route_phys_opt_design $TOP $post_phys_options $post_phys_directive $post_phys_preHookTcl $post_phys_postHookTcl
315
319
}
320
+ # Check if slack has improved after physopt.
321
+ set SLACK [get_property SLACK [get_timing_paths]]
322
+ if {$SLACK < 0} {
323
+ puts " \n FATAL: Design did not meet timing requirements. Terminating." ;
324
+ exit 3
325
+ }
316
326
317
327
# #############################
318
328
# Final Implmentation Steps
You can’t perform that action at this time.
0 commit comments