mirror of
https://github.com/The-OpenROAD-Project/OpenSTA.git
synced 2026-05-30 00:24:12 +08:00
set_sdc -power
This commit is contained in:
@@ -194,7 +194,7 @@ proc check_path_divider { divider } {
|
|||||||
################################################################
|
################################################################
|
||||||
|
|
||||||
define_cmd_args "set_units" \
|
define_cmd_args "set_units" \
|
||||||
{[-capacitance cap_unit] [-resistance res_unit] [-time time_unit]\
|
{[-time time_unit] [-capacitance cap_unit] [-resistance res_unit]\
|
||||||
[-voltage voltage_unit] [-current current_unit] [-power power_unit]\
|
[-voltage voltage_unit] [-current current_unit] [-power power_unit]\
|
||||||
[-distance distance_unit]}
|
[-distance distance_unit]}
|
||||||
|
|
||||||
@@ -206,11 +206,12 @@ proc set_units { args } {
|
|||||||
keys {-capacitance -resistance -time -voltage -current -power -distance} \
|
keys {-capacitance -resistance -time -voltage -current -power -distance} \
|
||||||
flags {}
|
flags {}
|
||||||
check_argc_eq0 "set_units" $args
|
check_argc_eq0 "set_units" $args
|
||||||
check_unit "capacitance" -capacitance "f" keys
|
|
||||||
check_unit "time" -time "s" keys
|
check_unit "time" -time "s" keys
|
||||||
|
check_unit "capacitance" -capacitance "f" keys
|
||||||
|
check_unit "resistance" -resistance "ohm" keys
|
||||||
check_unit "voltage" -voltage "v" keys
|
check_unit "voltage" -voltage "v" keys
|
||||||
check_unit "current" -current "A" keys
|
check_unit "current" -current "A" keys
|
||||||
check_unit "resistance" -resistance "ohm" keys
|
check_unit "power" -power "W" keys
|
||||||
check_unit "distance" -distance "m" keys
|
check_unit "distance" -distance "m" keys
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user