public class SCLibraryGen
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
SCLibraryGen.StandardCellHierarchy
Standard Cell Enumerator
|
Modifier and Type | Field and Description |
---|---|
static Variable.Key |
STANDARDCELL |
Constructor and Description |
---|
SCLibraryGen() |
Modifier and Type | Method and Description |
---|---|
void |
addStandardCell(java.lang.String type,
java.lang.String sizes)
Add command to generate the standard cell type
for the given space-separated list of sizes.
|
boolean |
generate(StdCellParams sc)
Generates the standard cell library
|
static java.util.Set<Cell> |
getStandardCellsInHierarchy(Cell topCell)
Return the standard cells in a hierarchy starting from
the specified top cell.
|
static boolean |
isStandardCell(Cell cell)
Returns true if the cell is marked as a standard cell for Static
Timing Analysis
|
static void |
markStandardCell(java.util.List<Cell> standardCells,
java.util.List<Cell> notStandardCells)
Mark the cell as a standard cell
|
static void |
markStandardCellJob(java.util.List<Cell> standardCells,
java.util.List<Cell> notStandardCells)
Mark the cell as a standard cell.
|
void |
setOutputLibName(java.lang.String name)
Set the name of the output standard cell library.
|
void |
setPurpleRedLibs(java.lang.String purpleLibraryName,
java.lang.String redLibraryName)
Set the names of the purple and red libraries.
|
public static final Variable.Key STANDARDCELL
public void setPurpleRedLibs(java.lang.String purpleLibraryName, java.lang.String redLibraryName)
purpleLibraryName
- redLibraryName
- public void setOutputLibName(java.lang.String name)
name
- public void addStandardCell(java.lang.String type, java.lang.String sizes)
type
- sizes
- public boolean generate(StdCellParams sc)
sc
- standard cell parameterspublic static void markStandardCellJob(java.util.List<Cell> standardCells, java.util.List<Cell> notStandardCells)
standardCells
- a list of Cells to mark with the standard cell attribute marker.notStandardCells
- a list of Cells to remove the standard cell attribute marker.public static void markStandardCell(java.util.List<Cell> standardCells, java.util.List<Cell> notStandardCells)
standardCells
- a list of Cells to mark with the standard cell attribute marker.notStandardCells
- a list of Cells to remove the standard cell attribute marker.public static java.util.Set<Cell> getStandardCellsInHierarchy(Cell topCell)
topCell
- the top cell in the hierarchy (sch or lay view)public static boolean isStandardCell(Cell cell)
cell
- the cell to check