/vibe-soc:dft-genfrom Vibe SoC
Checks DFT frontend readiness (test_mode/scan/test_rst hooks), generates SGDC/Tcl collateral under de/dft/, and packages inputs for VC SpyGlass TestMAX. Exclusive to soc-dft-engineer role.
Ships in Vibe SoC. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
Owner role: soc-dft-engineer only. MCP dft-gen is connected at the
project parent for routing; execution remains exclusive to this owner through
the role's named MCP inheritance.
Lane split: this owner emits DFT readiness reports + design collateral
(SGDC/Tcl notes). DFT execution uses registered soc-build.soc_dft
(Make target dft, VC Static / TestMAX, default goal dft_scan_ready). Do not
run functional sim, synthesis, Formality, CLP, or OpenROAD from this skill.
Project DFT frontend standard (e.g. 金山文档 DFT前端实现规范) is the primary policy authority when present. Bundled checklist is a bootstrap until that standard is checked into the workspace.
# 1) Readiness: scan RTL top ports/names for DFT hooks
python scripts/dft_gen.py readiness --rtl path/to/top.v -m top --out de/dft/top_dft_readiness.json
# 2) From RTL ports → starter SGDC + optional module notes Tcl
python scripts/dft_gen.py from-rtl --rtl path/to/top.v -m top -o de/dft/top_dft.sgdc --tcl de/dft/top_dft.tcl
# 3) From reviewed YAML → hierarchical SGDC
python scripts/dft_gen.py gen --config de/dft/top_dft.yml -o de/dft/top_dft.sgdc --tcl de/dft/top_dft.tcl
Then run VC SpyGlass DFT through the registered MCP (not shell):
soc-build.soc_dft(module_dir=..., rtl_top=..., dft_tool="vc_static")
| Tool | Purpose |
|---|---|
dft_readiness_check | Port/name heuristics + optional docs scan → JSON/MD readiness |
dft_sgdc_from_rtl | RTL top ports → starter .sgdc (+ optional .tcl) |
dft_sgdc_gen | YAML/JSON config → .sgdc (+ optional .tcl) |
Successful generators print a machine-readable DFT_ARTIFACTS=<json> line.
SGDC remains a useful human/review artifact and maps conceptually to VC Static
TestMAX constraints (set_test_mode, create_test_clock, …). Runtime does
not use classic SpyGlass sg_shell / run_goal.
current_design <top>
test_mode -name <path> -value 1
reset -name <path> -value 0
clock -name <path> [-atspeed -testclock -period 5.0 -edge {0 1}]
Starter from-rtl only sees top ports. Hierarchical test_rstn /
dftrstdisable* / pad clocks require reviewed YAML paths.
Registered Make driver: scripts/dft/vc_dft.tcl via vc_static_shell:
set_app_var enable_dft true
analyze / elaborate <top>
# optional: source de/dft/*_vc.tcl or *_lib.tcl
configure_dft_setup -goal dft_scan_ready
check_dft
# optional: configure_dft_setup -goal dft_best_practice ; check_dft
report_violations -app {DFT} ...
Prefer a reviewed de/dft/*_vc.tcl for real test clocks / test_mode. Without it,
the driver bootstraps from VC_CLOCK_PORT / VC_TEST_MODE_PORT /
VC_RESET_PORT (and related env vars).
RTL_TOP, and filelist.dft_readiness_check; treat missing must categories as blockers.de/dft/<top>_dft.sgdc (and VC setup Tcl when useful).soc_dft with explicit top; triage de/run/dft/report_dft.txt.python -m unittest discover -s tests
SKILL.md — this filemcp_server.py — MCP entryscripts/dft_gen.py — CLI generator / readinessreferences/dft_frontend_checklist.md — bootstrap checklistreferences/dft_sgdc_template.yml — YAML exampletests/ — unit testsWhat SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub siliconpeasant/vibe_soc --plugin vibe-soc13 skills in this plugin
/crg-design-genCRG frontend design flow: requirement table → clock/reset design tables + PLL report, and/or reviewed design tables → Draw.io/Excalidraw topology diagrams. Merges former crg-req-to-design and cr-tree-diag-gen.
/excel-yml-genGenerate YAML and Verilog register-file artifacts from a structured Excel register workbook. Use when the approved register source is an Excel sheet./gen-asic-memmap从 Excel memory map 生成芯片地址映射 YAML 与 C/SV sysmap header。Use when building SoC address map from a memmap workbook.Other plugins' skills for the same job