define_corners require at least 1 corner

Signed-off-by: James Cherry <cherry@parallaxsw.com>
This commit is contained in:
James Cherry 2024-05-12 16:00:03 -07:00
parent 05e38d730a
commit e448ed3dea
1 changed files with 3 additions and 0 deletions

View File

@ -3666,6 +3666,9 @@ proc define_corners { args } {
if { [get_libs -quiet *] != {} } {
sta_error 482 "define_corners must be called before read_liberty."
}
if { [llength $args] == 0 } {
sta_error 577 "define_corners must define at least one corner."
}
define_corners_cmd $args
}