com.sun.electric.tool.sc
Class SilComp

java.lang.Object
  extended by com.sun.electric.tool.Tool
      extended by com.sun.electric.tool.sc.SilComp
All Implemented Interfaces:
java.lang.Comparable

public class SilComp
extends Tool

This is the Silicon Compiler tool.


Field Summary
static java.lang.String SCLIBNAME
           
 
Fields inherited from class com.sun.electric.tool.Tool
prefs
 
Method Summary
static double getFeedThruSize()
          Method to return the size of feed-throughs.
static double getHorizArcWidth()
          Method to return the width of the horizontal routing arc.
static java.lang.String getHorizRoutingArc()
          Method to return the horizontal routing arc.
static java.lang.String getMainPowerArc()
          Method to return the main power and ground arc.
static double getMainPowerWireWidth()
          Method to return the width of the main power and ground arc.
static double getMinActiveDistance()
          Method to return the minimum active distance.
static double getMinMetalSpacing()
          Method to return the minimum metal spacing.
static double getMinPortDistance()
          Method to return the minimum port distance.
static int getNumberOfRows()
          Method to return the number of rows of cells to make.
static double getNWellHeight()
          Method to return the height of the n-well.
static double getNWellOffset()
          Method to return the offset of the n-well.
static double getPowerWireWidth()
          Method to return the width of the power and ground arc.
static double getPWellHeight()
          Method to return the height of the p-well.
static double getPWellOffset()
          Method to return the offset of the p-well.
static SilComp getSilCompTool()
          Method to retrieve the singleton associated with the Silicon Compiler tool.
static double getVertArcWidth()
          Method to return the width of the vertical routing arc.
static java.lang.String getVertRoutingArc()
          Method to return the vertical routing arc.
static double getViaSize()
          Method to return the size of vias.
 void init()
          Method to initialize the Silicon Compiler tool.
static void setFeedThruSize(double off)
          Method to set the size of feed-throughs.
static void setHorizArcWidth(double wid)
          Method to set the width of the horizontal routing arc.
static void setHorizRoutingArc(java.lang.String arcName)
          Method to set the horizontal routing arc.
static void setMainPowerArc(java.lang.String arcName)
          Method to set the main power and ground arc.
static void setMainPowerWireWidth(double wid)
          Method to set the width of the main power and ground arc.
static void setMinActiveDistance(double off)
          Method to set the minimum active distance.
static void setMinMetalSpacing(double off)
          Method to set the minimum metal spacing.
static void setMinPortDistance(double off)
          Method to set the minimum port distance.
static void setNumberOfRows(int rows)
          Method to set the number of rows of cells to make.
static void setNWellHeight(double hei)
          Method to set the height of the n-well.
static void setNWellOffset(double off)
          Method to set the offset of the n-well.
static void setPowerWireWidth(double wid)
          Method to set the width of the power and ground arc.
static void setPWellHeight(double hei)
          Method to set the height of the p-well.
static void setPWellOffset(double off)
          Method to set the offset of the p-well.
static void setVertArcWidth(double wid)
          Method to set the width of the vertical routing arc.
static void setVertRoutingArc(java.lang.String arcName)
          Method to set the vertical routing arc.
static void setViaSize(double off)
          Method to set the size of vias.
 
Methods inherited from class com.sun.electric.tool.Tool
clearAnalysis, clearBackground, clearFixErrors, clearIncremental, clearOn, clearSynthesis, compareTo, findTool, getIndex, getListeners, getName, getNumTools, getProjectSettings, getTools, initAllTools, initProjectSettings, isAnalysis, isBackground, isFixErrors, isIncremental, isOn, isSynthesis, makeBooleanSetting, makeDoubleSetting, makeIntSetting, makeLongSetting, makeStringSetting, setAnalysis, setBackground, setFixErrors, setIncremental, setOn, setSynthesis, setVarInJob, testAll, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

SCLIBNAME

public static final java.lang.String SCLIBNAME
See Also:
Constant Field Values
Method Detail

init

public void init()
Method to initialize the Silicon Compiler tool.

Overrides:
init in class Tool

getSilCompTool

public static SilComp getSilCompTool()
Method to retrieve the singleton associated with the Silicon Compiler tool.

Returns:
the SilComp tool.

getNumberOfRows

public static int getNumberOfRows()
Method to return the number of rows of cells to make. The default is 4.

Returns:
the number of rows of cells to make.

setNumberOfRows

public static void setNumberOfRows(int rows)
Method to set the number of rows of cells to make.

Parameters:
rows - the new number of rows of cells to make.

getHorizRoutingArc

public static java.lang.String getHorizRoutingArc()
Method to return the horizontal routing arc. The default is "Metal-1".

Returns:
the name of the horizontal routing arc.

setHorizRoutingArc

public static void setHorizRoutingArc(java.lang.String arcName)
Method to set the horizontal routing arc.

Parameters:
arcName - name of new horizontal routing arc.

getHorizArcWidth

public static double getHorizArcWidth()
Method to return the width of the horizontal routing arc. The default is 4.

Returns:
the width of the horizontal routing arc.

setHorizArcWidth

public static void setHorizArcWidth(double wid)
Method to set the width of the horizontal routing arc.

Parameters:
wid - the new width of the horizontal routing arc.

getVertRoutingArc

public static java.lang.String getVertRoutingArc()
Method to return the vertical routing arc. The default is "Metal-2".

Returns:
the name of the vertical routing arc.

setVertRoutingArc

public static void setVertRoutingArc(java.lang.String arcName)
Method to set the vertical routing arc.

Parameters:
arcName - name of new vertical routing arc.

getVertArcWidth

public static double getVertArcWidth()
Method to return the width of the vertical routing arc. The default is 4.

Returns:
the width of the vertical routing arc.

setVertArcWidth

public static void setVertArcWidth(double wid)
Method to set the width of the vertical routing arc.

Parameters:
wid - the new width of the vertical routing arc.

getPowerWireWidth

public static double getPowerWireWidth()
Method to return the width of the power and ground arc. The default is 5.

Returns:
the width of the power and ground arc.

setPowerWireWidth

public static void setPowerWireWidth(double wid)
Method to set the width of the power and ground arc.

Parameters:
wid - the new width of the power and ground arc.

getMainPowerWireWidth

public static double getMainPowerWireWidth()
Method to return the width of the main power and ground arc. The default is 8.

Returns:
the width of the main power and ground arc.

setMainPowerWireWidth

public static void setMainPowerWireWidth(double wid)
Method to set the width of the main power and ground arc.

Parameters:
wid - the new width of the main power and ground arc.

getMainPowerArc

public static java.lang.String getMainPowerArc()
Method to return the main power and ground arc. The default is "Horizontal Arc".

Returns:
the name of the main power and ground arc.

setMainPowerArc

public static void setMainPowerArc(java.lang.String arcName)
Method to set the main power and ground arc.

Parameters:
arcName - name of new main power and ground arc.

getPWellHeight

public static double getPWellHeight()
Method to return the height of the p-well. The default is 41.

Returns:
the height of the p-well.

setPWellHeight

public static void setPWellHeight(double hei)
Method to set the height of the p-well.

Parameters:
hei - the new height of the p-well.

getPWellOffset

public static double getPWellOffset()
Method to return the offset of the p-well. The default is 0.

Returns:
the offset of the p-well.

setPWellOffset

public static void setPWellOffset(double off)
Method to set the offset of the p-well.

Parameters:
off - the new offset of the p-well.

getNWellHeight

public static double getNWellHeight()
Method to return the height of the n-well. The default is 51.

Returns:
the height of the n-well.

setNWellHeight

public static void setNWellHeight(double hei)
Method to set the height of the n-well.

Parameters:
hei - the new height of the n-well.

getNWellOffset

public static double getNWellOffset()
Method to return the offset of the n-well. The default is 0.

Returns:
the offset of the n-well.

setNWellOffset

public static void setNWellOffset(double off)
Method to set the offset of the n-well.

Parameters:
off - the new offset of the n-well.

getViaSize

public static double getViaSize()
Method to return the size of vias. The default is 4.

Returns:
the size of vias.

setViaSize

public static void setViaSize(double off)
Method to set the size of vias.

Parameters:
off - the new size of vias.

getMinMetalSpacing

public static double getMinMetalSpacing()
Method to return the minimum metal spacing. The default is 6.

Returns:
the minimum metal spacing.

setMinMetalSpacing

public static void setMinMetalSpacing(double off)
Method to set the minimum metal spacing.

Parameters:
off - the new minimum metal spacing.

getFeedThruSize

public static double getFeedThruSize()
Method to return the size of feed-throughs. The default is 16.

Returns:
the size of feed-throughs.

setFeedThruSize

public static void setFeedThruSize(double off)
Method to set the size of feed-throughs.

Parameters:
off - the new size of feed-throughs.

getMinPortDistance

public static double getMinPortDistance()
Method to return the minimum port distance. The default is 8.

Returns:
the minimum port distance.

setMinPortDistance

public static void setMinPortDistance(double off)
Method to set the minimum port distance.

Parameters:
off - the new minimum port distance.

getMinActiveDistance

public static double getMinActiveDistance()
Method to return the minimum active distance. The default is 8.

Returns:
the minimum active distance.

setMinActiveDistance

public static void setMinActiveDistance(double off)
Method to set the minimum active distance.

Parameters:
off - the new minimum active distance.