public class Equivalence
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
Equivalence(HierarchyEnumerator.NetNameProxy[][] equivNets,
HierarchyEnumerator.NodableNameProxy[][] equivNodes,
Cell[] nccRootCells,
VarContext[] nccRootCtxts) |
Modifier and Type | Method and Description |
---|---|
void |
clearCache()
To reduce storage requirements, release cached information when you
are done using this Equivalence table.
|
HierarchyEnumerator.NetNameProxy |
findEquivalentNet(VarContext vc,
Network net)
Given a Network in one design, return the matching network
in the other design.
|
HierarchyEnumerator.NetNameProxy |
findEquivalentNetShortingResistors(VarContext vc,
Network net)
Given a Network in one design, return the matching network
in the other design.
|
HierarchyEnumerator.NodableNameProxy |
findEquivalentNode(VarContext vc,
Nodable node)
Given a Nodable in one design, return the matching Nodable
in the other design.
|
int |
regressionTest(Cell cell0,
Cell cell1)
Perform a sanity check of the equivalence tables.
|
public Equivalence(HierarchyEnumerator.NetNameProxy[][] equivNets, HierarchyEnumerator.NodableNameProxy[][] equivNodes, Cell[] nccRootCells, VarContext[] nccRootCtxts)
public HierarchyEnumerator.NetNameProxy findEquivalentNet(VarContext vc, Network net)
vc
- the VarContext specifying the instance path of the networknet
- the network in one designpublic HierarchyEnumerator.NetNameProxy findEquivalentNetShortingResistors(VarContext vc, Network net)
vc
- the VarContext specifying the instance path of the networknet
- the network in one designpublic HierarchyEnumerator.NodableNameProxy findEquivalentNode(VarContext vc, Nodable node)
vc
- the VarContext specifying the instance path of the Nodablenode
- the Nodable in one designpublic int regressionTest(Cell cell0, Cell cell1)
cell0
- first Cell. this is used for the status messagecell1
- second Cell. this is used for the status messagepublic void clearCache()