T - Representation of Cellspublic abstract class EdifCellLookup<T>
extends Object
Cells can have different names in the source XDC versus the actual objects in the design. This allows rewriting constraints to match a possibly restructured design. Cells have an original and a final name to support this.
A derived class can specify how to do this mapping. RegularEdifCellLookup operates on EDIF netlists without
rewriting.
| Constructor and Description |
|---|
EdifCellLookup() |
| Modifier and Type | Method and Description |
|---|---|
Stream<T> |
allCellInsts(T ci)
Stream of the tree of cells rooted at the current cell
|
T |
castCellInst(Object obj) |
abstract String |
getAbsoluteFinalName(T current) |
abstract String |
getAbsoluteOriginalName(T current) |
Predicate<T> |
getAbsoluteRegexFilter(String cellNames) |
Predicate<T> |
getAbsoluteWildcardFilter(String cellNames) |
Stream<T> |
getAllCellInsts() |
abstract Class<?> |
getCellClass() |
abstract String |
getCellType(T current) |
Predicate<T> |
getCellTypeFilter(Set<String> values) |
abstract T |
getChild(T cell,
String name) |
Stream<T> |
getChildBySomeAbsoluteName(String name,
BiPredicate<String,T> filter) |
abstract Stream<? extends T> |
getChildrenOf(T f) |
Stream<T> |
getHierCellInstsFromRegexpName(String cellName) |
Stream<T> |
getHierCellInstsFromWildcardName(String cellName) |
abstract T |
getInstFromFinalName(String s) |
abstract T |
getInstFromOriginalName(String cellName) |
String |
getOriginalName(String s) |
abstract String |
getRelativeFinalName(T current) |
abstract String |
getRelativeOriginalName(T current) |
abstract T |
getRoot() |
abstract EDIFHierCellInst |
toEdifHierCellInst(T cell) |
@NotNull tcl.lang.TclObject |
toReflectObj(tcl.lang.Interp interp,
T cell)
Convert a cell to a Tcl Object
|
@NotNull
public @NotNull tcl.lang.TclObject toReflectObj(tcl.lang.Interp interp,
T cell)
throws tcl.lang.TclException
interp - the interpretercell - the celltcl.lang.TclExceptionpublic Stream<T> allCellInsts(T ci)
ci - base of the treepublic Stream<T> getHierCellInstsFromWildcardName(String cellName)
public Stream<T> getHierCellInstsFromRegexpName(String cellName)
public abstract T getInstFromOriginalName(String cellName)
public Stream<T> getChildBySomeAbsoluteName(String name, BiPredicate<String,T> filter)
public Predicate<T> getAbsoluteRegexFilter(String cellNames)
public Predicate<T> getAbsoluteWildcardFilter(String cellNames)
public Stream<T> getAllCellInsts()
public abstract EDIFHierCellInst toEdifHierCellInst(T cell)
public Predicate<T> getCellTypeFilter(Set<String> values)
public abstract T getRoot()
public abstract String getAbsoluteFinalName(T current)
public abstract String getRelativeFinalName(T current)
public abstract String getAbsoluteOriginalName(T current)
public abstract String getRelativeOriginalName(T current)
public abstract String getCellType(T current)
public abstract Class<?> getCellClass()
public T castCellInst(Object obj)
public abstract T getInstFromFinalName(String s)
public String getOriginalName(String s)