-
Notifications
You must be signed in to change notification settings - Fork 1
Power
Mitch Bailey edited this page Oct 16, 2018
·
3 revisions
- Power settings are required for all power nets, both internal and external.
Ex:VSS power 0
- Other internal and external nets may be set to specify minimum, maximum, and/or logic levels.
Ex:A1 min@0 sim@0 [email protected]
- Nets may be specified at any level of the hierarchy or at the subcircuit level.
Ex:VDD
The top level VDD net
/Xtop/VDD
The VDD net at a deeper hierarchy level
*(inv2)/VDD
The VDD net in all instances of the inv2 subcircuit - Macros can defined for use in calculations.
Ex:#define Vth 0.2
bias min@Vth
- In addition to the normal '+-*/()' operators, '<>' may be used to get the minimum or maximum of 2 values. Precedence for '<>' is the same as multiplication or division.
Ex:bias max@VDD<Vth[NCH]
If VDD < Vth[NCH], the maximum ofbias
would be limited to 0V. - Model Vth specified in the model file can be used in calculations.
Ex:pbias max@VDD+2*Vth[PCH]
- Top level nets without special characters automatically become macros.
Ex:VDD power 1.2
VDDH power VDD/2
- Use
port
to define external min/max for input nets.
Ex:A1 port min@VSS max@VDD
- Use
resistor
to force resistor calculations.
Ex:R0 resistor
- Multiple settings for the same net are allowed if there is no conflict.
Ex:A1 port min@VSS max@VDD
A1 sim@VSS
- Power can be grouped into families.
Ex:#define family VDD_TOP VDD,VDDB
- Using macros also creates a family relationship.
Ex:VDDA power VDD
VDD and VDDA belong to the same family (VDD).
VDDH analog VDD/2
VDDH also belongs to the VDD family. - Interaction between families can be restricted or prohibited. This allows error detection between power with the same voltage.
Ex:#define family VDD VDD,VDDA
VDDC prohibit@VDD
Any connection from VDDC to VDD or VDDA is an error
VDDB permit@VDD
Any connection from VDDB to power other than VDD or VDDA is an error - Power settings for blocks may be defined in separate files (instance power settings).
Ex:monitor circuit monitor.normal
Read settings for the monitor subcircuit frompower.monitor.normal
/Xtop/Xmonitor instance monitor.standby
Read settings for the instance/Xtop/Xmonitor
frompower.monitor.standby
- External power settings in instance power files are ignored, but the parent nets must be defined as power.
- External inputs in instance power files are changed to expected values.
- Internal nets in instance power files are defined using power values overridden with parent values.