vpmDefinePowerSwitchInstance
vpmDefinePowerSwitchInstance(
t_cellName
t_instName
g_type
g_stage1Enable
[ ?stage2Enable g_stage2Enable ]
[ ?stage1Output g_stage1Output ]
[ ?stage2Output g_stage2Output ]
[ ?power g_power ]
[ ?powerSwitchable g_powerSwitchable ]
[ ?ground g_ground ]
[ ?groundSwitchable g_groundSwitchable ]
)
=> t / nil
Description
Registers transistor instances as power or ground switches.
Arguments
|
t_cellName
|
The name of the parent cell name of power switch instance.
|
|
t_instName
|
The name of the power switch instance.
|
|
g_type
|
Specifies header for power switch or footer for ground switch.
|
|
g_stage1Enable
|
The stage 1 enable expression for power switch instance.
|
|
?stage2Enable g_stage2Enable
|
|
|
The stage 2 enable expression for power switch instance.
|
|
?stage1Output g_stage1Output
|
|
|
The stage 1 output expression for power switch instance.
|
|
?stage2Output g_stage2Output
|
|
|
The stage 2 output expression for power switch instance.
|
|
g_power
|
The power pin of power switch instance.
|
|
?powerSwitchable g_powerSwitchable
|
|
|
The switchable pin of power switch instance.
|
|
g_ground
|
The ground pin of ground switch instance.
|
|
?groundSwitchable g_groundSwitchable
|
|
|
The switchable pin of ground switch instance.
|
Value Returned
|
t
|
The instances are registered successfully.
|
|
nil
|
The instances could not be registered.
|
Example
vpmDefinePowerSwitchInstance("analog_blk" "M0" type "header" ?power "S" ?powerSwitchable "D" stage1Enable "!G")
-
M0 is power switch instance in the analog_blk cell.
Related Topic
Handling of Low Power Special Cells
Return to top