engine
Class PortDescription
java.lang.Object
|
+--engine.Symbol
|
+--engine.PortDescription
- class PortDescription
- extends Symbol
- See Also:
- Serialized Form
| Fields inherited from class engine.Symbol |
blockType,
connType,
funcType,
intType,
lineNo,
moduleArType,
moduleType,
name,
paramType,
portType,
realType,
regType,
taskType,
udpType,
wireType |
| Methods inherited from class java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
wait,
wait,
wait |
none
public static final int none
input
public static final int input
output
public static final int output
inout
public static final int inout
type
int type
msbExp
ExpressionDescription msbExp
lsbExp
ExpressionDescription lsbExp
nMsb
int nMsb
nLsb
int nLsb
PortDescription
public PortDescription(java.lang.String name,
int lineNo,
int type,
ExpressionDescription msb,
ExpressionDescription lsb)
PortDescription
public PortDescription(java.lang.String name,
int lineNo,
int type)
PortDescription
public PortDescription(java.lang.String name)
setPortType
void setPortType(int type)
throws ParseException
setLine
void setLine(int lineNo)
setRange
void setRange(ExpressionDescription msb,
ExpressionDescription lsb)
instantiate
java.lang.Object instantiate(NameSpace ns,
ScopeNode thisScope)
throws ParseException
- Computes the actual msb & lsb for this port
- Parameters:
thisScope - may safely be null- Overrides:
- instantiate in class Symbol
getType
public int getType()
- Overrides:
- getType in class Symbol
checkRange
public void checkRange(long msb,
long lsb)
throws ParseException
toString
public java.lang.String toString()
- Overrides:
- toString in class Symbol