c910-autofix — community c910-autofix, wolf-sv-parser, community, ide skills, Claude Code, Cursor, Windsurf

v1.0.0
GitHub

About this Skill

Perfect for Debugging Agents needing SystemVerilog to graph conversion capabilities with advanced error detection and fix workflows. 支持SystemVerilog到图转换的Parser

Wolf-Tungsten Wolf-Tungsten
[0]
[0]
Updated: 2/26/2026

Agent Capability Analysis

The c910-autofix skill by Wolf-Tungsten is an open-source community AI agent skill for Claude Code and other IDE workflows, helping agents execute tasks with better context, repeatability, and domain-specific guidance.

Ideal Agent Persona

Perfect for Debugging Agents needing SystemVerilog to graph conversion capabilities with advanced error detection and fix workflows.

Core Value

Empowers agents to automate C910 simulation error detection, generate minimal repro cases, and fix wolf-sv-parser issues, leveraging SystemVerilog parsing and graph conversion, while documenting fixes for human review using protocols like log file analysis and module targeting.

Capabilities Granted for c910-autofix

Automating C910 bug case detection and fix workflows
Generating minimal repro cases for SystemVerilog simulation errors
Debugging wolf-sv-parser issues with targeted module analysis

! Prerequisites & Limits

  • Requires SystemVerilog parser support
  • Limited to C910 simulation error detection and fix workflows
  • Optional dependencies on user-provided log files and module names
Labs Demo

Browser Sandbox Environment

⚡️ Ready to unleash?

Experience this Agent in a zero-setup browser environment powered by WebContainers. No installation required.

Boot Container Sandbox

c910-autofix

Install c910-autofix, an AI agent skill for AI agent workflows and automation. Works with Claude Code, Cursor, and Windsurf with one-command setup.

SKILL.md
Readonly

C910 Bugcase + Fix Workflow

Use this skill when the user wants an end-to-end flow: detect a C910 simulation error, generate a minimal repro case, fix wolf-sv-parser, and document the fix for human review.

Inputs

  • Optional CASE_ID: if the user requests a specific case number; otherwise choose the next available case_XXX.
  • Optional USER_LOG: a user-provided log file path or pasted snippet. Use it to seed repro if provided.
  • Optional DUT_TOP: a user-provided module name to target (e.g., axi_slave128).
  • Optional SIGNALS: a user-provided comma-separated signal list (e.g., mem_dout, mem_addr) to guide module selection.

Workflow

  1. Entry paths:
    • If the user provides USER_LOG, read it first and extract warnings/errors (focus on error/critical lines, then warnings). Use these messages to identify likely RTL files/modules and the failure signature to reproduce.
    • If no USER_LOG is provided or it lacks actionable error context, run make run_c910_test from repo root and capture stdout/stderr to a log file (e.g. build/artifacts/c910_run.log). Use this log path for all subsequent steps.
  2. Read the chosen log (user-provided or freshly generated). Extract the error snippet and locate the referenced RTL file/module.
    • If DUT_TOP is provided, prioritize that module for the repro even if the log mentions other modules.
    • If SIGNALS is provided, use it to identify candidate modules and signal ownership before choosing the final DUT_TOP.
      • Example: rg -n "signal_name" tests/data/openc910/C910_RTL_FACTORY
      • After collecting matches, group by file/module and pick the module that contains the most requested signals.
      • If multiple modules tie, prefer the one that contains the DUT context from the log or the module directly referenced by a module <name> block.
    • Prefer the RTL file path and module name mentioned in the error or warning.
  3. Determine DUT_TOP and minimal RTL sources.
    • Use rg -n "module <DUT_TOP>" in tests/data/openc910/C910_RTL_FACTORY to find the module file.
    • Keep filelist.f minimal; prefer existing RTL paths. Add stub_modules.v only when needed.
  4. Create a new case directory tests/data/openc910/bug_cases/case_XXX.
    • Choose the next available index unless CASE_ID is provided.
  5. Create files (no tb_case_xxx.v; test the module directly):
    • filelist.f (RTL only)
    • tb_case_xxx.cpp (drives DUT directly)
    • Makefile
    • bug_report.md
    • coverage_check.py
    • optional stub_modules.v Use templates from assets/ and replace placeholders:
    • CASE_ID -> 001 (or chosen index)
    • DUT_TOP -> module name
    • __DUT_TOP__ -> module name (for V<top> symbols)
  6. TB requirements:
    • Include V<DUT_TOP>.h, implement clock/reset, deterministic stimulus, and at least one correctness check.
    • Ensure the stimulus exercises enough logic so that coverage is close to 90% when running run_c910_bug_case_ref.
    • TB validates module behavior; treat the original ref RTL as the gold standard for expected behavior.
    • TB is driven by the ref flow; do not modify TB to accommodate wolf output or wolf-only failures.
    • When VM_COVERAGE is enabled, write coverage to VERILATOR_COV_FILE.
  7. Makefile requirements:
    • Targets: run, run_c910_bug_case_ref, run_c910_bug_case, clean.
    • run uses --top $(DUT_TOP) to emit wolf_emit.sv.
    • run_c910_bug_case_ref runs RTL directly; run_c910_bug_case runs wolf_emit.sv.
    • Coverage enabled with COVERAGE=1; enforce COV_MIN (default 90%) for the ref run only.
    • For the wolf run, report coverage but do not fail the run (e.g. use COV_MIN=0 when invoking it).
    • Outputs under build/c910_bug_case/case_xxx/{rtl,wolf} only.
  8. Fill bug_report.md with the error summary, repro commands, expected vs actual, and minimization notes (include the log path and a snippet).
  9. Validate behavior:
    • make -C tests/data/openc910/bug_cases/case_XXX run_c910_bug_case_ref must complete without errors and coverage should be close to 90% (adjust TB stimulus to raise coverage; keep COV_MIN at 90 unless absolutely necessary).
    • make -C tests/data/openc910/bug_cases/case_XXX run_c910_bug_case must reproduce the same class of error message seen in the log (e.g., the same “Value already has a defining operation” failure). If it does not, refine the filelist; do not change TB for wolf-only behavior.
  10. Diagnose the root cause in wolf-sv-parser:
    • Locate the failing code path (parser, elaborator, or emitter) using the error signature and minimal repro case.
    • Prefer the smallest fix that preserves existing behavior; update or add tests if the fix changes expected output.
  11. Apply the fix:
    • Edit src/ and/or include/ as needed.
    • Rebuild with cmake --build build -j$(nproc) (configure with cmake -S . -B build if needed).
  12. Verify the fix:
    • Re-run make -C tests/data/openc910/bug_cases/case_XXX run_c910_bug_case and confirm the previous error no longer reproduces (report coverage only; do not enforce COV_MIN).
    • Run ctest --test-dir build --output-on-failure if the fix affects shared logic.
  13. Write a fix report for human review under docs/c910/ (e.g., docs/c910/case_XXX_fix_report.md):
    • Problem summary and original failure signature (include log path and a short snippet).
    • Minimal repro details (case path, DUT top, coverage status).
    • Root cause analysis in wolf-sv-parser.
    • Fix details (files changed, rationale, risks).
    • Validation results (commands and outcomes).
    • Open questions or follow-ups.
  14. Stop after report creation. Do not assume the fix is accepted; the human reviewer decides.

References

  • docs/c910/openc910调试方案.md

Templates

  • assets/Makefile.template
  • assets/tb_case_xxx.cpp.template
  • assets/bug_report.md.template
  • assets/coverage_check.py

FAQ & Installation Steps

These questions and steps mirror the structured data on this page for better search understanding.

? Frequently Asked Questions

What is c910-autofix?

Perfect for Debugging Agents needing SystemVerilog to graph conversion capabilities with advanced error detection and fix workflows. 支持SystemVerilog到图转换的Parser

How do I install c910-autofix?

Run the command: npx killer-skills add Wolf-Tungsten/wolf-sv-parser/c910-autofix. It works with Cursor, Windsurf, VS Code, Claude Code, and 19+ other IDEs.

What are the use cases for c910-autofix?

Key use cases include: Automating C910 bug case detection and fix workflows, Generating minimal repro cases for SystemVerilog simulation errors, Debugging wolf-sv-parser issues with targeted module analysis.

Which IDEs are compatible with c910-autofix?

This skill is compatible with Cursor, Windsurf, VS Code, Trae, Claude Code, OpenClaw, Aider, Codex, OpenCode, Goose, Cline, Roo Code, Kiro, Augment Code, Continue, GitHub Copilot, Sourcegraph Cody, and Amazon Q Developer. Use the Killer-Skills CLI for universal one-command installation.

Are there any limitations for c910-autofix?

Requires SystemVerilog parser support. Limited to C910 simulation error detection and fix workflows. Optional dependencies on user-provided log files and module names.

How To Install

  1. 1. Open your terminal

    Open the terminal or command line in your project directory.

  2. 2. Run the install command

    Run: npx killer-skills add Wolf-Tungsten/wolf-sv-parser/c910-autofix. The CLI will automatically detect your IDE or AI agent and configure the skill.

  3. 3. Start using the skill

    The skill is now active. Your AI agent can use c910-autofix immediately in the current project.

Related Skills

Looking for an alternative to c910-autofix or another community skill for your workflow? Explore these related open-source skills.

View All

widget-generator

Logo of f
f

f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.

149.6k
0
AI

flags

Logo of vercel
vercel

flags is a Next.js feature management skill that enables developers to efficiently add or modify framework feature flags, streamlining React application development.

138.4k
0
Browser

zustand

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI

data-fetching

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
AI