Professional Documents
Culture Documents
Design For Power Gating - and What UPF Can, and Cannot, Do For You - PPT
Design For Power Gating - and What UPF Can, and Cannot, Do For You - PPT
TC2
Design for Power Gating –
and what UPF can and cannot do for you
David Flynn
David.Flynn@arm.com – ARM Fellow, R&D
David.Flynn@ecs.soton.ac.uk – Visiting Professor
David Flynn 2
Outline
Power gates
ground.
GATED VDD
• “Header” PMOS switches shown
– Basic un-buffered switch VDD SUPPLY
create_power_domain TOP
VDD SUPPLY
create_power_domain PD –elements { uBlock }
Output Clamping
ISOLATED
VSS GROUND
special CLAMP cells are introduced VDD SUPPLY
VSS GROUND
the name for output clamping VDD SUPPLY
“X” CLAMPED
(HIGH)
set_isolation vsoc -domain PD -isolation_power_net VDD \
-isolation_ground_net VSS \ CLAMPHI ISOLATED
SIGNAL
-clamp_value 0 -applies_to outputs
set_isolation_control vsoc –domain PD \ VSS GROUND
-isolation_signal N_CLAMPLO -isolation_sense low -location parent
David Flynn 9
• Recommended
“chained” VDD_SW
VDDA
scheme N_CLAMP
testability N_PWR_ACK
create_power_switch PG -domain PD \
-input_supply_port {VDD VDD } \
-output_supply_port {VDD_SW VDD_SW } \
-control_port {N_PWR N_PWR } \
-ack_port {N_PWR_ACK N_PWR_ACK {N_PWR_REQ}} \
-on_state {on_state PD {!N_PWR }}
David Flynn 10
• Power gates
N_PWR
• Output clamps
Finally, need to define GATED VDD
required afterwards
OUTPUTS
• “N_CLAMP” on
RESET
(INACTIVE)
ideally (ENABLE)
N_RESET
WHEN
CLAMPED/
RESET
• “N_CLAMP” on clock
enable needs (even N_CLAMP
CLKENABLE
N_CLAMP
N_RESET
N_PWR
David Flynn 13
SRPG Sequencing
• SRPG CLOCK
needs N_CLAMP
explicit SAVE
RESTORE
N_PWR
• Depends
on the RET CLOCK
– Library N_RETAIN
N_RESET
N_PWR
David Flynn 15
SRPG controller
(CLAMP_ACK) h CLAMP_REQ
subsystem ports (N_RETAIN_ACK)
r Power Gating
N_RETAIN_REQ
o Controller
• And to clock and (N_RESET_ACK) n State Machine N_RESET_REQ
i
reset controller (N_RESET_ACK)
z
N_RESET_REQ
N_START_ACK e N_START_REQ
• For design-reuse N_PWR_ACK r
N_PWR_REQ
s
across generations
consider generic SYSTEM CLOCK
VSS
asynch handshakes
David Flynn 16
• Well understood
VDD (“always on”)
that Clocks and
resets are made “WAKE-UP” REQ S
CLOCK ACK
y
n M CLOCK REQ
c
• Same true for (CLAMP_ACK) h
u
l CLAMP_REQ
r Power Gating t
retention and (N_RETAIN_ACK)
o Controller i
N_RETAIN_REQ
distributed
VDD_SW
VDDA
power gating
need to
ensure good
switched rail
VDD_SW
grid VDDA
• Ensure good
current
sharing across
switches
• Suit “soft start” N_PWR_START N_PWR_MAIN
David Flynn 19
Conclusions – PG/UPF
Conclusions – SRPG/UPF
Questions?
Thank You