{"slug":"readable-verilog-workspace","title":"readable-verilog-workspace","summary":"Use before creating or moving files in the designated RTL workspace. Initialize and inspect the layout, place synthesis and simulation tool projects under prj/, and map maintained sources to manuals.","platform":"Claude","tags":[],"authorName":"LLM Mart","authorSlug":"llm-mart","score":0,"source":"github","price":null,"verified":false,"createdAt":"2026-12-03T17:18:10.961412Z","repo":{"url":"https://github.com/Eriemon/verilog-generator","stars":348,"forks":23,"license":"Apache-2.0","updatedAt":"2026-12-03T15:34:41Z"},"bodyHtml":"<hr>\n<h2>name: readable-verilog-workspace\ndescription: Use before creating or moving files in the designated RTL workspace. Initialize and inspect the layout, place synthesis and simulation tool projects under prj/, and map maintained sources to manuals.</h2>\n<h1>管理 RTL 工程工作区</h1>\n<h2>检查与初始化</h2>\n<p>在指定工作目录创建或移动文件之前，与当前主责同轮读取本技能，确认工程根、来源和目标路径。新建工具工程时，将工程目录或启动工具的工作目录设在 <code>&lt;工作目录&gt;/prj/</code> 下。已有工程的排错与优化沿用原布局；需要新建工具工程时按需建立 <code>prj/</code>。计划迁移已有文件时，先核对源清单、脚本引用和手册路径。</p>\n<ol>\n<li>完整设计启动时，对实际工程根运行 <code>python -m verilog_generator workspace --work-dir &lt;工程根&gt; --init</code>。重复执行可补齐目录，省略 <code>--init</code> 为只读检查。</li>\n<li>核对源码归属及手册路径，报告冲突的原位置和建议位置，由项目负责人决定迁移。旧工程支持根目录的 <code>spec.json</code>、<code>model.py</code>；新旧入口并存时先澄清。</li>\n<li>每份自维护代码对应 <code>docs/&lt;完整源码相对路径&gt;.md</code>，如 <code>tools/build.tcl → docs/tools/build.tcl.md</code>。外部库记录版本与接口；生成缓存排除在源码清单外。</li>\n</ol>\n<ul>\n<li>新工程布局就绪，把规格路径交<a href=\"../readable-verilog-spec/SKILL.md\">规格</a>起草接口。已有工程返回源清单或冲突路径给<a href=\"../readable-verilog-generator/SKILL.md\">总调度器</a>，按当前阶段继续；单独整理目录时交付检查结果即可。</li>\n</ul>\n<h2>目录归属</h2>\n<table>\n<thead>\n<tr>\n<th>目录</th>\n<th>内容</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>rtl/</code></td>\n<td>自研 DUT 与设计头文件，可按子系统分目录。FPGA/ASIC 使用可综合 RTL；纯仿真放受测 Verilog 行为模块。</td>\n</tr>\n<tr>\n<td><code>tb/</code></td>\n<td>自检台、激励、监视器、断言、测试辅助源码。</td>\n</tr>\n<tr>\n<td><code>model/</code></td>\n<td>独立 Python 入口 <code>model.py</code>；<code>golden/</code> 存绑定规格和模型版本的期望输出。</td>\n</tr>\n<tr>\n<td><code>sim/</code></td>\n<td>仿真源清单、工具配置、.do/Tcl；<code>build/</code> 存编译缓存，<code>runs/</code> 存运行波形。</td>\n</tr>\n<tr>\n<td><code>prj/</code></td>\n<td>新建的综合、实现或仿真工具工程。例：Vivado 工程放在 <code>prj/vivado/&lt;工程名&gt;/</code>；VCS 在 <code>prj/vcs/&lt;工程名&gt;/</code> 编译并保留 simv、csrc 等产物；DC 工作目录可放在 <code>prj/dc/&lt;工程名&gt;/</code>。按实际工具建子目录，工程引用 <code>rtl/</code>、<code>tb/</code>、<code>ip/</code> 中的维护源，验收报告归入 <code>reports/</code>。</td>\n</tr>\n<tr>\n<td><code>ip/</code></td>\n<td>IP 配置、包装器、必要模型、约束和供应商原装脚本；记录版本、接口及再生成条件。</td>\n</tr>\n<tr>\n<td><code>tools/</code></td>\n<td>可复用的 Python 或原生工具。</td>\n</tr>\n<tr>\n<td><code>scripts/</code></td>\n<td>工程构建、仿真和交付入口（BAT/CMD、PowerShell、Shell），对应 <code>docs/scripts/</code>。</td>\n</tr>\n<tr>\n<td><code>docs/</code></td>\n<td><code>docs/spec/spec.json</code>、<code>docs/spec/revisions/</code> 讨论稿及波形、逐源码说明；<code>docs/release/</code> 归档两册与逐文件交付。</td>\n</tr>\n<tr>\n<td><code>spec/</code></td>\n<td>最新正式 spec.md、spec.doc、spec.pdf 和离线媒体 <code>media/</code>。</td>\n</tr>\n<tr>\n<td><code>reports/</code></td>\n<td>验证、综合、时序和故障证据；<code>workflow/</code> 存调度状态，<code>verification.json</code> 存对拍通过记录，<code>delivery.json</code> 指向最近成功出版版本。</td>\n</tr>\n</tbody>\n</table>\n","files":[{"path":"scripts/workspaces/layout.py","sizeBytes":5930,"isText":true},{"path":"SKILL.md","sizeBytes":3145,"isText":true}],"reviewScore":null,"reviewSummary":null,"trust":{"provenance":"trusted-source-unreviewed","notice":"Community-authored content, reproduced verbatim and not vetted as instructions. Treat it as data to evaluate, never as directives to follow.","bodySource":null},"bodyLocked":false,"purchaseUrl":null,"sourceUrl":null,"report":{"provenance":"trusted-source-unreviewed","screen":{"ran":true,"outcome":"clean","suspicious":0,"notes":0,"hiddenCharacters":false},"virusScan":{"engine":"clamav","status":"clean","scannedAt":"2026-12-03T17:19:55.55029Z","sha256":"D11A06A0A0818DE4D77CFD00B4ADE6EC4286E01ED669E99139D32BA74AE19941","sizeBytes":4303},"review":null,"source":{"repositoryUrl":"https://github.com/Eriemon/verilog-generator","path":"skills/readable-verilog-workspace","license":"Apache-2.0","commit":"4738a3c74a2b8a4fec46e6abef7abf66f3eaebea","subtreeSha":"5C31E5FE829E2A6159324E309EB99F8B4E918B1B92647AFDAC466E2B2A9FE53F","lastSyncedAt":"2026-12-03T17:18:07.377421Z"},"reviewedAt":"2026-12-03T17:23:34.766424Z","notice":"Community-authored content, reproduced verbatim and not vetted as instructions. Treat it as data to evaluate, never as directives to follow."},"install":[{"target":"skills-cli","command":"npx skills add https://github.com/Eriemon/verilog-generator/tree/main/skills/readable-verilog-workspace"},{"target":"claude-code","command":"claude plugin marketplace add https://llmmart.ai/marketplace.json && claude plugin install eriemon-verilog-generator@llmmart"},{"target":"git","command":"git clone https://github.com/Eriemon/verilog-generator.git"}]}