set_power_activity output pins
Signed-off-by: James Cherry <cherry@parallaxsw.com>
This commit is contained in:
parent
2b62b60ed5
commit
bfdab3a6e4
|
|
@ -241,11 +241,9 @@ proc set_power_activity { args } {
|
||||||
if { [info exists keys(-pins)] } {
|
if { [info exists keys(-pins)] } {
|
||||||
set pins [get_pins $keys(-pins)]
|
set pins [get_pins $keys(-pins)]
|
||||||
foreach pin $pins {
|
foreach pin $pins {
|
||||||
if { [get_property $pin "direction"] == "input" } {
|
|
||||||
set_power_pin_activity $pin $activity $duty
|
set_power_pin_activity $pin $activity $duty
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
proc power_find_nan { } {
|
proc power_find_nan { } {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue