DPI problem with wide (>32 bit) task arguments
|Assignee:||Wilson Snyder||% Done:|
When a task whose argument is wider than 32 bits is exported as a DPI call, calling the task from C appears to do nothing. The generated C code does not seem to assign the passed arguments to the internal variable. Run the attached example with "sh doit.sh" to see the problem.
#3 Updated by Wilson Snyder over 2 years ago
Hints on debugging:
You can see the internals.txt file in the distribution directory.
Modify test_regress/t_dpi_export.v to show the problem.
Then run test_regress/t/t_dpi_export.pl --debug. and/or --debugi-V3Task 9
You'll see the test_regress/obj_dir/t_dpi_export/.tree files and probably see the relevant additions of DPI wrapper code occurs in the _task.tree step. So, the code is probably broken in V3Task.cpp.