Guest
Anyone knows whether class can be passed over DPI layer? has anyone
written anytype of wrapper between SV and C++ code?
Thank You.
Agape
written anytype of wrapper between SV and C++ code?
Thank You.
Agape
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
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
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