engine
Class TaskDescription
java.lang.Object
|
+--engine.DefaultNameSpaceDescription
|
+--engine.TaskDescription
- class TaskDescription
- extends DefaultNameSpaceDescription
- See Also:
- Serialized Form
| Fields inherited from class engine.DefaultNameSpaceDescription |
always,
connectionHash,
connectionList,
events,
functions,
initial,
monitors,
name,
ports,
regs,
regsVector,
subScopes |
|
Method Summary |
void |
addAlways(InstructionDescription ins)
|
void |
addFunction(java.lang.String name)
|
void |
addInitial(InstructionDescription ins)
|
void |
addInstruction(InstructionDescription i)
|
void |
addModuleArray(java.lang.String moduleName,
int lineNo,
java.lang.String descName,
ExpressionDescription arrayStart,
ExpressionDescription arrayEnd,
java.util.Vector portsVector,
java.util.Hashtable portsHash,
java.util.Vector parameters,
byte strength,
Delay3Description delays)
|
void |
addSubModule(java.lang.String moduleName,
int lineNo,
java.lang.String descName,
java.util.Vector portsVector,
java.util.Hashtable portsHash,
java.util.Vector parameters,
byte strength,
Delay3Description delays)
|
void |
addWire(java.lang.String name,
int lineNo,
ExpressionDescription msb,
ExpressionDescription lsb,
int expandType,
int netType,
Delay3Description delays)
|
void |
checkup()
|
(package private) java.util.Vector |
createParams(NameSpace taskSpace,
java.util.Vector paramExps)
Check that the tansfer of these parameters is possible and creates instances for the actual parameters. |
(package private) void |
fetchParamValues(java.util.Vector paramExps,
java.util.Vector paramInstances)
|
java.lang.String |
getFileName()
|
void |
instantiateAll(NameSpace ns,
ScopeNode thisScope)
|
boolean |
isTop()
|
DefaultInstruction |
makeInstructionInstance(NameSpace taskSpace)
Instantiates the instruction. |
(package private) void |
storeParamValues(java.util.Vector paramExps,
java.util.Vector paramInstances)
|
java.lang.String |
toString()
|
java.lang.String |
toString(int line)
|
| Methods inherited from class engine.DefaultNameSpaceDescription |
addAlways,
addConnection,
addConnection,
addEvent,
addFunction,
addInitial,
addInteger,
addParameter,
addPort,
addPort,
addReal,
addRealTime,
addRegister,
addScope,
addTime,
breakLinks,
checkPorts,
checkSymbolUnique,
checkSymbolUnique,
defParam,
isPort,
name |
| Methods inherited from class java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
wait,
wait,
wait |
instruction
InstructionDescription instruction
nsd
NameSpaceDescription nsd
TaskDescription
TaskDescription(NameSpaceDescription nsd,
java.lang.String name,
int lineNo)
throws ParseException
isTop
public boolean isTop()
- Overrides:
- isTop in class DefaultNameSpaceDescription
addInstruction
public void addInstruction(InstructionDescription i)
addModuleArray
public void addModuleArray(java.lang.String moduleName,
int lineNo,
java.lang.String descName,
ExpressionDescription arrayStart,
ExpressionDescription arrayEnd,
java.util.Vector portsVector,
java.util.Hashtable portsHash,
java.util.Vector parameters,
byte strength,
Delay3Description delays)
throws ParseException
- Overrides:
- addModuleArray in class DefaultNameSpaceDescription
addSubModule
public void addSubModule(java.lang.String moduleName,
int lineNo,
java.lang.String descName,
java.util.Vector portsVector,
java.util.Hashtable portsHash,
java.util.Vector parameters,
byte strength,
Delay3Description delays)
throws ParseException
- Overrides:
- addSubModule in class DefaultNameSpaceDescription
addInitial
public void addInitial(InstructionDescription ins)
addAlways
public void addAlways(InstructionDescription ins)
addFunction
public void addFunction(java.lang.String name)
throws ParseException
addWire
public void addWire(java.lang.String name,
int lineNo,
ExpressionDescription msb,
ExpressionDescription lsb,
int expandType,
int netType,
Delay3Description delays)
throws ParseException
- Overrides:
- addWire in class DefaultNameSpaceDescription
checkup
public void checkup()
throws ParseException
- Overrides:
- checkup in class DefaultNameSpaceDescription
instantiateAll
public void instantiateAll(NameSpace ns,
ScopeNode thisScope)
throws ParseException
- Overrides:
- instantiateAll in class DefaultNameSpaceDescription
makeInstructionInstance
public DefaultInstruction makeInstructionInstance(NameSpace taskSpace)
throws ParseException
- Instantiates the instruction. This is done for every task-enable instruction, after the
actual parameters have been linked.
- Parameters:
paramHolders: - e vector insode wich makeInstructionInstance will put the variables to wich the instructions
inside this task-code instance will refer. To change the parameters, for an invocation, just set
the values inside these variables.
createParams
java.util.Vector createParams(NameSpace taskSpace,
java.util.Vector paramExps)
throws ParseException
- Check that the tansfer of these parameters is possible and creates instances for the actual parameters.
- Parameters:
paramExps - the Vector containing the Expressions corresponding to the paramaters- Throws:
- ParseException - when the parameter list is incorrect
storeParamValues
void storeParamValues(java.util.Vector paramExps,
java.util.Vector paramInstances)
fetchParamValues
void fetchParamValues(java.util.Vector paramExps,
java.util.Vector paramInstances)
toString
public java.lang.String toString()
- Overrides:
- toString in class java.lang.Object
toString
public java.lang.String toString(int line)
- Overrides:
- toString in class DefaultNameSpaceDescription
getFileName
public java.lang.String getFileName()
- Overrides:
- getFileName in class DefaultNameSpaceDescription