oaheader.gif
topics.gif classes.gif classes.gif exceptions.gif progguide.gif infomodel.gif index.gif help.gif
 
 
 

Units

  [UNITS
     [DATABASE MICRONS LEFconvertFactor ;]
     [CAPACITANCE PICOFARADS convertFactor ;]
     [RESISTANCE OHMS convertFactor ;]
     [POWER MILLIWATTS convertFactor ;]
     [CURRENT MILLIAMPS convertFactor ;]
     [VOLTAGE VOLTS convertFactor ;]
     [FREQUENCY MEGAHERTZ convertFactor ;]
   END UNITS]

The LEF UNITS DATABASE is stored in OpenAccess using the oaTech::dbuPerUU attribute. This value is used to convert all LEF data to the correct database units.

The other UNITS attributes are stored as oaIntProps on the LEF Legacy oaHierProp, with property names according to the following table.

LEF Attribute oaHierProp Property Name Units
TIME TIME nanosecond
CAPACITANCE CAPACITANCE picofarad
RESISTANCE RESISTANCE ohm
POWER POWER milliwatt
CURRENT CURRENT milliamp
VOLTAGE VOLTAGE volt
FREQUENCY FREQUENCY megahertz

CAPACITANCE PICOFARADS convertFactor

This value is stored in an oaIntProp named TIME_UNIT on the LEF Legacy oaHierProp. See the LEF Legacy property. The values in the OpenAccess database are stored in SI units that correspond to LEF, so this convert factor is not used.

CURRENT MILLIAMPS convertFactor

This value is stored in an oaIntProp named CURRENT_UNIT on the LEF Legacy oaHierProp. See the LEF Legacy property. The values in the OpenAccess database are stored in SI units that correspond to LEF, so this convert factor is not used.

DATABASE MICRONS LEFconvertFactor

The Database Units per Micron convert factor is stored in the oaTech::DBUPerUU attribute. The view type for a LEF cellview is always oacMaskLayout. The API to obtain this factor is:

   oaUInt4 oaTech::getDBUPerUU(const oaViewType *viewType) const;

This value is also used to convert all distance and area values between LEF and Database units.

FREQUENCY MEGAHERTZ convertFactor

This value is stored in an oaIntProp named FREQUENCY_UNIT on the "LEF Legacy" oaHierProp. See the LEF Legacy property. The values in the OpenAccess database are stored in SI units that correspond to LEF, so this convert factor is not used.

POWER MILLIWATTS convertFactor

This value is stored in an oaIntProp named POWER_UNIT on the LEF Legacy oaHierProp. See the LEF Legacy property. The values in the OpenAccess database are stored in SI units that correspond to LEF, so this convert factor is not used.

RESISTANCE OHMS convertFactor

This value is stored in an oaIntProp named RESISTANCE_UNIT on the "LEF Legacy" oaHierProp. See the LEF Legacy property. The values in the OpenAccess database are stored in SI units that correspond to LEF, so this convert factor is not used.

VOLTAGE VOLTS convertFactor

This value is stored in an oaIntProp named VOLTAGE_UNIT on the LEF Legacy oaHierProp. See the LEF Legacy property. The values in the OpenAccess database are stored in SI units that correspond to LEF, so this convert factor is not used.