public class FillGeneratorTool extends Tool
Modifier and Type | Class and Description |
---|---|
static class |
FillGeneratorTool.FillTypeEnum |
static class |
FillGeneratorTool.Units |
Modifier and Type | Field and Description |
---|---|
protected CapCell |
capCell |
FillGenConfig |
config |
static FillGeneratorTool.Units |
LAMBDA |
protected Library |
lib |
java.util.List<Cell> |
masters |
static ExportConfig |
PERIMETER |
static ExportConfig |
PERIMETER_AND_INTERNAL |
protected com.sun.electric.tool.generator.layout.fill.Floorplan[] |
plans |
static FillGeneratorTool.Units |
TRACKS |
Constructor and Description |
---|
FillGeneratorTool() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
getOrientation() |
static FillGeneratorTool |
getTool() |
protected void |
initFillParameters(boolean metalFlex,
boolean hierFlex) |
static Cell |
makeFillCell(Library lib,
com.sun.electric.tool.generator.layout.fill.Floorplan[] plans,
int botLayer,
int topLayer,
CapCell capCell,
TechType tech,
ExportConfig expCfg,
boolean metalFlex,
boolean hierFlex) |
void |
makeGallery() |
void |
setConfig(FillGenConfig config) |
Cell |
standardMakeFillCell(int loLayer,
int hiLayer,
TechType tech,
ExportConfig exportConfig,
int[] tiledSizes,
boolean metalFlex)
Create a fill cell using the current library, fill cell width, fill cell
height, layer orientation, and reserved spaces for each layer.
|
void |
writeLibrary(int backupScheme) |
clearAnalysis, clearBackground, clearFixErrors, clearIncremental, clearOn, clearSynthesis, compareTo, findTool, getIndex, getListeners, getName, getNumTools, getProjectSettings, getTools, init, initAllTools, isAnalysis, isBackground, isFixErrors, isIncremental, isOn, isSynthesis, setAnalysis, setBackground, setFixErrors, setIncremental, setOn, setSynthesis, setVarInJob, testAll, toString
public FillGenConfig config
protected Library lib
public java.util.List<Cell> masters
protected CapCell capCell
protected com.sun.electric.tool.generator.layout.fill.Floorplan[] plans
public static final FillGeneratorTool.Units LAMBDA
public static final FillGeneratorTool.Units TRACKS
public static final ExportConfig PERIMETER
public static final ExportConfig PERIMETER_AND_INTERNAL
public static FillGeneratorTool getTool()
public void setConfig(FillGenConfig config)
protected boolean getOrientation()
protected void initFillParameters(boolean metalFlex, boolean hierFlex)
public static Cell makeFillCell(Library lib, com.sun.electric.tool.generator.layout.fill.Floorplan[] plans, int botLayer, int topLayer, CapCell capCell, TechType tech, ExportConfig expCfg, boolean metalFlex, boolean hierFlex)
public Cell standardMakeFillCell(int loLayer, int hiLayer, TechType tech, ExportConfig exportConfig, int[] tiledSizes, boolean metalFlex)
loLayer
- the lower layer. This may be 1 through 6. Layer 1 means
build a capacitor using MOS transistors between Vdd and ground.hiLayer
- the upper layer. This may be 2 through 6. Note that hiLayer
must be >= loLayer.exportConfig
- may be PERIMETER in which case exports are
placed along the perimeter of the cell for the top two layers. Otherwise
exportConfig must be PERIMETER_AND_INTERNAL in which case exports are
placed inside the perimeter of the cell for the bottom layer.tiledSizes
- Array specifying composite Cells we should build by
concatonating fill cells. For example int[] {2, 4, 7} means we shouldpublic void makeGallery()
public void writeLibrary(int backupScheme)