The Libmetal AMP Demonstration Application describes how to open and access devices, namely shared memory and interrupts.
Xilinx ® Vitis ™ and PetaLinux tools include a libmetal demo to demonstrate how to use the libmetal library to build simple interprocessor communication between APU (Application Processing Unit) and RPU (Real-Time Processor) on a Zynq UltraScale+ MPSoC platform.
The example uses the following resources for the inter-processor communication:
• DDR (Double Data Rate)
• IPI (Inter Processor Interrupts) for notification.
• Triple Timer Counter for measurement of latency and throughput demonstrations.
The next section describes how to build the libmetal example with Xilinx® Vitis and PetaLinux tools.
The Libmetal AMP Demonstration includes:
• Shared memory.
• Shared memory with atomics.
• IPI with shared memory.
• IPI latency measurement.
• Shared memory latency measurement.
• Shared memory throughput measurement.