-
Notifications
You must be signed in to change notification settings - Fork 5
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 max@1.2 - Nets may be specified at any level of the hierarchy or at the subcircuit level.
Ex:VDDThe top level VDD net
/Xtop/VDDThe VDD net at a deeper hierarchy level
*(inv2)/VDDThe 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 ofbiaswould 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
portto define external min/max for input nets.
Ex:A1 port min@VSS max@VDD - Use
resistorto 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 VDDVDD and VDDA belong to the same family (VDD).
VDDH analog VDD/2VDDH 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@VDDAny connection from VDDC to VDD or VDDA is an error
VDDB permit@VDDAny 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.normalRead settings for the monitor subcircuit frompower.monitor.normal
/Xtop/Xmonitor instance monitor.standbyRead settings for the instance/Xtop/Xmonitorfrompower.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.