/hpm-pintool-helper:hpm-pla-configfrom hpm-pintool-helper
Configures HPM PLA (Programmable Logic Array) modules by mapping filter, AND/OR gate, and CFF logic requirements to channel configurations. Generates initialization C code or Mermaid flowcharts for signal logic visualization.
Ships in hpm-pintool-helper. 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.
None: SKILL.md is the whole skill.
先读取远程会话与目标选择,确定 SDK/SoC。
get_pla_overview 查找实际模块、通道及 IO。返回的 channels[].enabled 均为默认 false,不代表板卡当前状态。模块不存在时报告当前目标的查询结果。get_pla_options,读取 filters.filter1/filter2/filter3、 andGate、orGate 和 cff。可用组的 parameters 中,key: channel 提供可选滤波器/门编号;返回名称是原始元数据,不带选定门的前缀。plaConfigs: [{ plaIdx, filter1?, channels, input?, output? }]。通道键为 chn0–chn7,仅对参与逻辑的通道设置 enabled: true。 filter2、filter3、andGate、orGate、cff 放在对应通道内, filter1 放在模块级。参数值按 schema 使用字符串,enabled 使用布尔值。每个滤波器/门的 channel 依据其资源编号选择;Filter3 只支持 0–6,不能用 7。以元数据编码构造门输入,不把布尔真值直接当成硬件选择器编码。generate_pla_code({ soc, sdkName, plaConfigs }) 获取 { init_pla },或调用 generate_pla_flowchart({ soc, sdkName, plaIdx, plaConfigs }) 获取 { mermaid }。同时需要代码和图时使用相同配置,逐个生成所需模块图。核对需求中的每条逻辑路径都落在已启用通道及有效选项上。流程图只绘制已启用通道;模块缺失提示或空图不能当作预期逻辑已实现。input/output 是图示标签,实际外部连接需按 TRGM/引脚配置建立;涉及连接时使用 引脚与信号路由。
交付模块/通道分配、关键参数编码与逻辑对应关系,以及用户要求的代码/图。单纯查看可用模块或参数时,以查询结果结束,无需创建配置。
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
4 skills in this plugin
/hpm-clock-config查询 HPM 时钟树,按目标频率规划 PLL、源时钟和功能时钟,生成时钟 C 代码或 Mermaid 信号路径。用于配置 CPU/外设时钟、查看时钟来源或分析分频;不测量硬件实际频率。/hpm-hpmpc-project读取 HPM .hpmpc 本地工程生成引脚/时钟源码,或把完整 ProjectEntity 配置校验封装为 .hpmpc;也用于修改工程后重新生成完整性校验值。用于工程导入导出与源码转换,不负责构建或烧录。/hpm-pinmux-config查询 HPM 芯片的引脚与信号,规划外设引脚分配、PAD 参数和 TRGM/GPIOM 路由,并生成 pinmux C 代码。用于选引脚、检查复用冲突或配置触发路由;不负责固件烧录。npx claudepluginhub hpmicro/hpmicro-ai-tools --plugin hpm-pintool-helper