I am learning System Verilog DPI. I am trying to export a function written in System Verilog and trying to call it from C. However, I am facing the problem on how to export the function and how to call it from C. Below is the code I wrote in System Verilog. Can you please give me a sample code in "C" that call the below function, passes the arguments and get the result? A sample code can help me to understand my mistakes and understand the process clearly. Thank you in advance for your help.