CV

coreyhahn/vivado_mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

69 stars 26 forks 品質 69 トレンド 14MIT

coreyhahn/vivado mcp は https://github.com/coreyhahn/vivado_mcp. からインポートされた MCP サーバーの候補です

概要

coreyhahn/vivado mcp は https://github.com/coreyhahn/vivado_mcp. からインポートされた MCP サーバーの候補です

概要(AI 翻訳)

ClaudeのようなAIアシスタントがAMD/Xilinx Vivado FPGA開発ツールと直接やり取りできるようにするモデルコンテキストプロトコル(MCP)サーバー。

##特徴

  • セッション管理: 開始/停止持続的な Vivado TCL セッション (コマンドあたり 30 s スタートアップが無効になっています)
  • プロジェクト管理: Vivadoプロジェクト(.xprファイル)のオープン/クローズ -Design Flow:合成、実装、ビットストリーム生成を実行 -レポートと分析:タイミングの要約、利用レポート、および設計分析を取得する
  • 設計図:階層、港、網および細胞を探検して下さい
  • シミュレーション: 制御 Vivado の統合シミュレータ (xsim)
  • 未加工TCL: 高度な操作のための任意の Vivado TCL コマンドを実行

要件

  • Python 3.10 +
  • AMD/Xilinx Vivado をインストール(2023.2+ でテスト)
  • Vivado は PATH にあるか、セッション開始時にフルパスを指定する必要があります。

インストール

###GitHubから

##Claude コードの設定

Claude コード MCP 設定 (~/.claude/claude_desktop_config.json]) または project-level [.mcp.json] に追加します。

または Python インタープリタを指定したい場合:

使用法

設定したら、Claude は自然言語を通して Vivado と相互作用できます。 ワークフローの例:

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

Vivado MCP Server

A Model Context Protocol (MCP) server that enables AI assistants like Claude to directly interact with AMD/Xilinx Vivado FPGA development tools.

Features

  • Session Management: Start/stop persistent Vivado TCL sessions (avoids 30s startup per command)
  • Project Management: Open/close Vivado projects (.xpr files)
  • Design Flow: Run synthesis, implementation, and bitstream generation
  • Reports & Analysis: Get timing summaries, utilization reports, and design analysis
  • Design Queries: Explore hierarchy, ports, nets, and cells
  • Simulation: Control Vivado’s integrated simulator (xsim)
  • Raw TCL: Execute arbitrary Vivado TCL commands for advanced operations

Requirements

  • Python 3.10+
  • AMD/Xilinx Vivado installed (tested with 2023.2+)
  • Vivado must be in your PATH, or specify the full path when starting a session

Installation

From GitHub

git clone https://github.com/coreyhahn/vivado_mcp.git
cd vivado_mcp
pip install -e .

Configure Claude Code

Add to your Claude Code MCP configuration (~/.claude/claude_desktop_config.json or project-level .mcp.json):

{
  "mcpServers": {
    "vivado": {
      "command": "vivado-mcp"
    }
  }
}

Or if you want to specify the Python interpreter:

{
  "mcpServers": {
    "vivado": {
      "command": "python",
      "args": ["-m", "vivado_mcp"]
    }
  }
}

Usage

Once configured, Claude can interact with Vivado through natural language. Example workflow:

  1. Start Vivado session: “Start a Vivado session”
  2. Open project: “Open my project at /path/to/project.xpr”
  3. Run synthesis: “Synthesize the design”
  4. Check timing: “What’s the timing summary? Is timing met?”
  5. Check utilization: “Show me the resource utilization”
  6. Close session: “Stop the Vivado session”

Available Tools

Session Management

  • start_session - Start a persistent Vivado TCL session
  • stop_session - Stop the Vivado session
  • session_status - Get session statistics

Project Management

  • open_project - Open a Vivado project (.xpr)
  • close_project - Close the current project
  • get_project_info - Get project information (part, directory, etc.)

Design Flow

  • run_synthesis - Run synthesis
  • run_implementation - Run place and route
  • generate_bitstream - Generate bitstream

Reports & Analysis

  • get_timing_summary - Get timing summary (WNS, TNS, WHS, THS)
  • get_timing_paths - Get detailed timing paths for failing/critical paths
  • get_utilization - Get resource utilization (LUTs, FFs, BRAMs, DSPs)
  • get_clocks - Get clock information
  • get_messages - Get synthesis/implementation messages

Design Queries

  • get_design_hierarchy - Get module/instance hierarchy
  • get_ports - Get top-level ports
  • get_nets - Search for nets
  • get_cells - Search for cells/instances

Simulation

  • launch_simulation - Launch behavioral/post-synth/post-impl simulation
GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "vivado": { "command": "vivado-mcp" } } }