The following procedures are practical
AI-assisted use cases.
Use Case: Diagnose Build Failures
- In the Flow Navigator, build your component.
- When the build finishes, open the Output view in the bottom panel.
- Locate the first failing error message.
- Copy the error line and surrounding context lines.
- Click the AI Chat tab.
- Paste the error block into the message field. Type a prompt such as:
Analyze this Vitis build error. Give root cause in one sentence, then propose minimal edits and list each changed line. - Review the response.
- For each suggested edit, open the relevant file and review the proposed change.
- Apply only the edits you approve.
- Save the file and rebuild the component.
- Confirm the original error no longer appears.
Use Case: Update Project Configuration
- Open the target configuration file in the editor.
- In AI Chat, type a specific edit request, such as:
Update launch.json to point program to the current ELF under the workspace and keep existing debug arguments unchanged. - For each proposed edit, open the configuration file and verify the change matches the suggestion.
- Ask AI Chat to explain each changed line if the suggestion is unclear.
- Apply approved edits. Save the file.
- Rebuild or relaunch to validate the change.
Use Case: Interpret IDE-generated reports
- Run a build, analysis, or debug operation that generates a report.
- Open the relevant report view or output panel.
- If the report is verbose or unclear, copy the relevant section.
- Click the AI Chat tab.
- Paste the report content into the message field. Type a prompt such as:
Explain this build report. What do the warnings mean and what should I fix first? - Review the explanation and suggested next steps.
- Open the relevant source files and apply fixes.