public class LENetlister2 extends LENetlister
| Modifier and Type | Class and Description |
|---|---|
static class |
LENetlister2.LECellInfo
Logical Effort Cell Info class.
|
LENetlister.NetlisterConstants| Modifier and Type | Field and Description |
|---|---|
protected LENetlister.NetlisterConstants |
constants
Netlister constants
|
ATTR_alpha, ATTR_diffn, ATTR_diffp, ATTR_epsilon, ATTR_gate_cap, ATTR_keeper_ratio, ATTR_L, ATTR_le, ATTR_LEGATE, ATTR_LEIGNORE, ATTR_LEKEEPER, ATTR_LEPARALLGRP, ATTR_LESETTINGS, ATTR_LEWIRE, ATTR_LEWIRECAP, ATTR_max_iter, ATTR_su, ATTR_wire_ratio| Constructor and Description |
|---|
LENetlister2(Job job,
Technology layoutTech)
Creates a new instance of LENetlister
|
| Modifier and Type | Method and Description |
|---|---|
void |
done()
Call to stop or interrupt netlisting
|
void |
doneVisitNodeInst(Nodable ni,
HierarchyEnumerator.CellInfo info) |
boolean |
enterCell(HierarchyEnumerator.CellInfo info)
Enter cell initializes the LECellInfo.
|
void |
exitCell(HierarchyEnumerator.CellInfo info)
Nothing to do for exitCell
|
LENetlister.NetlisterConstants |
getConstants()
Get the settings used for sizing
|
ErrorLogger |
getErrorLogger()
Get the error logger
|
protected float |
getGlobalSU() |
protected float |
getKeeperRatio() |
protected java.util.Iterator<LENodable> |
getSizeableNodables() |
protected LESizer2 |
getSizer() |
void |
getSizes(java.util.List<java.lang.Float> sizes,
java.util.List<java.lang.String> varNames,
java.util.List<NodeInst> nodes,
java.util.List<VarContext> contexts)
Updates the size of all Logical Effort gates
|
float |
getTotalLESize()
Get the total size of all gates sized using Logical Effort
|
boolean |
netlist(Cell cell,
VarContext context,
boolean useCaching)
Call to start netlisting.
|
HierarchyEnumerator.CellInfo |
newCellInfo()
Override the default Cell info to pass along logical effort specific information
|
void |
nullErrorLogger()
Destroy the error logger
|
boolean |
printResults(Nodable no,
VarContext context)
print the results for the Nodable
|
void |
printStatistics() |
boolean |
size(LESizer.Alg algorithm)
Size the netlist.
|
static void |
test1() |
void |
updateSizes()
Updates the size of all Logical Effort gates
|
boolean |
visitNodeInst(Nodable ni,
HierarchyEnumerator.CellInfo info)
Visit NodeInst creates a new Logical Effort instance from the
parameters found on the Nodable, if that Nodable is an LEGATE.
|
getSettings, isSettingsConflict, saveSettingsprotected LENetlister.NetlisterConstants constants
public LENetlister2(Job job, Technology layoutTech)
public boolean netlist(Cell cell, VarContext context, boolean useCaching)
LENetlisternetlist in class LENetlisterpublic boolean size(LESizer.Alg algorithm)
size in class LENetlisterpublic void getSizes(java.util.List<java.lang.Float> sizes,
java.util.List<java.lang.String> varNames,
java.util.List<NodeInst> nodes,
java.util.List<VarContext> contexts)
getSizes in class LENetlisterpublic void updateSizes()
public void done()
LENetlisterdone in class LENetlisterpublic ErrorLogger getErrorLogger()
LENetlistergetErrorLogger in class LENetlisterpublic void nullErrorLogger()
LENetlisternullErrorLogger in class LENetlisterpublic LENetlister.NetlisterConstants getConstants()
LENetlistergetConstants in class LENetlisterprotected java.util.Iterator<LENodable> getSizeableNodables()
protected float getGlobalSU()
protected LESizer2 getSizer()
protected float getKeeperRatio()
public HierarchyEnumerator.CellInfo newCellInfo()
newCellInfo in class HierarchyEnumerator.Visitorpublic boolean enterCell(HierarchyEnumerator.CellInfo info)
enterCell in class HierarchyEnumerator.Visitorinfo - the LECellInfopublic boolean visitNodeInst(Nodable ni, HierarchyEnumerator.CellInfo info)
visitNodeInst in class HierarchyEnumerator.Visitorni - the Nodable being visitedinfo - the cell infopublic void doneVisitNodeInst(Nodable ni, HierarchyEnumerator.CellInfo info)
public void exitCell(HierarchyEnumerator.CellInfo info)
exitCell in class HierarchyEnumerator.Visitorinfo - information about the Cell instance being
enumeratedpublic void printStatistics()
printStatistics in class LENetlisterpublic float getTotalLESize()
LENetlistergetTotalLESize in class LENetlisterpublic boolean printResults(Nodable no, VarContext context)
LENetlisterprintResults in class LENetlisterpublic static void test1()