FPGA Manager Agent
The FPGA Manager Agent is designed to automate common FPGA project tasks in commercial-grade software like Xilinx Vivado, from project creation, resource management, and IP configuration to synthesis/implementation runs and report collection, through a safe, tool-backed workflow.
As a manager agent, it is intended to coordinate larger FPGA-oriented workflows and can delegate focused operations to more specialized agents when needed.
The FPGA Manager is the top-level entry point for both supported vendor flows. Start it with nex --agent=fpga; Vivado and Radiant work is delegated to the corresponding sub-agent rather than started as standalone CLI sessions.
Watch a short walkthrough showing how the FPGA Agent automates Vivado project creation, synthesis runs, and report generation from the NEX CLI.
Install the tools for your FPGA flow
Vivado workflows require AMD/Xilinx Vivado; Radiant workflows require Lattice Radiant. Install and license the tool used by your project. For Vivado, NEX looks on your PATH and in common installation locations, or uses VIVADO_PATH when configured.
Key Features
- Tool-Backed FPGA Automation: Uses an abstraction interface (not ad-hoc shell commands) to perform in-tool actions safely and consistently.
- Project Lifecycle Management: Create projects, query project info, and manage project structure programmatically.
- Source & Constraint Management: Add RTL sources, add XDC constraints, manage project files, explore and instantiate IPs.
- Run Orchestration: Launch synthesis and implementation runs, check status/progress, and reset runs when needed.
- Reports & Artifacts: Generate timing/utilization/DRC reports, write bitstreams, and collect common artifacts (bit/rpt/log/dcp) from the project directory.
- Safe Report Reading: Distill large logs and reports with truncation safeguards for predictable tooling behavior.
Delegation and EDA Toolsets
The manager exposes one vendor toolset at a time. Once the target flow is known, it can mount either the Vivado or Radiant EDA toolset for lightweight operations such as device queries, IP catalog lookups, project inspection, and report reads. Mounting another vendor replaces the currently mounted toolset; unmounting removes it.
Heavy flow stages remain delegated:
- Vivado sub-agent: project setup, constraints, synthesis, implementation, bitstream generation, and reports.
- Radiant sub-agent: project setup, constraints, synthesis, map, place-and-route, bitstream generation, and reports.
When a project path is known, the manager passes it explicitly to the delegation. Vivado expects a .xpr path and Radiant expects a .rdf path; a supplied path that does not exist is rejected before the sub-agent starts.
Radiant builds have a mandatory map/PAR verification gate before success can be reported. A failed verification verdict means the build is incomplete or blocked, even if an earlier tool step returned successfully.
Usage
Use the FPGA manager agent through the NEX CLI by specifying --agent=fpga.