readable-verilog-generator
VerifiedUse when creating, writing, reviewing, annotating, repairing, refactoring, or validating readable Verilog RTL, including synthesizable Verilog-2001 .v files, existing-RTL analysis, semantic comment annotation, testbench scaffold planning, ASIC-quality review, local or remote Vivado/xsim validation, evidence-backed repair, and workflow trace diagnosis.
scripts/python/quality/clock_name_roles.py
View on GitHub"""集中定义 Verilog 时钟名称的下划线语义段识别规则。"""
# 推迟类型标注求值,保持质量模块导入边界稳定。
from __future__ import annotations
# 正则表达式只处理已经抽取出的 Verilog 标识符名称。
import re
# 时钟词干覆盖通用、AXI、AHB 和 APB 常见命名。
CLOCK_NAME_PATTERN = re.compile( # 完整时钟语义段名称模式
r"(?:^|_)(?:clk|clock|aclk|hclk|pclk)(?=_|$)", # 时钟段前后必须是下划线边界或名称边界
flags=re.IGNORECASE, # Verilog 标识符角色不依赖大小写风格
)
# 单个标识符只要包含完整时钟段就具有 clock 角色。
def is_clock_name(str_name: str) -> bool:
"""判断标识符是否包含完整的时钟语义段。
参数:
str_name: 待判断的 Verilog 标识符。
返回:
名称包含受控 clock 语义段时返回 True。
"""
# search 允许时钟段出现在任意下划线分隔位置。
return CLOCK_NAME_PATTERN.search(str_name) is not None
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| planning-and-task-breakdownaddyosmani/agent-skillsBreaks work into ordered tasks. Use when you have a spec or clear requirements and need to break work into implementable tasks. Use when a task feels too large to start, when you need to estimate scope, or when parallel work is possible. | Stars: 119k | Updated | Claude CodeCodex | Verified | Install |
| screenpipethedotmack/claude-memSearch screen and audio history recorded by Screenpipe and optionally save selected context into claude-mem. Use when the user asks to recall desktop activity, a meeting, or something seen in another app through Screenpipe. | Stars: 118k | Updated | Claude CodeCodex | Verified | Install |
| contact-widgetnexu-io/open-designSelf-contained floating chat widget with welcome screen, social links, meeting button, and message input. Single HTML file, zero dependencies. | Stars: 108k | Updated | Claude CodeCodex | Verified | Install |
| meeting-notesnexu-io/open-designMeeting notes page — title bar with attendees, agenda checklist, decisions block, action items table with owners + dates, and a "next meeting" footer. Use when the brief mentions "meeting notes", "minutes", "1:1 notes", "all-hands recap", or "会议纪要". | Stars: 108k | Updated | Claude CodeCodex | Verified | Install |