The Libmetal AMP Demonstration Application describes how to open and access devices, namely shared memory and interrupts.
AMD Vitis™ unified software platform 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 memory.
- IP integrator (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 AMD Vitis™ unified software platform and PetaLinux tools.
The Libmetal AMP demonstration includes:
- Shared memory
- Shared memory with atomics
- IP integrator with shared memory
- IP integrator latency measurement
- Shared memory latency measurement
- Shared memory throughput measurement