fix `max_transition` constraint if condition bug

This commit is contained in:
Passant 2022-10-31 14:27:49 -07:00
parent e3292d98b9
commit 9f75ca7542
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ if {\
# -filter is supported by PT but not in the read_sdc
# add max_tran constraint as the default max_tran of the ss hd SCL is 10 so the violations are not caught in ss corners
# apply the constraint to hd cells at the ss corner on caravel/caravan
if {$::env(PROC_CORNER) == "s" & $::env(DESIGN) == "caravel" | $::env(DESIGN) == "caravan" } {
if { $::env(DESIGN) == "caravel" | $::env(DESIGN) == "caravan" & $::env(PROC_CORNER) == "s" } {
set max_tran 1.5
puts "\[INFO\]: Setting maximum transition of HD cells in slow process corner to: $max_tran"
puts "For HD cells in the hierarchy of $::env(DESIGN)"