用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/babyworm/rtl-agent-team --skill rtl-p5s-cdc-policy命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | rtl-p5s-cdc-policy |
| description | Internal reference: rtl p5s cdc policy (agent-loaded; do not invoke). |
| user-invocable | false |
CDC analysis MUST recognize the project clock/reset naming conventions (CLAUDE.md):
clk (single domain) or {domain}_clk (multiple domains, e.g., sys_clk, axi_clk, pixel_clk)
clk_i, clk_sys — these are non-conformantrst_n (single domain) or {domain}_rst_n (multiple domains, e.g., sys_rst_n, axi_rst_n)
rst_ni — this is non-conformanti_ prefix not required (exception). All other ports require i_/o_/io_u_ prefix (e.g., u_sync_axi_to_sys)u_ prefix (e.g., u_gray_encoder)If RTL uses non-conformant clock/reset names, flag as a CONVENTION VIOLATION in the report in addition to any CDC violations.
{domain}_clk format)| Crossing Type | Recommended Synchronizer |
|---|---|
| Single-bit control | 2-FF synchronizer (3-FF for high-freq) |
| Multi-bit counter | Gray code FIFO |
| Multi-bit data bus | Handshake (REQ/ACK) or MUX synchronizer |
| Single-cycle pulse | Pulse synchronizer (toggle-based) |
| Bulk data (cross-domain R+W) | Dual-port SRAM (sram_dp with wclk/rclk) |
| Reset signal | Async assert, sync deassert reset synchronizer |
sram_dp from rtl/common/ is inherently a CDC element — write port on wclk, read port on rclk.
wclk and rclk MUST be in different clock domains (verified in CDC analysis)i_waddr, i_wen, i_raddr, i_ren) must be generated within their respective clock domainsset_clock_groups -asynchronous between wclk and rclk domainssram_dp instances and verify wclk/rclk domain assignmentFor comprehensive CDC analysis, commercial tools (SpyGlass CDC, Conformal CDC, Questa CDC) provide formal proof of synchronizer correctness beyond structural analysis.
See {plugin_root}/skills/rtl-p5s-cdc-verify/references/cdc-patterns.md for SDC constraint templates, violation checklist,
and detailed synchronizer implementation guidance.
基于 SOC 职业分类