Skip to main content
Glama

fv_run_sec_rtl

Run RTL-vs-RTL sequential equivalence checks with reset and warmup awareness, using ABC dprove or Yosys equiv_induct. Automatically dumps a readable counterexample VCD when designs differ.

Instructions

Run RTL-vs-RTL Sequential Equivalence Checking (SEC). method='auto' (default) directly runs a reset/warmup-aware miter + ABC dprove proof (supporting multi-clock, multi-reset, and valid-qualified outputs without relying on signal names); pass method='equiv' explicitly to opt in to Yosys structural equiv_induct, or use 'miter_dprove' with a custom miter for latency-shifted edits. When keep_traces=True and NOT_EQUIVALENT, automatically dumps a readable CEX VCD for fv_inspect_cex.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "gold_files": "<gold_files>",
      "gate_files": "<gate_files>",
      "top_module": "<top_module>"
    },
    "name": "fv_run_sec_rtl"
  }
}

Input Schema

NameRequiredDescriptionDefault
methodNoauto
paramsNo
definesNo
frontendNoauto
miter_topNo
seq_depthNo
gate_filesYes
gold_filesYes
miter_fileNo
top_moduleYes
keep_tracesNo
timeout_secNo
ignore_portsNo
include_dirsNo
induct_stepsNo
reset_cyclesNo
reset_signalNo
clock_signalsNo
reset_signalsNo
warmup_cyclesNo
gate_module_nameNo
gold_module_nameNo
reset_active_lowNo
valid_qualified_outputsNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations provided, the description carries the full behavioral burden and does well: it discloses reset/warmup-aware miter generation, ABC dprove, multi-clock/multi-reset support, valid-qualified outputs, structural equiv_induct mode, and automatic CEX VCD dumping when keep_traces=True and the result is NOT_EQUIVALENT. It still omits runtime/resource behavior and side effects beyond trace generation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is front-loaded with the tool purpose and then moves into method-specific behavior without ornamental wording. It is dense but efficient, though the backtick-heavy method paragraph could be structured more scan-friendly.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be explained, and the description covers the core method behavior. For a 24-parameter formal verification tool with 0% schema description coverage, however, it leaves too many file, reset, clock, and proof-tuning parameters unexplained for an agent to invoke it confidently beyond basic defaults.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

There are 24 parameters and schema description coverage is 0%, so the description must compensate heavily. It explains method selection and some signal-qualification behavior, but leaves most parameters—file inputs, top/module names, seq_depth, timeout_sec, reset/clock parameters, defines, include_dirs, and miter controls—without semantic guidance.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The first sentence gives a specific verb and resource: 'Run RTL-vs-RTL Sequential Equivalence Checking (SEC).' The RTL-vs-RTL scope also distinguishes it from a netlist-oriented sibling such as fv_run_sec_netlist.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It clearly explains when to use method='auto', method='equiv', and method='miter_dprove' with a custom miter, and it routes CEX inspection to fv_inspect_cex. However, it does not say when to choose this tool over siblings like fv_run_sec_netlist or fv_run_sby.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.