public class GDS extends Geometry
| Modifier and Type | Class and Description |
|---|---|
static class |
GDS.GDSPreferences |
Geometry.CellGeom, Geometry.PolyWithGeom, Geometry.VisitorOutput.OutputPreferences, Output.WriteJELIB| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
concatStr
separator string for lib + cell concatanated cell names
|
cellGeoms, numCells, numVisited, topCelldataOutputStream, errorLogger, filePath, printWriter, quiet, stringWriter| Modifier and Type | Method and Description |
|---|---|
static void |
buildUniqueNames(Cell cell,
java.util.Map<Cell,java.lang.String> cellNames,
int maxLen,
boolean upperCase)
Recursive method to add all cells in the hierarchy to the hashMap
with unique names.
|
protected void |
done()
Abstract method called after traversal
|
java.util.Map<Cell,java.lang.String> |
getCellNames()
Get the name map.
|
protected boolean |
includeGeometric()
Method to determine whether or not to include the original Geometric with a Poly
|
static java.lang.String |
makeUniqueName(Cell cell,
java.util.Map<Cell,java.lang.String> cellNames,
int maxLen,
boolean upperCase) |
protected boolean |
mergeGeom(int hierLevelsFromBottom)
Method to determine whether or not to merge geometry.
|
void |
outputDouble(double data)
Method to write a GDSII representation of a double.
|
protected void |
start()
Abstract method called before hierarchy traversal
|
protected void |
writeCellGeom(Geometry.CellGeom cellGeom)
Method to write cellGeom
|
protected void |
writeNodable(Nodable no) |
protected void |
writePoly(PolyBase poly,
int layerNumber,
int layerType) |
getMaxHierDepth, writeCell, writeCellcloseBinaryOutputStream, closeStringsOutputStream, closeTextOutputStream, emitCopyright, exportCellCommand, finishWrite, getAreaToPrint, getNumErrors, getNumWarnings, getOutputPreferences, openBinaryOutputStream, openStringsOutputStream, openTextOutputStream, reportError, reportWarning, saveJelib, setContinuationString, setOutputWidth, writeLibrary, writeLibrary, writePanicSnapshot, writeWidthLimitedpublic static final java.lang.String concatStr
protected void start()
Geometryprotected void done()
Geometryprotected void writeCellGeom(Geometry.CellGeom cellGeom)
writeCellGeom in class Geometryprotected boolean mergeGeom(int hierLevelsFromBottom)
protected boolean includeGeometric()
includeGeometric in class Geometryprotected void writePoly(PolyBase poly, int layerNumber, int layerType)
protected void writeNodable(Nodable no)
public static void buildUniqueNames(Cell cell, java.util.Map<Cell,java.lang.String> cellNames, int maxLen, boolean upperCase)
cell - the cell whose nodes and subnode cells will be given unique names.cellNames - a hashmap, key: cell, value: unique name (String).public static java.lang.String makeUniqueName(Cell cell, java.util.Map<Cell,java.lang.String> cellNames, int maxLen, boolean upperCase)
public java.util.Map<Cell,java.lang.String> getCellNames()
public void outputDouble(double data)
data - the double to process.