agentleFS
MindrallyMindrally/skills/systemverilog/SKILL.md

systemverilog

Skill275 starsChanged 53 days agoApache-2.0View on GitHub

SystemVerilog development guidelines for FPGA and ASIC design covering modular design, verification, and timing optimization.

The file

We split this skill into the rules it gives an agent

12 rules. About 0 are common, 8 are distinctive, and 4 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈8

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 4

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use clear interface blocks for module connections

    line 17
  2. Distinctive:

    Prefer synchronous over asynchronous reset to ensure predictable behavior

    line 24
  3. Distinctive:

    Avoid combinational loops and latches

    line 25
  4. Distinctive:

    Use timing reports to identify critical path bottlenecks

    line 31
  5. Very specific:

    Write efficient code for LUT/FF/BRAM usage

    line 37
  6. Very specific:

    Use reg [] for RAM inference

    line 38
  7. Very specific:

    Use assert statements for property checking

    line 53
  8. Distinctive:

    Run behavioral and post-synthesis simulations

    line 57
  9. Distinctive:

    Use Integrated Logic Analyzer (ILA) for real-time debugging

    line 58
  10. Distinctive:

    Use proper handshaking protocols

    line 65
  11. Distinctive:

    Verify CDC paths thoroughly

    line 66
  12. Distinctive:

    Use retiming for optimization

    line 76

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

SystemVerilog Development

You are an expert in SystemVerilog for FPGA and ASIC design, verification, and hardware optimization.

Modular Design & Code Organization

  • Structure designs into small, reusable modules to enhance readability and testability
  • Begin with a top-level module and decompose into sub-modules
  • Use clear interface blocks for module connections
  • Maintain consistent coding style and naming conventions

Synchronous Design Principles

  • Prioritize single clock domains for simpler timing analysis
  • Implement proper clock domain crossing (CDC) handling for multi-clock designs
  • Prefer synchronous over asynchronous reset to ensure predictable behavior
  • Avoid combinational loops and latches

Timing Closure & Constraints

  • Establish XDC (Xilinx Design Constraints) files early
  • Review Static Timing Analysis reports regularly
  • Use timing reports to identify critical path bottlenecks
  • Address violations through pipelining or logic optimization
  • Deploy pipelining in high-frequency designs to reduce critical path loads

Resource Utilization & Optimization

  • Write efficient code for LUT/FF/BRAM usage
  • Use reg [] for RAM inference
  • Minimize unnecessary register usage
  • Leverage built-in IP cores (AXI interfaces, DSP blocks, memory controllers)
  • Select appropriate optimization priorities (area vs. speed)

Power Optimization

  • Implement clock gating for dynamic power reduction
  • Enable power-aware synthesis for low-power applications
  • Minimize switching activity in non-critical paths

Verification & Debugging

Testbenches

  • Develop comprehensive testbenches covering typical and edge cases
  • Use assert statements for property checking
  • Implement self-checking testbenches

Simulation

  • Run behavioral and post-synthesis simulations
  • Use Integrated Logic Analyzer (ILA) for real-time debugging
  • Apply assertion-based verification to catch protocol violations

Advanced Techniques

Clock Domain Crossing

  • Apply synchronizers or FIFOs for safe CDC implementation
  • Use proper handshaking protocols
  • Verify CDC paths thoroughly

Interface Optimization

  • Optimize AXI interfaces for high-throughput with proper burst sizing
  • Implement efficient handshaking protocols
  • Balance latency and throughput

Pipelining

  • Implement fine-tuned pipeline stages for performance-critical modules
  • Balance pipeline depth with latency requirements
  • Use retiming for optimization

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.