|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.newisys.verilog.VerilogApplication
com.newisys.dv.DVApplication
public abstract class DVApplication
The base class from which all Jove applications are derived. Derived
classes will override the Runnable.run() method.
| Constructor Summary | |
|---|---|
DVApplication(DVSimulation dvSim)
Creates a new DVApplication. |
|
| Method Summary | |
|---|---|
void |
callJavaTask(String name,
com.newisys.verilog.VerilogReg doneReg,
com.newisys.verilog.VerilogObject[] argVars)
Executes a registered Java task. |
void |
finish()
Terminates all threads and ends this DVApplication. |
void |
registerObject(String name,
com.newisys.verilog.VerilogObject obj)
Registers a Verilog object with this DVApplication. |
void |
registerSignal(String name,
com.newisys.verilog.VerilogObject sampleObj,
com.newisys.verilog.VerilogObject driveObj)
Registers a signal with this DVApplication. |
void |
registerVerilogTask(String name,
com.newisys.verilog.VerilogReg startReg,
com.newisys.verilog.VerilogReg doneReg,
com.newisys.verilog.VerilogObject[] argVars)
Registers a verilog task with this DVApplication. |
void |
start()
Starts execution of this DVApplication. |
| Methods inherited from class com.newisys.verilog.VerilogApplication |
|---|
getVerilogSim |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.lang.Runnable |
|---|
run |
| Constructor Detail |
|---|
public DVApplication(DVSimulation dvSim)
dvSim - the DVSimulation that will be associated with this DVApplication| Method Detail |
|---|
public void registerObject(String name,
com.newisys.verilog.VerilogObject obj)
registerObject in class com.newisys.verilog.VerilogApplicationname - the name of the objectobj - the Verilog object to register
public void registerSignal(String name,
com.newisys.verilog.VerilogObject sampleObj,
com.newisys.verilog.VerilogObject driveObj)
registerSignal in class com.newisys.verilog.VerilogApplicationname - the name of the signalsampleObj - the Verilog object to be used when sampling the signaldriveObj - the Verilog object to be used when driving the signal
public void registerVerilogTask(String name,
com.newisys.verilog.VerilogReg startReg,
com.newisys.verilog.VerilogReg doneReg,
com.newisys.verilog.VerilogObject[] argVars)
registerVerilogTask in class com.newisys.verilog.VerilogApplicationname - the name of the taskstartReg - the Verilog register that is written when the task has starteddoneReg - the Verilog register that is written when the task has completedargVars - an array of VerilogObjects used to hold arguments to the task
public void callJavaTask(String name,
com.newisys.verilog.VerilogReg doneReg,
com.newisys.verilog.VerilogObject[] argVars)
This method must be called from the main/HDL simulator thread.
callJavaTask in class com.newisys.verilog.VerilogApplicationname - the name of the java taskdoneReg - the Verilog register that will be written when the java
task is completeargVars - an array of VerilogObjects used to hold arguments to the
taskpublic void start()
Runnable.run() method
of the derived class.
start in class com.newisys.verilog.VerilogApplicationpublic void finish()
finish in class com.newisys.verilog.VerilogApplication
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||