|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbyucc.jhdl.base.Connection
Used to store connection information that can be used by netlisting code. A connection ties a net to a port.
Field Summary | |
protected Cell |
cell
The cell that is connected to |
protected boolean |
is_atomic_port
Whether the port is atomic width |
protected int |
port_name_index
The index of the port within the cell |
Constructor Summary | |
protected |
Connection(Cell cell,
int port_name_index,
boolean is_atomic_port)
Construct a connection |
Method Summary | |
abstract int |
getAtomicIndex()
Returns the index of the port within a multi-bit port |
Cell |
getCell()
Returns the connected cell |
java.lang.String |
getCellFullName()
Returns the connected port name |
java.lang.String |
getCellName()
Returns the connected cell's name |
abstract java.lang.String |
getIndexString()
Return a string describing the index of the connection within the port |
java.lang.String |
getPortName()
Returns the connected port name |
int |
getPortNameIndex()
|
int |
getPortWidth()
Returns the connected port width |
boolean |
isAtomicPort()
Returns true if the port is atomic |
java.lang.String |
toString()
Returns string representing contents of Connection, useful in debugging |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected Cell cell
protected int port_name_index
protected boolean is_atomic_port
Constructor Detail |
protected Connection(Cell cell, int port_name_index, boolean is_atomic_port)
cell
- the cell it is connected toport_name_index
- the index of the port within that cellis_atomic_port
- whether the port is atomic
BuildException
- if an attempt is made to netlist before the circuit has been
cleaned up. See Cell.verifyAndCleanup()
.Method Detail |
public java.lang.String getCellName()
public java.lang.String getCellFullName()
public int getPortNameIndex()
public java.lang.String getPortName()
public int getPortWidth()
public abstract int getAtomicIndex()
public abstract java.lang.String getIndexString()
public boolean isAtomicPort()
public Cell getCell()
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |