Visible to Intel only — GUID: ist1538388190601
Ixiasoft
2.1. HLS AFU Design Example Software Requirements
2.2. Compiling and Simulating the HLS Component with the i++ Command
2.3. Generating a Platform Designer Container for the HLS Component
2.4. Generating the ASE Testbench
2.5. Running the ASE Testbench
2.6. Compiling the AF Bitstream
2.7. Loading AF Bitstream and Running the Host Application
5.1. Platform Designer Opens with an Error
5.2. The design unit was not found Error When Running the make sim Command
5.3. Verilog HDL Compilation Errors
5.4. Compilation Errors During ASE Testbench Generation
5.5. Incorrect Output During Simulation
5.6. AF Bitstream Compilation Fails
5.7. Verilog Files Not Found Errors
Visible to Intel only — GUID: ist1538388190601
Ixiasoft
4.1.1.1. HLS AFU Avalon-MM I/O Slave Interface
The HLS hls_avalon_slave_component attribute in the hls_afu/hw/rtl/src/hls_afu.h header file moves the start, busy, stall, and done control signals into the component control and status register (CSR). You can also apply the hls_avalon_slave_register_argument attribute to each of the component parameters to move them into the component CSR.
A generic component function signature is as follows:
hls_avalon_slave_component
component
float fpVectorReduce_basic(
hls_avalon_slave_register_argument float *masterRead,
hls_avalon_slave_register_argument float *masterWrite,
hls_avalon_slave_register_argument uint64 size)
When you access the CSR of your HLS component, use 64-bit reads and writes.