NM

nellyw8/mcp4eda

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

112 stars 13 forks Качество 59 Тренд 15

nellyw8/mcp4eda — это кандидат для MCP-сервера, импортированный из https://github.com/nellyw8/mcp4eda.

Обзор

nellyw8/mcp4eda — это кандидат для MCP-сервера, импортированный из https://github.com/nellyw8/mcp4eda.

Обзор (машинный перевод)

Реализация статьи: MCP4EDA: Автоматизация RTL-to-GDSII Model Context Protocol с оптимизацией синтеза на базе Backend Aware

Комплексный сервер Model Context Protocol (MCP), обеспечивающий интеграцию инструментов автоматизации электронного проектирования (EDA) для AI-ассистентов, таких как Claude Desktop и Cursor IDE. Этот сервер позволяет ИИ выполнять синтез Verilog, симуляцию, процессы проектирования ASIC и анализ волновых форм через единый интерфейс.

  • Наш сайт

Демо

https://github.com/user-attachments/assets/65d8027e-7366-49b5-8f11-0430c1d1d3d6

Демонстрация EDA MCP Server, демонстрирующая синтез, симуляцию и процесс проектирования ASIC Verilog

Особенности

  • Verilog Synthesis: синтез кода Verilog с использованием Yosys для различных FPGA-целей (generic, ice40, xilinx)
  • Verilog Simulation: Моделирование проектов с использованием Icarus Verilog с автоматическим выполнением тестбенда
  • Waveform Viewing: запуск GTKWave для визуализации VCD-файлов и анализа сигналов
  • ASIC Design Flow: Полный поток RTL-to-GDSII с использованием OpenLane с интеграцией с Docker
  • Просмотр макета: Открыть GDSII-файлы в KLayout для физической проверки проектирования

Эта страница переведена автоматически. Технические детали смотрите в оригинале.

README

Показан фрагмент оригинального README. Открыть оригинал.

EDA Tools MCP Server

Implementation of the paper: MCP4EDA: LLM-Powered Model Context Protocol RTL-to-GDSII Automation with Backend Aware Synthesis Optimization

A comprehensive Model Context Protocol (MCP) server that provides Electronic Design Automation (EDA) tools integration for AI assistants like Claude Desktop and Cursor IDE. This server enables AI to perform Verilog synthesis, simulation, ASIC design flows, and waveform analysis through a unified interface.

Demo

https://github.com/user-attachments/assets/65d8027e-7366-49b5-8f11-0430c1d1d3d6

EDA MCP Server demonstration showing Verilog synthesis, simulation, and ASIC design flow

Features

  • Verilog Synthesis: Synthesize Verilog code using Yosys for various FPGA targets (generic, ice40, xilinx)
  • Verilog Simulation: Simulate designs using Icarus Verilog with automated testbench execution
  • Waveform Viewing: Launch GTKWave for VCD file visualization and signal analysis
  • ASIC Design Flow: Complete RTL-to-GDSII flow using OpenLane with Docker integration
  • Layout Viewing: Open GDSII files in KLayout for physical design inspection
  • Report Analysis: Read and analyze OpenLane reports for PPA metrics and design quality assessment

Prerequisites

Before using this MCP server, you need to install the following EDA tools:

1. Yosys (Verilog Synthesis)

macOS (Homebrew):

brew install yosys

Ubuntu/Debian:

sudo apt-get update
sudo apt-get install yosys

From Source:

# Install prerequisites
sudo apt-get install build-essential clang bison flex \
    libreadline-dev gawk tcl-dev libffi-dev git \
    graphviz xdot pkg-config python3 libboost-system-dev \
    libboost-python-dev libboost-filesystem-dev zlib1g-dev

# Clone and build
git clone https://github.com/YosysHQ/yosys.git
cd yosys
make -j$(nproc)
sudo make install

Alternative - OSS CAD Suite (Recommended): Download the complete toolchain from: https://github.com/YosysHQ/oss-cad-suite-build/releases

2. Icarus Verilog (Simulation)

macOS (Homebrew):

brew install icarus-verilog

Ubuntu/Debian:

sudo apt-get install iverilog

Windows: Download installer from: https://bleyer.org/icarus/

3. GTKWave (Waveform Viewer)

Direct Downloads (Recommended):

  • Windows: Download from SourceForge
  • macOS: Download from SourceForge or use Homebrew: brew install --cask gtkwave
  • Linux: Download from SourceForge or use package manager: sudo apt-get install gtkwave

Alternative Installation Methods:

# macOS (Homebrew)
brew install --cask gtkwave

# Ubuntu/Debian
sudo apt-get install gtkwave

# Build from source (all platforms)
git clone https://github.com/gtkwave/gtkwave.git
Открыть полный README на GitHub

Установка

docker run -i --rm alpine/socat STDIO TCP:host.docker.internal:8811
Новичок в MCP? Начните с руководства на mcpskill.org →

Конфигурация

{ "mcpServers": { "MCP_DOCKER": { "command": "docker", "args": [ "run", "-i", "--rm", "alpine/socat", "STDIO", "TCP:host.docker.internal:8811" ] } } }