Main Content

AXI4-Interface Write

Write data to IP core on AMD SoC Device

Add-On Required: This feature requires the Embedded Coder Support Package for AMD SoC Devices add-on.

  • AXI4-Interface Write block

Libraries:
Embedded Coder Support Package for AMD SoC Devices

Description

This block writes a data vector to a contiguous group of memory-mapped registers on an HDL Coder™ generated IP core. The AXI4-Interface Write block, using the central interconnect of the processing system, provides simple memory-mapped communication with the IP core on the FPGA. This block is best suited for low-throughput communication, such as setting status, state, or control registers. This diagram shows the path of the data after it leaves this block.

Examples

Ports

Input

expand all

Specify the N-by-1 vector written to memory-mapped registers on the IP core, starting at Register offset.

Data Types: single | int8 | int16 | int32 | uint8 | uint16 | uint32 | Boolean

Parameters

expand all

To edit block parameters interactively, use the Property Inspector. From the Simulink® Toolstrip, on the Simulation tab, in the Prepare gallery, select Property Inspector.

To set the block parameter value programmatically, use the set_param function.

To get the block parameter value programmatically, use the get_param function.

Enter the path and name of the IP core.

Note

If you use HDL Coder to generate the IP core, HDL Coder maps the IP core to /dev/mwipcore.

Programmatic Use

Block Parameter: DeviceName

Enter the offset of the register from the base address of the IP core. The block writes data to this register. When you use a hexadecimal number character vector to specify the address offset, represent the value as an argument inside the hex2dec function.

Note

If you use HDL Coder to generate the IP core, you can get the value of the address offset from the “Register Address Mapping” section of the Custom IP Core Report (HDL Coder). For more information, see Register Address Mapping (HDL Coder).

Programmatic Use

Block Parameter: RegisterOffset

Version History

Introduced in R2013a