com.sun.electric.tool.compaction
Class Compaction

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

public class Compaction
extends Tool

This is the Compaction tool. When compacting cell instances, the system only examines polygons within a protection frame of the cell border. This frame is the largest design rule distance in the technology. If the cell border is irregular, there may be objects that are not seen, causing the cell to overlap more than it should.


Field Summary
 
Fields inherited from class com.sun.electric.tool.Tool
prefs
 
Method Summary
static void compactNow()
          Method to compact the current cell.
static void compactNow(Cell cell)
          Method to compact the requested cell.
static Compaction getCompactionTool()
          Method to retrieve the singleton associated with the Compaction tool.
 void init()
          Method to initialize the Compaction tool.
static boolean isAllowsSpreading()
          Method to tell whether the compactor can spread circuitry apart, or just compact it.
static boolean isFactoryAllowsSpreading()
          Method to tell whether the factory default for the compactor is to spread circuitry apart, or just compact it.
static void setAllowsSpreading(boolean on)
          Method to set whether the compactor can spread circuitry apart, or just compact it.
 
Methods inherited from class com.sun.electric.tool.Tool
clearAnalysis, clearBackground, clearFixErrors, clearIncremental, clearOn, clearSynthesis, compareTo, findTool, getDiskSettings, getIndex, getListeners, getName, getNumTools, getProjectSettings, getSetting, 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
 

Method Detail

init

public void init()
Method to initialize the Compaction tool.

Overrides:
init in class Tool

getCompactionTool

public static Compaction getCompactionTool()
Method to retrieve the singleton associated with the Compaction tool.

Returns:
the Compaction tool.

compactNow

public static void compactNow()
Method to compact the current cell.


compactNow

public static void compactNow(Cell cell)
Method to compact the requested cell.


isAllowsSpreading

public static boolean isAllowsSpreading()
Method to tell whether the compactor can spread circuitry apart, or just compact it. The default is "false" (may only compact).

Returns:
true if the compactor can spread circuitry apart; false to just compact it.

setAllowsSpreading

public static void setAllowsSpreading(boolean on)
Method to set whether the compactor can spread circuitry apart, or just compact it.

Parameters:
on - true if the compactor can spread circuitry apart; false to just compact it.

isFactoryAllowsSpreading

public static boolean isFactoryAllowsSpreading()
Method to tell whether the factory default for the compactor is to spread circuitry apart, or just compact it.

Returns:
true if the compactor can spread circuitry apart in factory default.