Skip to main content
Glama

仿真波形绘图 (VCD→SVG/HTML 图像)

fpga_wave

Convert VCD files into digital timing diagrams, generating SVG and HTML for viewing. Inline SVG enables direct AI display; optionally open in browser.

Instructions

把 VCD(任意来源:fpga_sim/iverilog 或 fpga_msim_sim/ModelSim 的 artifacts.vcd)渲染成数字时序图。产出 .wave.svg + .wave.html 文件并返回路径;inlineSvg(默认 true)在结果里带完整 SVG 供能渲染的 AI 直接展示;open:true 用默认浏览器把波形弹给用户看。signals 选信号、maxSignals 控规模(默认 40)。需要交互式深查/缩放用 fpga_msim_view 打开 ModelSim GUI。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
openNo是否用默认浏览器弹出 HTML 给用户看,默认 false
widthNoSVG 像素宽,默认 1100
signalsNo要显示的信号名(ref 或全名 a.b.c);省略=全部(上限 maxSignals)
vcdPathYesVCD 文件绝对路径(来自 fpga_sim/fpga_msim_sim 的 artifacts.vcd)
inlineSvgNo是否在结果里返回完整 SVG 文本(供 AI 客户端内联渲染),默认 true
maxSignalsNo最多渲染信号数,默认 40(超出截断并提示)
Behavior4/5

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

With no annotations, the description carries the full behavioral burden. It discloses that the tool writes .wave.svg and .wave.html files, returns paths, optionally embeds a full SVG via inlineSvg, and can open a browser with open:true. It also notes truncation behavior for maxSignals. Minor gaps remain, such as overwrite behavior, but the disclosed side effects are substantial.

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

Conciseness5/5

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

Four dense sentences cover purpose, outputs, two boolean behaviors, parameter control, and the sibling alternative, all without redundant filler. The core function is front-loaded, and every clause contributes actionable information.

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

Completeness4/5

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

Given six parameters and no output schema, the description explains the key return artifacts and option behaviors well. It covers all major invocation decisions and the interactive fallback. It stops short of perfect completeness by not describing failure modes or exact return path structure, but it is strong for this complexity level.

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

Parameters4/5

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

Schema description coverage is 100%, so the baseline is 3. The description adds value beyond the schema by clarifying defaults and behavioral effects: inlineSvg default true returns an embeddable SVG, open launches the browser, signals selects signals, and maxSignals defaults to 40 with truncation.

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 description clearly states a specific verb and resource: '把 VCD...渲染成数字时序图' and names the concrete output artifacts (.wave.svg + .wave.html). It also distinguishes itself from the interactive sibling fpga_msim_view by framing itself as the static rendering path.

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

Usage Guidelines5/5

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

The description explicitly tells the agent when to use this tool vs. the alternative: '需要交互式深查/缩放用 fpga_msim_view 打开 ModelSim GUI'. It also identifies valid input sources (fpga_sim/iverilog or fpga_msim_sim/ModelSim artifacts.vcd), giving clear context for invocation.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Renkos1/pango-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server