/vibe-soc:yml2regfrom Vibe SoC
Generates register file RTL (APB/AHB/DAB), UVM regmodel, C headers, Excel, JSON/CSV regmap, and Spirit XML from YAML register descriptions. Useful for hardware DV and RTL engineers.
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.
One approved YAML → RTL + software + verification pack. Outputs beside YAML by default (output_dir optional).
| Tool | Output |
|---|---|
yml2reg | APB/AHB/DAB regfile RTL + interrupt banks |
yml2xml | Spirit/IP-XACT XML |
yml2excel | Excel table |
yml2reg_c | C header with sparse MMIO struct (reserved_* holes) |
yml2sysmap | module sysmap fragment |
yml2uvm_ral | UVM regmodel NAME_ral.svh |
yml2uvm_ral_top | multi-block top RAL from type: top YAML |
yml2sv_define | *_regs_define.h / .svh |
yml2regs_init | *_regs_init.sv / .c / .h |
yml2ral_lib | *_regs_ral_lib.svh (extends block + config) |
yml2bus_adapters | yml2reg_bus_adapters.svh (APB/AHB/DAB templates) |
yml2regmap_export | *_regmap.json + *.csv |
yml2docs | one-shot full pack (no RTL) |
yml2docs(yaml_file=..., targets="xml,excel,h,sysmap,ral,define,init,ral_lib,regmap,adapter")
yml2reg(yaml_file=..., protocol="apb")
Top multi-block:
yml2docs(yaml_file=demo_top.yml) # auto-detects blocks:[]
# or
yml2uvm_ral_top(yaml_file=demo_top.yml, emit_children=true)
coverage: true # UVM_CVR_ALL in RAL
hdl_path: u_sys_ctrl # block HDL root
hdl_path_prefix: tb.dut # => tb.dut.u_sys_ctrl
fields:
- {name: enable, ..., hdl_path: custom_slice_name} # optional
Top YAML (references/demo_top.yml):
name: DEMO_CHIP_TOP
type: top
blocks:
- yaml: demo_docs.yml
base_address: 0x1000
instance: u_sys_ctrl
hdl_path: tb.dut.u_sys_ctrl
Expand to RAW/STAT/MASK/SET/CLR/MODE/POLAR (RTL + RAL + headers), rals_parser aligned.
volatile uint32_t reserved_*[] for offset holes — safe for MMIO cast when offsets are word-aligned.apb_seq_item / ahb_seq_item / dab_seq_item with project types if needed.xml2yml (xml2yml / ipxact2yml tools).mcp_server.py (opens in a new tab)references/demo_docs.yml (opens in a new tab)references/demo_reg.yml (opens in a new tab)references/demo_top.yml (opens in a new tab)scripts/yml2bus_adapters.py (opens in a new tab)scripts/yml2docs.py (opens in a new tab)scripts/yml2excel.py (opens in a new tab)scripts/yml2ral_lib.py (opens in a new tab)scripts/yml2reg.py (opens in a new tab)scripts/yml2reg_c.py (opens in a new tab)scripts/yml2regmap_export.py (opens in a new tab)scripts/yml2regs_init.py (opens in a new tab)scripts/yml2sv_define.py (opens in a new tab)scripts/yml2sysmap.py (opens in a new tab)scripts/yml2uvm_ral.py (opens in a new tab)scripts/yml2uvm_ral_top.py (opens in a new tab)scripts/yml2xml.py (opens in a new tab)scripts/yml_model.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
register-map, uvm, ral, rtl-generation, hardware-verification
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.
/dft-genCheck DFT frontend readiness (test_mode/scan/test_rst hooks), generate DFT collateral under de/dft/, and package inputs for soc_dft (VC SpyGlass TestMAX). Exclusive skill of soc-dft-engineer.
/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./gen-memwrapExcel 存储器表 → **统一 SoC 端口 wrap** + **开源宏 .lib/.lef**(catalog 匹配或在线生成)。/get-startedChoose a Vibe SoC skill, scaffold a new project with soc_init, or find the local MCP and EDA setup needed for a task.Other plugins' skills for the same job