MCP Server for AI-powered RTL diagram generation from Verilog source
Project description
RTLViz
Generate interactive block diagrams from Verilog source files.
Example Output
Installation
pip install rtlviz
If the rtlviz command is not in your PATH after installation:
python -m rtlviz generate ./src
Quick Start
Option 1: Command Line
rtlviz generate ./src -o diagram.html
Option 2: AI Assistant Integration
Configure your IDE to use RTLViz as an MCP server:
rtlviz setup
Supported IDEs:
- Antigravity
- Claude Desktop
- Cursor
- VS Code Copilot
- Windsurf
After setup, ask your AI assistant:
"Generate an RTL diagram for the Verilog files in ./src"
Commands
Generate Diagram
rtlviz generate <source_dir> -o <output.html>
rtlviz generate ./src -o diagram.html --title "My CPU"
Configure IDE
rtlviz setup # Auto-detect and configure all IDEs
rtlviz setup --cursor # Configure specific IDE
Features
- Automatic module and connection parsing from Verilog
- Pipeline stage detection (IF, ID, EX, MEM, WB)
- Orthogonal routing with color-coded functional clusters
- LLM-enhanced semantic labeling via MCP
- Interactive HTML output with pan, zoom, and SVG export
Requirements
- Python 3.10+
- Internet connection (for Viz.js rendering)
License
MIT License
Links
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rtlviz-0.4.6.tar.gz.
File metadata
- Download URL: rtlviz-0.4.6.tar.gz
- Upload date:
- Size: 350.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d0235483297ac4fbfaee493602d103ef6c58e75cae5b7a6303cc86fea0367c41
|
|
| MD5 |
129f693f8d78146931c3719d02d05b0b
|
|
| BLAKE2b-256 |
1e368ccbbe936df5b038d952f82043d33942cee9ff6954ba6a24fb00176b5eba
|
File details
Details for the file rtlviz-0.4.6-py3-none-any.whl.
File metadata
- Download URL: rtlviz-0.4.6-py3-none-any.whl
- Upload date:
- Size: 34.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aacd22d93a6154123b810756b56b49a68426847609ddbe5d801468c2bb36e367
|
|
| MD5 |
4690d97716e36b7439028f055c9049f5
|
|
| BLAKE2b-256 |
fec8963731612589afc73e78bf353e9dd38b5ef7c2522bd1191ea4ba6874e82d
|