bennymao Posted November 21, 2013 Report Share Posted November 21, 2013 Can SystemVerilog "dynamic array" and "C point" be transfered through DPI? Thanks. Quote Link to comment Share on other sites More sharing options...
dave_59 Posted November 21, 2013 Report Share Posted November 21, 2013 Yes, Dynamic arrays are transferred as "Open Arrays". See this post for an example. C pointers can be transferred through the DPI and stored in SystemVerilog using the chandle data type. However you cannot reference what the pointer is pointing to in SystemVerilog, you have to transfer the pointer back to C to reference. Quote Link to comment Share on other sites More sharing options...
bennymao Posted November 22, 2013 Author Report Share Posted November 22, 2013 Thanks. I shall try. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.