Skip to content

2. Test Plan Automation Workflow

This workflow covers the full path from extracting verification features out of design documents and register descriptions, through to generating structured test plan entries and the test plan report.


Orchestration Skill: uvm-testplan-auto

uvm-testplan-auto orchestrates the test plan generation stage. It invokes uvm-testplan-gen-feature to produce the feature report, pauses for the user to review it, then invokes uvm-testplan-gen-testplan to produce the test plan.


Skills in Detail

1. uvm-testplan-gen-feature — Feature Extraction

  • What it does: reads the IP design document (.md) and the register description file (.xml), then extracts and classifies verification features by layer — CSR, datapath, interrupt, reset and exception — into a UVM feature report.
  • Input: the IP design document (.md) and the register description file (.xml).
  • Output: a categorized UVM feature report (.md).

2. uvm-testplan-gen-testplan — Structured Test Plan Generation

  • What it does: takes the reviewed UVM feature report (.md) together with source or design input and produces a structured test plan entry for each feature, writing the result to uvm_testplan.md.
  • Input: the reviewed feature report (.md), the design specification (.md, required) and the design source (RTL/Chisel, optional).
  • Degraded mode: when no design source is supplied the skill does not block; the plan is generated from the spec instead. Invariant entries are still produced — only the FSM legal-edge and inter-block handshake fields are marked TODO(需人工/RTL 补全), and [SVA-cover] / [SVA-off] tags are emitted as usual.
  • Output: uvm_testplan.md, containing test point definitions, checking mechanisms and attribute tags.

3. uvm-testplan-auto — Test Plan Pipeline

  • What it does: orchestrates UVM test plan generation by scheduling uvm-testplan-gen-feature and uvm-testplan-gen-testplan in order. It pauses automatically once the feature report is generated; after the user reviews and confirms it, execution continues to produce the final uvm_testplan.md.

Released under the MIT License