Runs 55+ timing methodology checks (UG906) on synthesized FPGA designs to identify timing violations and generate actionable RTL/XDC fixes.
Ships in AMD Ross Agentic AI Assistant. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
# From your design directory (where the .dcp file is located)
# Step 1: Create working directory and symlink to skills
mkdir -p <cwd>/results
Non project directory structure:
<cwd>/
├── <design>.dcp # Your design checkpoint (optional, might be referenced from elsewhere)
| ├── run.tcl # Vivado TCL script lists all the commands the agent executes
| └── results/ # Output directory (MUST BE CREATED FIRST)
| ├── methodology.json # Generated violation data
| ├── methodology_after_fix.json # Generated violation data after fixes
| ├── constraints.xdc # Backup before fixes
| ├── constraints_after_fix.xdc # Constraints after fixes
| ├── constraints_diff.html # HTML diff report
| ├── run.log # full transcript of the skill run
| ├── prompt.log # Capture of the user prompts entered
| └── agent.log # output of agent verification used to confirm agent understanding of the issue and resolution
└── METHODOLOGY_RESOLUTION_REPORT.md # Design report capturing what changes were made, resolutions, and remaining violations
Project directory structure:
<proj-dir>
└── <run-dir>
├── results/
├── run.tcl
└── METHODOLOGY_RESOLUTION_REPORT.md
Important: When running scripts from the skill, understand the skill location and reference them ./scripts/.
open_checkpoint <design>.dcp
open_project <proj_name>.xpr
open_run <run_name>
Example script:
report_methodology -json methodology.json
Required properties to extract from methodology report:
RULE - The violation rule (e.g., TIMING-1). This is the check ID.NAME - The violation rule (e.g., TIMING-1#1) This is presented in the order they are reported for each IDSEVERITY - Impact levelDETAILS - Detailed description of the violationNETLIST_ELEMENT - Object causing violation extracted from DETAILS <cell: hier_name/leaf_cell_name> or <pin: hier_name/leaf_cell_name/Q>Write out constraints and process
Example script:
write_xdc -force -exclude_physical ./results/constraints.xdc
Required information to extract from xdc file:
Example: Capturing file name pbf_pblocks.xdc from unified XDC file.
####################################################################################
# Constraints from file : 'pbf_pblocks.xdc'
####################################################################################
create_clock -period 8.000 -name REF_CLK [get_ports REF_CLK_p]
Capture:
For each of the rule ids found in the methodology report:
List of supported IDs are ./references/SUPPORTED_IDS.md General guildelines ./references/GENERAL_GUIDELINES.md Reference docs are in ./references/.md
./scripts/get_id_info.sh TIMING-16
# Returns
# ID=TIMING-16
# GROUP=1
# PRIORITY=-
# HAS_REFERENCE_FILE=1
../scripts/get_id_info.sh TIMING-99
# Error: ID TIMING-99 not found in SUPPORTED_IDS.md
In SUPPPORTED_IDS.md file there is a "GROUP" and "PRIORITY" value. GROUP defines which order the groups should be resolved. Group 1 is highest priority and should be solved first. PRIORITY defines the order within the group. Priority 1 should be solved first before moving to priority 2 within the same group.
✅ Do:
❌ Do not:
Inside each reference is a Generate Data section. Generate the data specified for each check ID.
✅ Do:
❌ Do not:
Critical: Prioritize reference files over general guidelines when they exist.
At the end of each group stage, checks are regenerated and fix criteria is tested.
reset_timing
read_xdc <new_constraints.xdc>
report_methodology
write_json_report -report methodology -file ./tmp/methodology_after_fix_group_n.json
Repeat steps 2-8 until all groups are resolved.
At the end of all groups, generate METHODOLOGY_RESOLUTIONS_REPORT.md
FILE LOCATION: Write to ./METHODOLOGY_RESOLUTION_REPORT.md in the current working directory (the design directory where the .dcp file is located). Do NOT use parent directory paths like ../ or absolute paths.
CRITICAL MARKDOWN FORMATTING:
\n), not the literal string /nHOW TO WRITE THE MARKDOWN FILE PROPERLY:
When generating METHODOLOGY_RESOLUTION_REPORT.md, you MUST write it as a properly formatted markdown file with actual newlines. Use one of these approaches:
Build content string with proper newlines:
set content "# Methodology Resolution Report\n\n"
append content "**Design:** $design_name\n"
append content "**Date:** $timestamp\n\n"
append content "## 1. Summary\n\n"
# ... continue building content
set report_file [open "./METHODOLOGY_RESOLUTION_REPORT.md" w]
puts -nonewline $report_file $content
close $report_file
CRITICAL MARKDOWN FORMATTING:
\n), not the literal string /n| between columns and at start/end of rows|----------|----------||| - this breaks markdown table renderingCORRECT table format:
| Column 1 | Column 2 | Column 3 |
|----------|----------|----------|
| Value A | Value B | Value C |
INCORRECT table format (DO NOT USE):
| Check ID | Severity | Count |
|----------|----------|-------|| ← WRONG! Double pipe breaks rendering
PER-VIOLATION TABLE FORMAT: For each resolved violation, include a comparison table with this exact format (following TIMING-1.md Final Report example):
| Aspect | Period | Waveform | Clock Definition Object | Constraint |
|---|---|---|---|---|
| Before | ns | { } | <clock_name> | <full constraint command> |
| After | ns | { } | <clock_name> | <full constraint command> |
Requirements:
-source, -name, -multiply_by, -divide_by, and target pin/port specificationsCreate a diff report in HTML file.
review with before on the left and after on the right.
| Check ID | Severity | Count Before | Count After | Status & Resolution |
|---|---|---|---|---|
| TIMING-1 | Critical Warning | 5 | 0 | Resolved: Modified create_clock period in pbf_timing.xdc |
| TIMING-2 | Critical Warning | 3 | 0 | Resolved: Added set_clock_groups -asynchronous for clock domain crossing |
| TIMING-3 | Critical Warning | 2 | 0 | Resolved: Converted to create_generated_clock |
| TIMING-17 | Info | 2 | 2 | Waived: Design intent verified with user |
| TIMING-5 | Warning | 1 | 0 | Resolved: Commented out redundant constraint |
| SYNTH-5 | Warning | 864 | 864 | Not Supported: Connection to uninitialized flip-flop (requires RTL changes) |
| SYNTH-6 | Warning | 1012 | 1012 | Not Supported: Timing of unconnected port (requires RTL changes) |
| TIMING-18 | Warning | 160 | 160 | Not Supported: Missing input or output delay constraints (requires user decision) |
| LUTAR-1 | Warning | 27 | 27 | Not Supported: LUT equation term check (requires RTL review) |
| Total | 2076 | 2065 | 11 violations resolved, 2065 require RTL changes or user decisions |
create_clock period from 5.000 to 12.800 in pbf_timing.xdc on line 45create_clock -period 8.000 -name REF_CLK [get_ports REF_CLK]
# Fixed TIMING-3#2: Changed from create_clock to create_generated_clock
# Preserves clock name SYS_CLK while respecting MMCM output
create_generated_clock -name SYS_CLK -source [get_pins ios_0/mmcm_0/CLKIN1] -multiply_by 30 -divide_by 30 [get_pins ios_0/mmcm_0/CLKOUT1]
When the reference documentation marks a resolution as AUTO with high confidence, apply the fix directly without prompting:
cp constraints.xdc constraints_after_fix.xdcreport_methodology to verify the fixconstraints.xdc and constraints_after_fix.xdcNote: For AUTO fixes, always use the "modify" approach (direct replacement). Only use "comment out" for USER-directed fixes where the user explicitly requests it.
cp constraints.xdc constraints_after_fix.xdc
b. Apply the change (remove/modify/add constraint)
c. Report exactly what was changed
d. Say: "Re-run report_methodology to verify"
e. Generate a HTML file detailing the differences between constraints.xdc and constraints_after_fix.xdc<username> <date> "<reason>"create_waiver -of_objects [get_methodology_violations TIMING-3#1] -user poldark -description <description> -tags <related_waiver_tag>"✅ Always read references/<CHECK_ID>.md when it exists before responding
✅ Verify AUTO conditions before claiming you can fix it
✅ Present ALL options for USER resolutions
✅ For AUTO fixes: Apply immediately without prompting (high/medium confidence cases)
✅ For USER fixes: Ask confirmation before modifying any files
✅ Document every change made
✅ Solve violations by group (Group-1 before Group-2)
✅ Solve violations by priority (Group-1-P1 before Group-1-P2)
✅ Re-run report_methodology after completing each group
✅ Generate HTML diff after constraint modifications
✅ Recommend verification after fixes
✅ Use single pipes | in markdown tables
✅ Verify table formatting before writing files
❌ Never guess design intent for USER resolutions
❌ Never apply AUTO fixes without verifying the conditions in the reference docs
❌ Never apply USER fixes without explicit user confirmation
❌ Never skip reading the reference documentation
❌ Never approve waivers without proper justification
❌ Never proceed if violation properties are missing
❌ Never skip to next group without re-running report_methodology
❌ Never use double pipes || in markdown tables
❌ Never end table separator rows with ||
❌ Never add extra pipes at end of table rows
Scripts:
./scripts/trace_clock_tree.tcl - Clock tracing utility./scripts/get_id_info.sh - Utility to understand supported checksReference Docs:
./references/<CHECK_ID>.md - Resolution guidance per violation./references/TIMING-1.mdUse alongside:
examples/TEMPLATE.md (opens in a new tab)references/CLOCK_TRACING.md (opens in a new tab)references/GENERAL_GUIDELINES.md (opens in a new tab)references/IP_CONSTRAINTS.md (opens in a new tab)references/REPORTING_CLOCK_DIFFERENCES.md (opens in a new tab)references/SUPPORTED_IDS.md (opens in a new tab)references/TIMING-1.md (opens in a new tab)references/TIMING-16.md (opens in a new tab)references/TIMING-17.md (opens in a new tab)references/TIMING-18.md (opens in a new tab)references/TIMING-2.md (opens in a new tab)references/TIMING-3.md (opens in a new tab)references/TIMING-4.md (opens in a new tab)references/TIMING-6.md (opens in a new tab)references/TIMING-7.md (opens in a new tab)references/TIMING-8.md (opens in a new tab)references/VIVADO_IMPLEMENTATION_COMMAND_HISTORY.md (opens in a new tab)scripts/get_id_info.sh (opens in a new tab)scripts/trace_clock_tree.tcl (opens in a new tab)scripts/write_json_report.tcl (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/amd-ross-agentic-ai-assistant:vivado-timing-methodology-checksfrom AMD Ross Agentic AI Assistant
npx claudepluginhub xilinx/ross-ai-assistant --plugin amd-ross-agentic-ai-assistant50 skills in this plugin
/hls-architectConvert input code to a multi-stage HLS dataflow, validate with the other hls skills, then hand off to optimize./hls-array-to-streamAnalyze whether a given C/C++ code snippet follows the recommended coding style for array-to-stream conversion in Vitis HLS. Keywords: array, stream, HLS, pragma, ap_fifo, axis, interface/hls-burst-inferenceAnalyze whether burst inference optimization can be applied to a given C/C++ code snippet in Vitis HLS. Keywords: burst, HLS, pragma, m_axi, AXI, memory, optimization/hls-component-basic-infoGet Vitis HLS component basic informations for a given HLS component. The basic informations includes component name, source files, testbench files, include paths and top function/hls-cosim-reportGet Vitis HLS cosimulation report information for a given HLS component./hls-dataflowAnalyze whether a given C/C++ code snippet contains a canonical dataflow region for Vitis HLS. Keywords: dataflow, HLS, pragma, canonical, stream, PIPO, hls::taskOther plugins' skills for the same job