gen-asic-memmap

SkillFiles & storage

从 Excel memory map 生成芯片地址映射 YAML 与 C/SV sysmap header。Use when building SoC address map from a memmap workbook.

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the gen-asic-memmap skill

What this skill tells your AI

The instructions your AI receives, as published by siliconpeasant/vibe_soc in .agents/skills/gen-asic-memmap/SKILL.md and read by ahel’s review.

从 Excel memmap sheet 读取地址块,生成:

输出说明
{project}_ASIC.ymlblocks: name / offset / size / file
{project}_sysmap.hC #define ASIC_<BLOCK>_BASEADDR
{project}_sysmap.svhSystemVerilog `define ASIC_<BLOCK>_BASEADDR

MCP

gen_asic_memmap(excel_file, project_name, output_dir=".")

CLI

python3 .agents/skills/gen-asic-memmap/scripts/gen_asic_memmap.py \
  <memmap.xlsx> <project_name> [output_dir]

Excel 列(sheet 名含 memmap

含义
Bblock name(跳过 Slave / RESERVE / 重复名)
Foffset(START,如 0x80000000
Hsize(如 2GB256KB
Jyml path(可选)

模板:references/memmap_demo.xlsx

注意

  • 依赖 pandas
  • 输出默认写到 output_dir(含 yml 与 sysmap headers)
  • yml2reg 互补:本工具管块基址;yml2reg 管模块寄存器

Signals

GitHub stars
38
Forks
18
Last commit
Aug 2026
Advanced
Catalog kind
skill
Gateway key
gen-asic-memmap
Source
github.com/siliconpeasant/vibe_soc