Workflow
AMD Vitis Unified IDE
icon
Search documents
Migrating to AMD Vitis™ Unified IDE for HLS Development
AMD· 2025-08-10 04:54
Key Features of AMD Vitis Unified IDE - AMD Vitis Unified IDE utilizes Eclipse Theia framework, offering a modern and responsive GUI to enhance user experience [2] - The IDE supports a bottom-up design flow, enabling the development of system components like AI Engine graphs, C/C++ sourced HLS components, RTL kernels, and software applications [2] - It provides integrated revision control using Git and Python, along with a Tcl script-based interface for command-line component management [3] HLS Component Development - HLS component development is streamlined through a bottom-up design flow managed with a configuration file [3] - The IDE facilitates independent building, simulation, analysis, and debugging of HLS components [3] - Tools like component cloning allow for design optimization exploration, while component comparison provides insights into performance and resource utilization [4] - Code analyzer offers capabilities for architectural refinement [4] Migration Flows from Classic Vitis HLS - Migration from classic Vitis HLS designs to the Unified IDE is possible via GUI, command-line, and scripting [4] - In GUI, specify the hls app file from the classic Vitis HLS project when creating an HLS component [5] - For Tcl scripting, replace `open_project` with `open_component` and remove `open_solution`; specify `-flow_target` as either `vivado` or `vitis` [6] - Python APIs are available for creating and managing HLS components, with configuration specified in a file or directly in the script [8]
Field-Oriented Control (FOC) Motor Control Application Using the AMD Kria™ KD240 Drives Starter Kit
AMD· 2025-06-24 16:30
Overview of AMD Kria KD240 Drive Starter Kit - The AMD Kria KD240 Drive Starter Kit serves as an evaluation platform for the K24 SOM, focusing on motor control and power conversion applications [3] - The kit supports user customization through the AMD Vitis Unified IDE, acceleration overlays, and AMD Vivado Design Suite hardware board files [4][37] - The Field-Oriented Control (FOC) motor control application demonstrates inverter and motor control examples using AMD standard IP and libraries [4][38] FOC Motor Control Methods - Torque control maximizes motor torque output consistency by optimizing the quadrature Q vector and minimizing the direct D vector component [6] - Speed control is implemented via an additional PI controller that adjusts motor torque to maintain a constant speed [6] - Field weakening control increases motor speed by adjusting the relationship between the Q vector and D vector in the FOC [7] Hardware and Software Components - The KD240 utilizes an ADC hub for motor voltage and current feedback and a QEI encoder for RPM feedback [8] - Soft IPs are supported by kernel drivers using the industrial IIO framework, simplifying hardware configuration and usage [10] - The system uses a generic PWM block to provide on-off commands for each switch of a three-leg inverter [8] Motor Control Application and Dashboard - A motor control application library integrated with device drivers enables seamless operation across different modes [10] - The dashboard GUI allows users to control set points, gain parameters, and observe live plots of key metrics [11] - The dashboard allows users to select motor control modes: speed, torque, or open loop [28] - In torque mode, the valid range for torque set point is negative 250% to 250% amps [30] - In speed mode, the valid range for speed set point is negative 10,000 to 10,000 RPMs [30]