From 78d96d23ee40fb0ad87e41ede3286a182ebe48d7 Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Sat, 20 Jun 2026 06:45:51 -0400 Subject: [PATCH] Commentary (#7809) --- docs/guide/connecting.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/guide/connecting.rst b/docs/guide/connecting.rst index 67cad4ef3..2876ae765 100644 --- a/docs/guide/connecting.rst +++ b/docs/guide/connecting.rst @@ -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());