3.5.1.19 Driver Functions for AXI4 Target

SmartHLS generates C++ driver functions that can be used to control the generated hardware from an attached processor. This accelerator driver code can be found in the hls_output/accelerator_drivers output directory. The header file (<PROJ_NAME>_accelerator_driver.h) in the directory lists the user-callable functions that can be used to control each HLS accelerator, while the <PROJ_NAME>_accelerator_driver.cpp file implements the driver functions. The driver functions are generated for arguments and module control if they are configured to use AXI4 target interface. The following sections will explain different categories of driver functions.