3.5.1.21.5 AXI4 Initiator Argument's Pointer Address Driver Functions
(Ask a Question)Operating System | Function Signature | Description |
---|---|---|
Linux | void <TopFunc>_write_<PtrArg>_ptr_addr(void*
arg_virt_addr, void *virt_addr); |
This function sets the address for <PtrArg> using
When the SmartHLS project's type is
set to |
Baremetal |
void <TopFunc>_write_<PtrArg>_ptr_addr(void*
arg_virt_addr, uint32_t base_addr); | This function sets the address for <PtrArg> using
arg_virt_addr , and the
base_addr argument is the physical memory base
address of the top-level module. |
Note that when the HLS project's target flow is set to Icicle_SoC
(see set_project), the driver is assumed to run on a Linux Operating System (see Step 5: Flashing the Linux Image to the Board), and the processor memory referenced by the pointer argument (MyPtrArg
) must be allocated by the hls_malloc
function (see Memory Allocation Library).