Magic Blue Smoke

 

Simulating Retention behaviour using UPF

Last week, we saw on how to simulate retention flops using $functions as well as using adhoc methods to simulate similar behaviour. We have been hearing a lot about power standards helping us in solving this problem. Here is how UPF can help us in simulating this behaviour

set_retention gated_retention -domain IGATED_DOMAIN -retention_power_net VDD -retention_ground_net VSS

set_retention_control gated_retention -domain IGATED_DOMAIN -save_signal {power_sequence/save high} -restore_signal {power_sequence/restore high}

map_retention_cell gated_retention -domain IGATED_DOMAIN -lib_cell RETENTION_FLOP

Waveform given below shows snap-shot of the simulation behaviour

picture1.jpg