public class Connectivity
extends java.lang.Object
Constructor and Description |
---|
Connectivity(Cell cell,
Job j,
EditingPreferences ep,
ErrorLogger eLog,
double smallestPolygonSize,
int activeHandling,
boolean gridAlignExtraction,
ECoord scaledResolution,
boolean approximateCuts,
boolean recursive,
java.util.List<java.util.regex.Pattern> pats)
Constructor to initialize connectivity extraction.
|
Modifier and Type | Method and Description |
---|---|
int |
countExtracted(Cell oldCell,
java.util.List<java.util.regex.Pattern> pats,
boolean flattenPcells) |
Cell |
doExtract(Cell oldCell,
boolean recursive,
java.util.List<java.util.regex.Pattern> pats,
boolean flattenPcells,
boolean usePureLayerNodes,
boolean top,
Job job,
java.util.List<java.util.List<ERectangle>> addedBatchRectangles,
java.util.List<java.util.List<ERectangle>> addedBatchLines,
java.util.List<java.lang.String> addedBatchNames)
Top-level method in extracting connectivity from a Cell.
|
static void |
extractCurCell(boolean recursive)
Method to examine the current cell and extract it's connectivity in a new one.
|
public Connectivity(Cell cell, Job j, EditingPreferences ep, ErrorLogger eLog, double smallestPolygonSize, int activeHandling, boolean gridAlignExtraction, ECoord scaledResolution, boolean approximateCuts, boolean recursive, java.util.List<java.util.regex.Pattern> pats)
cell
- the cellj
- the jobeLog
- the error loggersmallestPolygonSize
- the smallest polygon sizeactiveHandling
- 0: Insist on two different active layers (N and P) and also proper select/well surrounds (the default).
1: Ignore active distinctions and use select/well surrounds to distinguish N from P.
2: Insist on two different active layers (N and P) but ignore select/well surrounds.gridAlignExtraction
- true to align extraction to some the technology gridapproximateCuts
- approximate cutsrecursive
- run recursivelypats
- a List of cell name patterns that will be flattened.public static void extractCurCell(boolean recursive)
recursive
- true to recursively extract the hierarchy below this cell.public int countExtracted(Cell oldCell, java.util.List<java.util.regex.Pattern> pats, boolean flattenPcells)
public Cell doExtract(Cell oldCell, boolean recursive, java.util.List<java.util.regex.Pattern> pats, boolean flattenPcells, boolean usePureLayerNodes, boolean top, Job job, java.util.List<java.util.List<ERectangle>> addedBatchRectangles, java.util.List<java.util.List<ERectangle>> addedBatchLines, java.util.List<java.lang.String> addedBatchNames)