3.5.1.21.1 Module Setup Functions

When a top-level function is configured to use AXI4 target interface for either module control or any argument of the function, and the SoC CPU is running Linux (e.g. Icicle_SoC), the following functions are generated:
Table 3-7. Module Setup Functions
Function SignatureDescription
void * <TopFunc>_setup(uint32_t base_addr = <TopFunc>_BASE_ADDR);Registers the <TopFunc> module in a list, and maps the physical address <TopFunc>_BASE_ADDR to a virtual memory address, which is returned for further access by other API functions.
void <TopFunc>_teardown( );Deregister the <TopFunc> module and un-map the associated virtual memory address.