Intel® High Level Synthesis Compiler Standard Edition: User Guide

ID 683306
Date 12/18/2019
Public
Document Table of Contents

6. Simulating Your Design

When compiling your component to RTL, the Intel® HLS Compiler Standard Edition links your design C++ testbench with an RTL-compiled version of your component that runs in an RTL simulator.

The Intel® HLS Compiler Standard Edition uses Mentor Graphics® ModelSim® software to simulate your design. You must have ModelSim* installed to use the Intel® HLS Compiler. For a list of supported versions of the ModelSim software, refer to the EDA Interface Information section in the Intel® Quartus® Prime Software and Device Support Release Notes.

To verify the functional correctness of your component with your C++ testbench, run the executable that the compiler generates by targeting the FPGA architecture. By default, the name of the executable is a.out (Linux) or a.exe (Windows).
Example command you might invoke for a simple single-file design:

Linux: i++ -march="Arria10" […] design.cpp && ./a.out

Windows: i++ -march="Arria10" […] design.cpp && a.exe