com.sun.electric.tool
Class ToolSettings

java.lang.Object
  extended by com.sun.electric.tool.ToolSettings

public class ToolSettings
extends java.lang.Object


Method Summary
static void attachToGroup(Setting.RootGroup rootSettingGroup)
           
static Setting getCIFOutInstantiatesTopLevelSetting()
          Returns Setting to tell whether CIF Output merges boxes into complex polygons.
static Setting getCIFOutMergesBoxesSetting()
          Returns Setting to tell whether CIF Output merges boxes into complex polygons.
static Setting getCIFOutMimicsDisplaySetting()
          Returns Setting to tell whether CIF Output mimics the display.
static Setting getCIFOutScaleFactor()
          Returns Setting to tell the scale factor to use for CIF Output.
static Setting getConvergenceEpsilonSetting()
          Returns project preference to tell the Convergence Epsilon value for Logical Effort.
static Setting getCopyrightMessageSetting()
          Returns project preference to tell the copyright message that will be added to output decks.
static Setting getDefaultTechnologySetting()
          Returns project preference to tell default technique in Tech Palette.
static Setting getDXFScaleSetting()
          Returns project preference to tell the DXF scale.
static Setting getEnableNCCSetting()
           
static Setting getFoundrySetting()
           
static Setting getGDSCellNameLenMaxSetting()
          Returns Setting to tell the maximum length (number of chars) for Cell names in the GDS output file
static Setting getGDSInputScaleSetting()
          Method to set the scale to be applied when reading GDS.
static Setting getGDSOutDefaultTextLayerSetting()
          Returns Setting to tell the default GDS layer to use for the text of Export pins.
static Setting getGDSOutMergesBoxesSetting()
          Returns Setting to tell whether GDS Output merges boxes into complex polygons.
static Setting getGDSOutputConvertsBracketsInExportsSetting()
          Returns Setting to tell the state of whether the GDS writer converts brackets to underscores in export names.
static Setting getGDSOutUpperCaseSetting()
          Returns Setting to tell whether GDS Output makes all text upper-case.
static Setting getGDSOutWritesExportPinsSetting()
          Returns Setting to tell whether GDS Output writes pins at Export locations.
static Setting getGlobalFanoutSetting()
          Returns project preference to tell the Global Fanout for Logical Effort.
static Setting getGlobalSDCCommandsSetting()
           
static Setting getGndYSetting()
           
static Setting getIgnoreResistorsSetting()
          Returns project preference to tell whether resistors are ignored in the circuit.
static Setting getIncludeDateAndVersionInOutputSetting()
          Returns project preference to tell whether to include the date and Electric version in output files.
static Setting getKeeperRatioSetting()
          Returns project preference to tell the keeper size ratio for Logical Effort.
static Setting getMaxIterationsSetting()
          Returns project preference to tell the maximum number of iterations for Logical Effort.
static Setting getMaxMosWidthSetting()
           
static Setting getNmosWellHeightSetting()
           
static Setting getNumWorstPathsSetting()
           
static Setting getPmosWellHeightSetting()
           
static Setting getPWellProcessLayoutTechnologySetting()
          Method to tell whether the process is a PWell process.
static Setting getSchematicTechnologySetting()
          Returns project preference to tell the layout Technology to use when schematics are found.
static Setting getSimpleNameSetting()
           
static Setting getSizeQuantizationErrorSetting()
           
static Setting getSoftTechnologiesSetting()
          Returns project preference with additional technologies.
static Setting.Group getToolSettings(java.lang.String groupName)
          Returns project preference Group of a tool.
static Setting getUseCopyrightMessageSetting()
          Returns project preference to tell whether to add the copyright message to output decks.
static Setting getUseLocalSettingsSetting()
          Returns project preference to tell whether to use local settings for Logical Effort
static Setting getVddYSetting()
           
static Setting getVerilogUseAssignSetting()
          Returns setting to tell whether Verilog deck generation should use the Assign statement.
static Setting getVerilogUseTriregSetting()
          Returns setting to tell whether Verilog deck generation should use Trireg by default.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getToolSettings

public static Setting.Group getToolSettings(java.lang.String groupName)
Returns project preference Group of a tool.

Parameters:
groupName - name of a Setting Group
Returns:
project preference Group of a tool.

getDefaultTechnologySetting

public static Setting getDefaultTechnologySetting()
Returns project preference to tell default technique in Tech Palette.

Returns:
project preference to tell default technique in Tech Palette.

getSchematicTechnologySetting

public static Setting getSchematicTechnologySetting()
Returns project preference to tell the layout Technology to use when schematics are found. This is important in Spice deck generation (for example) because the Spice primitives may say "2x3" on them, but a real technology (such as "mocmos") must be found to convert these pure numbers to real spacings for the deck.

Returns:
project preference to tell the Technology to use when schematics are found.

getIncludeDateAndVersionInOutputSetting

public static Setting getIncludeDateAndVersionInOutputSetting()
Returns project preference to tell whether to include the date and Electric version in output files.

Returns:
project preference to tell whether to include the date and Electric version in output files.

getPWellProcessLayoutTechnologySetting

public static Setting getPWellProcessLayoutTechnologySetting()
Method to tell whether the process is a PWell process. If true, it will ignore the pwell spacing rule. The default is "true".

Returns:
true if the process is PWell

getSoftTechnologiesSetting

public static Setting getSoftTechnologiesSetting()
Returns project preference with additional technologies.

Returns:
project preference with additional technologies.

getIgnoreResistorsSetting

public static Setting getIgnoreResistorsSetting()
Returns project preference to tell whether resistors are ignored in the circuit. When ignored, they appear as a "short", connecting the two sides. When included, they appear as a component with different networks on either side. Returns project preference to tell whether resistors are ignored in the circuit.


getUseCopyrightMessageSetting

public static Setting getUseCopyrightMessageSetting()
Returns project preference to tell whether to add the copyright message to output decks.

Returns:
project preference to tell whether to add the copyright message to output decks.

getCopyrightMessageSetting

public static Setting getCopyrightMessageSetting()
Returns project preference to tell the copyright message that will be added to output decks.

Returns:
project preference to tell the copyright message that will be added to output decks.

getCIFOutMimicsDisplaySetting

public static Setting getCIFOutMimicsDisplaySetting()
Returns Setting to tell whether CIF Output mimics the display. To mimic the display, unexpanded cell instances are described as black boxes, instead of calls to their contents.

Returns:
Setting to tell whether CIF Output mimics the display.

getCIFOutMergesBoxesSetting

public static Setting getCIFOutMergesBoxesSetting()
Returns Setting to tell whether CIF Output merges boxes into complex polygons. This takes more time but produces a smaller output file.

Returns:
Setting to tell whether CIF Output merges boxes into complex polygons.

getCIFOutInstantiatesTopLevelSetting

public static Setting getCIFOutInstantiatesTopLevelSetting()
Returns Setting to tell whether CIF Output merges boxes into complex polygons. When this happens, a CIF "call" to the top cell is emitted.

Returns:
Setting to tell whether CIF Output merges boxes into complex polygons.

getCIFOutScaleFactor

public static Setting getCIFOutScaleFactor()
Returns Setting to tell the scale factor to use for CIF Output. The scale factor is used in cell headers to avoid precision errors.

Returns:
Setting to tell the scale factor to use for CIF Output.

getGDSOutMergesBoxesSetting

public static Setting getGDSOutMergesBoxesSetting()
Returns Setting to tell whether GDS Output merges boxes into complex polygons. This takes more time but produces a smaller output file.

Returns:
Setting to tell if GDS Output merges boxes into complex polygons.

getGDSOutWritesExportPinsSetting

public static Setting getGDSOutWritesExportPinsSetting()
Returns Setting to tell whether GDS Output writes pins at Export locations. Some systems can use this information to reconstruct export locations.

Returns:
Setting to tell whether GDS Output writes pins at Export locations.

getGDSOutUpperCaseSetting

public static Setting getGDSOutUpperCaseSetting()
Returns Setting to tell whether GDS Output makes all text upper-case. Some systems insist on this.

Returns:
Setting to tell whether GDS Output makes all text upper-case.

getGDSOutDefaultTextLayerSetting

public static Setting getGDSOutDefaultTextLayerSetting()
Returns Setting to tell the default GDS layer to use for the text of Export pins. Export pins are annotated with text objects on this layer. If this is negative, do not write Export pins.

Returns:
Setting to tell to set the default GDS layer to use for the text of Export pins.

getGDSOutputConvertsBracketsInExportsSetting

public static Setting getGDSOutputConvertsBracketsInExportsSetting()
Returns Setting to tell the state of whether the GDS writer converts brackets to underscores in export names.

Returns:
Setting to tell the state of whether the GDS writer converts brackets

getGDSCellNameLenMaxSetting

public static Setting getGDSCellNameLenMaxSetting()
Returns Setting to tell the maximum length (number of chars) for Cell names in the GDS output file

Returns:
Setting to tell the maximum length (number of chars) for Cell names in the GDS output file

getGDSInputScaleSetting

public static Setting getGDSInputScaleSetting()
Method to set the scale to be applied when reading GDS.

Returns:
the scale to be applied when reading GDS.

getDXFScaleSetting

public static Setting getDXFScaleSetting()
Returns project preference to tell the DXF scale. The DXF scale is:

Returns:
project preference to tell the DXF scale.

getUseLocalSettingsSetting

public static Setting getUseLocalSettingsSetting()
Returns project preference to tell whether to use local settings for Logical Effort

Returns:
project preference to tell whether to use local settings for Logical Effort

getGlobalFanoutSetting

public static Setting getGlobalFanoutSetting()
Returns project preference to tell the Global Fanout for Logical Effort.

Returns:
project preference to tell the Global Fanout for Logical Effort.

getConvergenceEpsilonSetting

public static Setting getConvergenceEpsilonSetting()
Returns project preference to tell the Convergence Epsilon value for Logical Effort.

Returns:
project preference to tell the Convergence Epsilon value for Logical Effort.

getMaxIterationsSetting

public static Setting getMaxIterationsSetting()
Returns project preference to tell the maximum number of iterations for Logical Effort.

Returns:
project preference to tell the maximum number of iterations for Logical Effort.

getKeeperRatioSetting

public static Setting getKeeperRatioSetting()
Returns project preference to tell the keeper size ratio for Logical Effort.

Returns:
project preference to tell the keeper size ratio for Logical Effort.

getVerilogUseAssignSetting

public static Setting getVerilogUseAssignSetting()
Returns setting to tell whether Verilog deck generation should use the Assign statement.

Returns:
setting to tell whether Verilog deck generation should use the Assign statement.

getVerilogUseTriregSetting

public static Setting getVerilogUseTriregSetting()
Returns setting to tell whether Verilog deck generation should use Trireg by default. The alternative is to use the "wire" statement.

Returns:
setting to tell whether Verilog deck generation should use Trireg by default.

getFoundrySetting

public static Setting getFoundrySetting()

getEnableNCCSetting

public static Setting getEnableNCCSetting()

getSizeQuantizationErrorSetting

public static Setting getSizeQuantizationErrorSetting()

getMaxMosWidthSetting

public static Setting getMaxMosWidthSetting()

getVddYSetting

public static Setting getVddYSetting()

getGndYSetting

public static Setting getGndYSetting()

getNmosWellHeightSetting

public static Setting getNmosWellHeightSetting()

getPmosWellHeightSetting

public static Setting getPmosWellHeightSetting()

getSimpleNameSetting

public static Setting getSimpleNameSetting()

getGlobalSDCCommandsSetting

public static Setting getGlobalSDCCommandsSetting()

getNumWorstPathsSetting

public static Setting getNumWorstPathsSetting()

attachToGroup

public static void attachToGroup(Setting.RootGroup rootSettingGroup)