Thread: DPI layer
View Single Post
  #4 (permalink)  
Old 12-17-2004, 10:59 PM
Guest
 
Posts: n/a
Default Re: DPI layer

Thanks for the response.
I am referring to a SV class being passed as a formal argument to an
imported C++ function.

Now that you brought it up,I can see how useful it is to go from C++ to
SV by passing the class to an exported SV task.

R
Swapnajit Mittra wrote:
> It is not clear to me if you are referring to a
> SystemVerilog class being passed as a formal argument
> to an imported C function or a C++ class being passed
> to an exported SystemVerilog task or function.
>
> In any case, under SV3.1A, you are not permitted to do
> either with a class as a formal argument.
>
> You may find the following tutorial on DPI SV layer
> useful:
> <URL: http://www.project-veripage.com/dpi_tutorial_1.php>
> --
> SystemVerilog Interprocess Communication on Project VeriPage:
> http://www.project-veripage.com/
> For subscribing to Project VeriPage mailing list:
> <URL: http://www.project-veripage.com/list/?p=subscribe&id=1>


Reply With Quote