From 18cce92839d779bab5efc0ff66e7b92ee2d8b734 Mon Sep 17 00:00:00 2001 From: Shaurya Shubham Date: Sat, 20 Jun 2026 00:44:33 -0500 Subject: [PATCH] Fix typo in docs --- 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());