The DPI-related switches for xelab that bind the compiled C code to SystemVerilog are as follows:
|Root directory relative to which a DPI shared library should be searched. (Default: <current_directory>/xsim.dir/xsc)
|Name of the DPI shared library without the file extension defining C function imported in SystemVerilog.
|Bootstrap file pointing to DPI shared libraries.
|Generate a DPI C header file containing C declaration of imported and exported functions.
|Use absolute paths instead of
LD_LIBRARY_PATH on Linux for DPI libraries that are formatted as lib<libname>.so.
|User defined stack size for DPI tasks.
For more information on
r-sv_liblist arg, refer
to the IEEE Standard for SystemVerilog—Unified Hardware Design,
Specification, and Verification Language, Appendix J.4.1, page 1228.