OpenSTA/sdc
Jaehyun Kim ce45133c84 test: Fix wrong API calls in Tcl tests and remove unnecessary catches
Replace wrong/non-existent command calls with correct OpenSTA APIs:
- sta::pin_slack → get_property $pin slack_max_rise
- sta::slow_drivers_cmd → sta::slow_drivers
- set_latch_borrow_limit → set_max_time_borrow
- remove_data_check → unset_data_check
- remove_clock → delete_clock
- reset_path → unset_path_exceptions
- sta::report_path_end 3-arg → sta::report_path_end2
- sta::design_power "NULL" → sta::design_power [sta::cmd_corner]
- report_path $path → sta::report_path_cmd $path
- connect_pin 3-arg → connect_pin net inst/port
- set_power_activity positional → -input_ports flag
- sta::is_clock [get_ports] → sta::is_clock [sta::get_port_pin]
- get_property $inst lib_name → liberty_cell/liberty_library
- get_property $pin net_name → [$pin net] + get_full_name
- get_property $net is_power → $net is_power method
- Removed unnecessary catch around sta::write_liberty

23 catch blocks removed. Tests now execute real API calls instead
of silently failing.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-20 15:32:08 +09:00
..
test test: Fix wrong API calls in Tcl tests and remove unnecessary catches 2026-02-20 15:32:08 +09:00
Clock.cc name, asString -> to_string, const 2025-03-30 15:27:53 -07:00
ClockGatingCheck.cc update copyright 2025-01-21 18:54:33 -07:00
ClockGroups.cc update copyright 2025-01-21 18:54:33 -07:00
ClockInsertion.cc update copyright 2025-01-21 18:54:33 -07:00
ClockLatency.cc update copyright 2025-01-21 18:54:33 -07:00
CycleAccting.cc name, asString -> to_string, const 2025-03-30 15:27:53 -07:00
DataCheck.cc name, asString -> to_string, const 2025-03-30 15:27:53 -07:00
DeratingFactors.cc update copyright 2025-01-21 18:54:33 -07:00
DisabledPorts.cc update copyright 2025-01-21 18:54:33 -07:00
ExceptionPath.cc disconnect_pin do not delete pin from exceptions 2025-11-13 10:31:43 -07:00
InputDrive.cc ReportPath const 2025-02-01 14:53:28 -08:00
PinPair.cc update copyright 2025-01-21 18:54:33 -07:00
PortDelay.cc name, asString -> to_string, const 2025-03-30 15:27:53 -07:00
PortExtCap.cc update copyright 2025-01-21 18:54:33 -07:00
Sdc.cc sdc: Fix dangling pointer issue in `Sdc::deleteDeratingFactors()` 2026-02-13 22:53:41 +09:00
Sdc.i rm Sta:findGroupPathPins 2025-11-08 18:42:41 -07:00
Sdc.tcl Fix for invalid operator error handling (#366) 2026-01-23 11:39:56 -08:00
SdcCmdComment.cc update copyright 2025-01-21 18:54:33 -07:00
SdcGraph.cc update copyright 2025-01-21 18:54:33 -07:00
Variables.cc factor variables out of sdc 2025-04-09 16:35:15 -07:00
WriteSdc.cc sdc ExceptionPathSet*->ExceptionPathSet 2025-11-08 13:38:07 -07:00
WriteSdcPvt.hh name, asString -> to_string, const 2025-03-30 15:27:53 -07:00