Work with Native Simulink Data Types - 2022.1 English

Vitis Model Composer Tutorial (UG1498)

Document ID
UG1498
Release Date
2022-07-25
Version
2022.1 English
  1. In the MATLAB Current Folder, navigate to the ug1498-model-composer-sys-gen-tutorial\HLS_Library\Lab1\Section2 folder.
  2. Double-click ColorSpace_Conversion.slx to open the design.

    This is a Color Space conversion design, built with basic Vitis Model Composer blocks, that performs a RGB to YCbCr conversion.

  3. Update the model (Ctrl+D) and observe that the Data Types, Signal Dimensions and Sample Times from the Source blocks in Simulink all propagate through the Vitis Model Composer blocks. Note that the design uses single precision floating point data types.
  4. Simulate the model and observe the results from simulation.