HLS Toolbox Based PID Functional Simulation

PID Controller Design with Model Composer for Versal ACAPs (XAPP1376)

Document ID
Release Date
1.0 English

The following figure is an SPFP PID implemented in PL using the VMC HLS toolbox.

Figure 1. Single Precision Floating Point PID Using Native VMC Blocksets
This allows the ability to compare and contrast the Simulink golden reference model to the VMC SPFP HLS toolbox implementation using Simulink tools such as scopes, display, signal logging, and more. The following figure demonstrates how to log, visualize, and compare signals in the design using:
  • Simulation data inspector
  • Scope
  • Display
  • To workspace
  • Signal logging
  • Port value displays
Simulink and PL Simulation Comparison

In the following figure, a simple Simulink subtract is used to show zero differences between the golden reference and HLS toolbox implementation.

Figure 2. Simulink and PL Simulation Comparison