AXI4-Register IIO Read (HOST)
Read memory-mapped registers into simulation model
SoC Blockset Support Package for Xilinx Devices / Host I/O
The AXI4-Register IIO Read (HOST) block reads value from memory-mapped registers in the programmable logic of the connected Xilinx® SoC device to a running Simulink® model on the host computer. This block enables low-latency high-throughput data transmission between your simulation model and the FPGA registers on the SoC device.
The AXI4-Register IIO Read (HOST) block receives a copy of the memory-mapped registers from the programmable logic in the SoC device on the host computer. This block uses the Industrial I/O (IIO) library driver to create a network server daemon on the SoC device and client host computer to pass the register data copies to the host computer running the simulated portion of the model. This diagram shows the connection between the memory-mapped registers, central interconnect, and communication bridge to the running Simulink model.
data — Data from IP core registers
This block outputs the N-by-1 vector read from memory-mapped registers on the IP core, starting from the Register offset.
Device name — Path and name of IP core device
Enter the path and name of the IP core.
If you use HDL Coder™ to generate the IP core, HDL Coder maps the IP core to
Address offset — Offset of register from base address of IP core
Enter the offset of the register from the base address of the IP core on the device.
The block reads data from this register. Use the
hex2dec function when you specify the address offset using a hexadecimal
number character vector.
Remote IP address — Network address of SoC device
192.168.1.101 (default) | network address
Enter the network address of the connected SoC device.
Timeout (sec) — Timeout for register read
Inf (default) | positive scalar
Specify the maximum time out delay for the register read.
Output data type — Data type of IP core on the device
uint32 (default) |
Select the data type used by the IP core on the device.
Sample time — Sample time in seconds
0.001 (default) | positive scalar
The signal data output by the AXI4-Register IIO Read (HOST) block polls directly from the IP core using AXI4-Lite protocol. The Sample time parameter value or the base-rate of the subsystem specifies the polling rate of the registers.
Introduced in R2020b