Skip to main content
Glama

创建最小 PDS 工程

fpga_pds_create_project

Create a minimal .pds FPGA project with RTL and constraints for pds_shell compilation. Provide a configured board or fully specify family, device, package, and speedgrade to generate a build-ready project.

Instructions

创建一个可供 pds_shell 尝试编译的最小 .pds 工程(RTL/约束/.pds)。器件无关:目标 family/device/speedgrade/package 是板级物理信息,由用户/Target Profile 给定,工具不内置默认/不猜。推荐传 board:(config 的 boards 里一套完整 target,含引脚→自动生成 FDC);或把 4 个字段全显式给。缺则报错点名所缺。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
topNo顶层模块名,默认 top
nameNo工程名/生成的 .pds 文件名,默认 fpga_mcp_demo
boardNoTarget Profile 名(config 的 boards[<name>]),一次提供完整 family/device/package/speedgrade(+pins→生成 FDC)。fpga_env 列出已配置 board;未配则向用户询问。
forceNo目标目录非空时是否删除重建,默认 false
deviceNoPDS device。传了 board 可省;否则必填。
familyNoPDS family。传了 board 可省(由 profile 提供);否则必填。物理信息,工具不猜。
packageNoPDS package 器件封装。传了 board 可省;否则必填(真实封装,工具不猜)。
pinNamesNo使用 board 完整 Target Profile 时,本设计实际存在的顶层端口子集;物理 loc/freq/iostd 仍全部取 profile。省略=使用 profile 全部 pins。
projectDirYes目标工程目录绝对路径;目录不存在则创建
speedgradeNoPDS speedgrade。传了 board 可省;否则必填。
Behavior4/5

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

No annotations are provided, so the description carries the burden. It discloses that the tool does not guess device/family/package/speedgrade, that board provides pins and generates FDC, and that force deletes/recreates directories. It doesn't explicitly mention side effects beyond force, but the key behavioral traits (no guessing, error behavior, FDC generation) are transparent.

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 compact and information-dense, with the core purpose front-loaded. The parenthetical about board recommendation is slightly dense but earns its place by conveying the key usage decision. No wasted words, but the structure could be slightly cleaner with explicit separation of the two invocation modes.

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?

For a 10-parameter tool with no output schema, the description covers the essential decision logic (board vs explicit fields), the error behavior, and the force semantics. It doesn't describe the generated project structure or what the return value looks like, but given the complexity and the rich schema, this is adequately complete for an agent to invoke correctly.

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 coverage is 100%, so the schema already documents all parameters. The description adds meaningful semantics: it explains the relationship between board and the four device fields, clarifies that pinNames is a subset of the design's actual top ports, and specifies that physical loc/freq/iostd all come from the profile. This is value beyond the schema.

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 the tool creates a minimal .pds project for pds_shell compilation, names the specific resources (RTL/constraints/.pds), and explicitly contrasts it with board-physical information. It distinguishes itself from siblings like fpga_pds_create_blink_project by emphasizing 'minimal' project creation and the board/profile mechanism.

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 recommends passing board:<name> and explains the alternative of providing all four fields, including what happens if fields are missing ('缺则报错点名所缺'). It also references fpga_env for listing configured boards, giving clear when-to-use vs alternative guidance.

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