AMD Libmetal AMP Demo - 2025.1 English - UG1186

Libmetal and OpenAMP User Guide (UG1186)

Document ID
UG1186
Release Date
2025-05-29
Version
2025.1 English

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 IDE™ unified software platform and Yocto project 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