← Back to News
ReleaseJuly 2026

K-Agent UVM Generator launched

K-Agent now includes a full visual UVM testbench builder — the first browser-based tool to support IEEE 1800.2 UVM structural code generation with a drag-and-drop interface.

What was shipped

  • React Flow canvas — drag UVM Agent, Scoreboard, and Environment nodes onto a visual canvas. Connect TLM analysis ports between components with a single drag.
  • JSON Intermediate Representation — the visual topology is captured as a typed JSON IR that drives code generation. The same IR is stored per-project so your testbench design persists across sessions.
  • Generation Gap pattern — the tool generates `*_base.sv` files (tool-owned) alongside skeleton `*.sv` files (user-owned). Regeneration never overwrites user behavioral logic.
  • UVM folder structure — all generated files are placed in a `uvm/` subfolder relative to the RTL source, keeping testbench code separate from design RTL.
  • One-click generation — the Python backend writes all files, updates `sim.f`, and reports the generated file list in the console.
  • Technical details

    The generator is built on Pydantic models (Python) and TypeScript interfaces (frontend) that mirror each other. The backend uses f-string templating to produce clean, IEEE-compliant SystemVerilog — no Jinja2 dependency.

    The UVM reference library (uvm-core from Accellera) is bundled in the Docker image so generated testbenches compile immediately with Verilator.