I am calling c functions from sv module. c functions are compiled in shared lib. I am able to call c function from sv module with shared lib.
I am using xcelium xrun for simulation. I want to use static lib instead of share lib for c functions. I am using gcc compiler to build shared and static lib.
Can I use static lib containing c functions and used with DPI?
Can you please give example to show how to compile using gcc and run using xrun?