sjscy05/matlab-modelsim-vivado-plugin

Plugin插件 Native原生 ⭐ 2 MIT Productivity & Tasks效率与任务

DeepSeek Harness插件:用于数字通信IC设计任务的MATLAB + ModelSim + Vivado全流程工具(mmv-dspic)

Project Overview项目介绍

mmv-dspic is a DSH plugin offering seven local tools spanning MATLAB algorithm modeling, ModelSim RTL compilation/simulation, and Vivado synthesis, implementation, and bitstream generation, for digital communication IC workflows. Use it for end-to-end FPGA/IC design. Caveat: it must be built inside a deepseek-harness checkout; processes spawn directly, bypassing shell sandbox approval, and long jobs run in the foreground bounded by timeout.

mmv-dspic 是 DSH 插件,提供 MATLAB 算法建模、ModelSim RTL 编译仿真、Vivado 综合实现到比特流的 7 个本地工具,适合数字通信 IC 全流程开发。注意需在 deepseek-harness checkout 内构建使用,进程直接 spawn 不走沙箱审批,长任务前台执行受超时限制。

Pre-install check安装前体检Compatibility · Security兼容性 · 安全性 1 warning1 项注意
  • Only 2 stars - very few users, little community feedback星标只有 2,几乎没人在用,遇到问题缺少社区反馈
DSH walks through these 9 checksDSH 会逐条核对这 9 项

Compatibility兼容性

  • DSH, Node, OS and profile requirementsDSH 版本 / Node 版本 / 操作系统 / profile 是否满足要求
  • External dependencies and runtimes (Electron / Python / Docker, ...)外部依赖与运行时(Electron / Python / Docker 等)是否齐备
  • Conflicts with installed plugins: command names, skill / tool names, ports, duplicate MCP registration与已装插件是否冲突:命令名、skill / tool 重名、端口占用、重复 MCP 注册

Security安全性

  • Repo matches the facts registered here; archived or abandoned?仓库是否与页面登记一致,是否归档或长期停更
  • Safety of preinstall / install / postinstall and install.sh / setup.ps1preinstall / install / postinstall 与 install.sh、setup.ps1 是否安全
  • curl|bash, download-then-execute, obfuscation, unrelated domains → stop immediatelycurl|bash、下载即执行、混淆代码、无关域名 → 立刻停止
  • Typosquatting or unmaintained packages among the new dependencies新增依赖里有没有 typosquatting 或无人维护的包
  • Requested permissions vs. what the feature actually needs申请了哪些权限、是否超出功能所需(filesystem / network / shell / clipboard)
  • Any sudo / admin requirement, plus uninstall and rollback是否要求 sudo / 管理员权限,以及卸载与回滚方式

Anything uncertain must be marked unknown with a note on how to confirm it. This site's signal screen is a static snapshot, not a security audit.拿不准的必须标「未知」并说明要我怎么确认。本站的信号筛查是静态快照,不能替代安全审计。

Or use CLI install (for developers)或使用命令行安装(适合开发者)

CLI Install命令行安装

dsh plugin --profile web add github:sjscy05/matlab-modelsim-vivado-plugin

把 sjscy05/matlab-modelsim-vivado-plugin 加入你的 DSH 配置(web profile)即可启用。

READMEREADME

mmv-dspic — MATLAB + ModelSim + Vivado 数字通信 IC 设计全流程插件

一个 DeepSeek Harness 插件,为 Agent 提供 MATLAB(算法建模/参考仿真)→ ModelSim(RTL 编译/仿真)→ Vivado(综合/实现/比特流) 的完整数字通信 IC 设计工具链,全部通过本地已安装的 EDA 工具执行。

工具一览

工具 作用
mmv_check_env 探测 MATLAB / ModelSim / Vivado 是否可用并读取版本信息
mmv_project_init 初始化设计工作区(matlab/ rtl/ sim/ scripts/ reports/ + 模板)
mmv_matlab_run 以 matlab -batch 运行 .m 脚本或内联表达式,捕获输出与退出码
mmv_modelsim_compile 用 vlog/vcom 把 Verilog/SystemVerilog/VHDL 源码编译进 work 库(vlib 自动建库)
mmv_modelsim_simulate 用 vsim -c 以 do-file 或内联命令运行批处理仿真,可录制波形
mmv_vivado_run 以 vivado -mode batch -notrace 运行任意 Tcl 脚本
mmv_vivado_flow 一键生成并运行 综合 → 实现 → 比特流 的标准 Tcl 流程

所有运行类工具返回统一的规范结果:exitCode(超时被杀时为 null)、timedOut、durationMs、stdout、stderr、truncated(输出超过 maxOutputChars 上限时截断并标记)。非零退出码是正常领域结果而非工具错误,Agent 需检查 exitCode 判断成败。

安装与加载

本插件运行在 DeepSeek Harness 生态内(依赖 @deepseek-ai/dsh-tools 等 workspace 包),推荐把它作为可放入 checkouts 的文件夹使用:克隆/复制本仓库到你的 deepseek-harness checkout 根目录(保留文件夹名 matlab-modelsim-vivado-plugin,这样 tsconfig/vitest 对 ../tsconfig.base.json 的相对引用成立;放在其他位置时请相应调整)。

方式一:Web 覆盖层(开发用,已验证)

# 从 deepseek-harness checkout 根目录运行
# cordis.yml 中的 name 需为绝对路径,Windows 上必须写成 file:///... 的 URL 形式
# (裸的 D:/ 路径会被当成 d: 协议)——迁移机器后请修改该行
pnpm dsh web --patch ./matlab-modelsim-vivado-plugin/cordis.yml

打开 http://127.0.0.1:3080。启动日志出现 [mmv-dspic] plugin loaded (...) 即加载成功;Agent 立即可调用 7 个 mmv_* 工具。若已有 GUI 实例在运行,需先停掉旧实例再以此命令重启。

方式二:组合包安装(bundle,官方格式)

# 先构建 lib/(在 checkout 根目录执行)
node node_modules/typescript/bin/tsc -b matlab-modelsim-vivado-plugin/tsconfig.build.json

# 安装进 profile(本仓库声明了 dsh.bundle manifest,会自动追加到 dsh.profile.bundles)
pnpm dsh plugin --profile web add ./matlab-modelsim-vivado-plugin
pnpm dsh web   # 或 dsh --profile web 启动

验证层已生效:pnpm dsh --profile web --dump-config 应出现 # == mmv-dspic 层。源码模式(pnpm dsh,tsx 解析)下 @deepseek-ai/* 依赖经由 checkout 的 tsconfig paths 解析;dsh plugin add 用 link: 协议链接本目录,不会自动安装其 npm 依赖,因此必须在 deepseek-harness checkout 内构建并使用。从纯 npm/git 独立安装(脱离 checkout)暂不支持,需要先发布到 npm 再由 pnpm 解析依赖。

方式三:临时 profile 验证

pnpm dsh plugin --profile mmv-test add ./matlab-modelsim-vivado-plugin
pnpm dsh --profile mmv-test --dump-config   # 检查 # == mmv-dspic 层
# 验证后删除:Remove-Item $env:USERPROFILE\.dsh\profiles\mmv-test -Recurse

Showing the opening section of the README — the full document lives in the repository以上为 README 开头摘要,完整文档在仓库内 · View the full README on GitHub →在 GitHub 查看完整 README →

← 上一个 Prev codex-ui 下一个 Next dsh-remote-tunnel-easy →