|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbyucc.jhdl.base.PortInfo
byucc.jhdl.base.Port
This class represents a port within a cell's interface. Public access for port creation
comes via in()
, out()
and
related methods in Cell. If a port has generic width, the parameters that determine
the width must be Cell.BOOLEAN
.
Field Summary | |
static java.lang.String |
IN_STRING
Constants related to the old style of cell interfacing |
static java.lang.String |
INOUT_STRING
Constants related to the old style of cell interfacing |
static int |
NOT_EVALUATED
A constant for an unevaluated port width |
static java.lang.String |
OUT_STRING
Constants related to the old style of cell interfacing |
Method Summary | |
int |
getIoType()
Deprecated. use PortInfo.getIOType() |
int |
getIOType()
Returns the IO type |
java.lang.String |
getName()
Returns the port name |
java.lang.String |
getStringWidth()
Returns the string width of the port |
int |
getWidth()
Returns the integer port width (may be PortInfo.NOT_EVALUATED |
boolean |
isAsyncPort()
Returns whether the port in set as an AsyncPort |
boolean |
isClkPort()
Returns whether the port is a clock port |
boolean |
isImplicitPort()
Returns whether the port is implicit |
boolean |
isInOutPort()
Returns whether the port is an inout port |
boolean |
isInPort()
Returns whether the port is an in or inout port |
boolean |
isOutPort()
Returns whether the port is an out or inout port |
boolean |
isSyncPort()
Returns whether the port in set as a SyncPort |
void |
setAsyncPort()
|
void |
setSyncPort()
|
java.lang.String |
toString()
Formats the port for display |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface byucc.jhdl.base.CellInterface |
getName |
Field Detail |
public static final int NOT_EVALUATED
public static final java.lang.String IN_STRING
public static final java.lang.String OUT_STRING
public static final java.lang.String INOUT_STRING
Method Detail |
public java.lang.String getStringWidth()
public int getIoType()
PortInfo.getIOType()
public final java.lang.String getName()
public final int getWidth()
PortInfo.NOT_EVALUATED
public final int getIOType()
public final boolean isImplicitPort()
public final boolean isClkPort()
public final boolean isInPort()
public final boolean isOutPort()
public final boolean isInOutPort()
public final boolean isAsyncPort()
public final void setAsyncPort()
public final boolean isSyncPort()
public final void setSyncPort()
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |