set_clock_uncertainty -rise -fall parsing

Signed-off-by: James Cherry <cherry@parallaxsw.com>
This commit is contained in:
James Cherry 2022-07-29 16:42:00 -07:00
parent feac4b5d18
commit 1aa348f6fe
3 changed files with 7 additions and 1 deletions

Binary file not shown.

Binary file not shown.

View File

@ -1668,7 +1668,13 @@ proc set_clock_uncertainty { args } {
if { [info exists keys(-to)] } {
set to_key "-to"
set to_rf "rise_fall"
if { [info exists flags(-rise)] } {
set to_rf "rise"
} elseif { [info exists flags(-fall)] } {
set to_rf "fall"
} else {
set to_rf "rise_fall"
}
} elseif { [info exists keys(-rise_to)] } {
set to_key "-rise_to"
set to_rf "rise"