From 1ab4a99de56fde86cad848791d0b93793868dc3d Mon Sep 17 00:00:00 2001 From: James Cherry Date: Thu, 7 Apr 2022 18:57:58 -0700 Subject: [PATCH] max_slew/cap/fanout_check slack/limit convenience functions Signed-off-by: James Cherry --- tcl/Search.tcl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tcl/Search.tcl b/tcl/Search.tcl index 64a3b636..532dd301 100644 --- a/tcl/Search.tcl +++ b/tcl/Search.tcl @@ -1109,17 +1109,17 @@ proc report_clock_min_period { args } { # max slew slack / limit proc max_slew_check_slack_limit {} { - return [eval [sta::max_slew_check_slack] / [sta::max_slew_check_limit]] + return [expr "[sta::max_slew_check_slack] / [sta::max_slew_check_limit]"] } # max cap slack / limit proc max_capacitance_check_slack_limit {} { - return [eval [sta::max_capacitance_check_slack] / [sta::max_capacitance_check_limit]] + return [expr [sta::max_capacitance_check_slack] / [sta::max_capacitance_check_limit]] } # max fanout slack / limit proc max_fanout_check_slack_limit {} { - return [eval [sta::max_fanout_check_slack] / [sta::max_fanout_check_limit]] + return [expr [sta::max_fanout_check_slack] / [sta::max_fanout_check_limit]] } # sta namespace end.