This is an example project to show you how to create an AXI4-Target top-level interface using HLS.
Please follow the user guide to install SmartHLS and learn more about the features of this HLS tool:
- Homepage: https://www.microchip.com/en-us/products/fpgas-and-plds/fpga-and-soc-design-tools/smarthls-compiler
- User guide: https://onlinedocs.microchip.com/v2/keyword-lookup?keyword=fpgahls&redirect=true&version=latest
After the installation is done, you can try out this example through either GUI or command-line.
- Launch SmartHLS IDE.
- Import the example HLS project.
- From the menu select: File -> Import.
- In the import window select General -> "Existing Projects into Workspace". Click Next.
- Click the Browse button beside "Select root directory". Navigate to where you cloned this fpga-hls-examples git repository.
- Under Projects you should see the "axi_target" project checked. Click Finish.
- Try "Run Software", "Compile to Hardware", and "SW/HW Co-simulation".
- Make sure
$(SMARTHLS_INSTALLATION_DIR)/SmartHLS/bin is on the $ (PATH) environment variable to get access to the "shls" script. - run "shls sw" to run software.
- run "shls hw" to compile to hardware.
- run "shls cosim" to run sw/hw co-simulation.