A
AF
Guest
Could any give any info on the following problem.
- I have a VPI application with a xxx_compiletf() routine, a
xxx_calltf() routine and a xxx_startofsim_callback() routine.
I call the following function in xxx_compiletf():
han1 = vpi_handle(vpiSysTfCall, NULL); (where han1 is declared as
vpiHandle)
I then call the same funciton in xxx_calltf().
However, I get a different value for the handle returned which is
supposed to be the handle to the system task calling xxx_compiletf()
and xxx_calltf(). As far as I can see this is not supposed to be the
case. I have downloaded code from
www.sutherland.com
which uses this technique to set up workareas to store pointers to
data structures between successive calls, but this code also fails in
the same way!
Can anyone help??
I am using Modelsim SE 5.5.
Thanks in advance.
AF
- I have a VPI application with a xxx_compiletf() routine, a
xxx_calltf() routine and a xxx_startofsim_callback() routine.
I call the following function in xxx_compiletf():
han1 = vpi_handle(vpiSysTfCall, NULL); (where han1 is declared as
vpiHandle)
I then call the same funciton in xxx_calltf().
However, I get a different value for the handle returned which is
supposed to be the handle to the system task calling xxx_compiletf()
and xxx_calltf(). As far as I can see this is not supposed to be the
case. I have downloaded code from
www.sutherland.com
which uses this technique to set up workareas to store pointers to
data structures between successive calls, but this code also fails in
the same way!
Can anyone help??
I am using Modelsim SE 5.5.
Thanks in advance.
AF