|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbyucc.jhdl.base.Netlist
Used to collect connection information between Cells and atomic wires. Creates a net representing each unique ValuePropagater, which in turn points to all ports of the parent cell and its children through which that net passes. The netlist is deterministic, ie. given the same order of inputs the same Enumeration will result.
Field Summary | |
protected java.util.Vector |
net_table
The table of nets |
protected java.util.Vector |
wire_table
the table of wires |
Constructor Summary | |
protected |
Netlist(Cell parent)
Simple constructor only needs the parent cell. |
Method Summary | |
protected void |
add(Wire w,
Net net)
Adds the wire to the table using its value propagater as the key. |
protected Net |
find(Wire w)
Go find the association record (if it exists) by an alias or other means. |
java.util.Enumeration |
getNets()
Returns an enumeration of all nets in the netlist. |
int |
size()
|
java.lang.String |
toString()
Prints out all of the connections in the association list. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected java.util.Vector wire_table
protected java.util.Vector net_table
Constructor Detail |
protected Netlist(Cell parent)
parent
- is the parent cell (that contains the guts of this netlist).Method Detail |
protected Net find(Wire w)
w
- the atomic wire you are looking for.
protected void add(Wire w, Net net)
net
- the net to be added to the table.public java.util.Enumeration getNets()
public java.lang.String toString()
public int size()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |