Intel® FPGA SDK for OpenCL™ Pro Edition: Programming Guide

ID 683846
Date 12/19/2022
Public
Document Table of Contents

11.1.7.3. Troubleshooting Simulator Issues

Review this section to troubleshoot simulator problems you might have when attempting to run a simulation.

Windows Compilation Fails - Host Program Reports Corrupt .aocx file

During the compilation of the device.cl file, your directory path is likely too long. Use the -o compiler option to output your compilation results to a shorter path.

A socket=-11 Error Is Logged to transcript.log

If you receive the following error message, you are mixing resources from Questa*-Intel® FPGA Edition and ModelSim* SE:
Message: "src/hls_cosim_ipc_socket.cpp:202: void IPCSocketMaster::connect():
Assertion `sockfd != -1 && "IPCSocketMaster::connect() call to accept() failed"' failed."

An example of mixing QuestaSim* resources is compiling a device with ModelSim* SE and then running the host program in Questa*-Intel® FPGA Edition.

Running the Host Program Generates a Segmentation Fault

If you receive a segmentation fault when you run your host program, you might be running the emulator and the simulator from the same terminal or command prompt sessions. Remember to unset emulator environment variables before trying to run the simulator.

Try to avoid compiling your device and your host program in the same terminal or command prompt sessions. By using separate sessions, you can avoid possible environment variable conflicts.

Simulator Backward Compatibility

In software releases prior to Intel® Quartus® Prime Pro Edition software version 19.3, the simulator does not work with the Platform Designer.

Compatibility with Questa*-Intel® FPGA Starter Edition Software

Questa*-Intel® FPGA Starter Edition software has limitations on design size that prevent it from simulating OpenCL™ designs. When trying to launch a simulation using Questa*-Intel® FPGA Starter Edition software, you may encounter the following error message:

Error: The simulator's process ended unexpectedly.

Simulate the designs with Questa*-Intel® FPGA Edition or ModelSim SE software.