Commentary (#7809)

This commit is contained in:
Wilson Snyder 2026-06-20 06:45:51 -04:00
parent d66f96e246
commit 78d96d23ee
1 changed files with 2 additions and 2 deletions

View File

@ -179,7 +179,7 @@ DPI Example
In the SYSTEMC example above, if you wanted to import C++ functions into
Verilog, put in our.v:
.. code-block::
.. code-block:: sv
import "DPI-C" function int add (input int a, input int b);
@ -213,7 +213,7 @@ function name for the import, but note it must be escaped.
.. code-block:: sv
export "DPI-C" function integer \$myRand;
import "DPI-C" function integer \$myRand;
initial $display("myRand=%d", $myRand());