AlexBarry
New Contributor
4 years agoQuesta Sim on Windows - linking to external LIB
I have been trying to use Questa (from Quartus Lite 21.1) on Windows to link to the Winsock2 library, without success. I have a minimal test case attached. I can't get it to load into the simulator...
- 4 years ago
I believe we have figured it out. We needed to add the -64 parameter, and -ldflags to pass parameters to gcc. This appears to work:
vsim -c DPI_test -ldflags "-lws2_32" -64