3.2 Getting Started

Information and resources to help you get started using SmartHLS as quickly as possible.

3.2.2 Installation

SmartHLS supports Windows 10 and Linux (CentOS 7).

3.2.2.1 Windows

Run the Windows installer program, SmartHLS-2024.1-Win64-Setup.exe, and go through the steps in the installer.

3.2.2 Linux

3.2.2.1 CentOS

The CentOS installer is packaged as a self-extracting shell script that can be installed to a local directory. To run the installer:

cd $(INSTALLATION_DIRECTORY)
sh /path/to/smarthls-2024.1-centos-installer.run

This will install SmartHLS into the INSTALLATION_DIRECTORY. After the installation is completed, please add the SmartHLS bin directory to your path:

export PATH=$(INSTALLATION_DIRECTORY)/SmartHLS-2024.1/SmartHLS/bin:$PATH

3.2.3 Launching SmartHLS IDE

On Windows or Linux, you can launch the SmartHLS IDE by running the shls -g command from the terminal.

3.2.4 Libero® and ModelSim

You will need to install the Libero SoC software to synthesize the generated hardware for Microchip FPGAs. After installing Libero, please make sure to download all of new IP cores (open a Libero project, go to the Catalog pane, and click on "Download them now!", as shown below), as some IPs may be needed for SmartHLS.

Libero also comes with ModelSim which is used by SmartHLS to simulate the generated Verilog.

Users should add the path to ModelSim and Libero® in the SmartHLS IDE using the menu setting under SmartHLS -> Tool Path Setting or add them to the PATH environment when using the SmartHLS command-line interface.