Skip to main content
Glama

fv_export_yosys_netlist

Exports Yosys-interpreted Verilog netlists for QuestaSim semantic-bridging simulation. Enables splitnets to work around bit-wise vector assignment bugs when exporting for EBMC.

Instructions

Export Yosys-interpreted Verilog netlist for QuestaSim semantic-bridging simulation. Set splitnets=True when exporting for EBMC to work around bit-wise vector assignment bugs.

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": {
      "files": "<files>",
      "top": "<top>",
      "output_path": "<output_path>"
    },
    "name": "fv_export_yosys_netlist"
  }
}

Input Schema

NameRequiredDescriptionDefault
topYes
filesYes
formalNo
paramsNo
definesNo
frontendNoauto
splitnetsNo
output_pathYes
timeout_secNo
include_dirsNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description bears the full disclosure burden. It usefully reveals one behavioral quirk (the EBMC splitnets workaround) but omits that this writes a file to output_path, whether it overwrites existing files, what timeout_sec=180 means in practice, or what formal=True changes. For a 10-parameter mutation tool with zero annotation coverage, this is a substantial gap.

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?

Two tight sentences with the primary action front-loaded and the conditional tip placed second where it reads as a caveat. Nothing is wasted, though the brevity is partly under-specification rather than pure economy.

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 described, but with 10 parameters at 0% schema coverage and no annotations, the definition leaves most of the calling contract unspecified. An agent would not know how formal, frontend, params, or defines affect the export, or how output_path collisions are handled.

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?

Schema description coverage is 0% across 10 parameters, so the description must compensate and it explains only splitnets. The meanings of formal, frontend, params, defines, include_dirs, and timeout_sec are left entirely undocumented in both schema and description. Only the three required parameters are indirectly implied by the purpose statement.

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

Purpose4/5

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

States a specific verb and resource: export a Yosys-interpreted Verilog netlist, and names the consumer (QuestaSim semantic-bridging simulation). It is clearly distinguishable from run-style siblings like fv_run_sec_netlist and fv_run_sby, though it never explicitly contrasts with them.

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?

Provides one conditional rule ('Set splitnets=True when exporting for EBMC to work around bit-wise vector assignment bugs'), which is real when-to guidance but scoped to a single parameter. It gives no criteria for choosing this export tool over fv_run_sec_netlist or fv_run_sec_rtl, nor prerequisites for the three required inputs.

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