babyworm/rtl-agent-team/rtl-p4s-unit-test
Claude Code and agent skill by babyworm/rtl-agent-team
- community
Checking that the SKILL.md file is still in the repository.
P4 Tier 2 unit tests: verify each RTL module against its uarch spec and C reference model. Use after lint+smoke pass, before Tier 3 regression.
Install
npx vskill@latest install babyworm/rtl-agent-team/rtl-p4s-unit-testSKILL.md
<Purpose> Write and run unit tests that verify each RTL module implements its microarchitecture specification correctly. Compares RTL output against the C reference model for functional correctness. Goes beyond Tier 1 smoke testing (rtl-p4-implement Wave 6) to exercise key features at uarch level: FSM state transitions, pipeline stage behavior, data transformation accuracy.
Testing Tier Context:
Outputs: sim/{module}/tb_{module}.sv testbench files + sim/{module}/{module}_unit_results.json. </Purpose>
<Use_When>
- Phase 4 RTL is lint-clean AND Tier 1 smoke test passed (rtl-p4-implement Wave 6)
- Each module needs uarch-level functional verification with reference comparison
- A new module's key features need targeted testing beyond connectivity
- A bug fix needs regression test verifying the fix against reference model
</Use_When>
<Do_Not_Use_When>
- Only basic connectivity/R/W verification needed (covered by rtl-p4-implement Wave 6 smoke — Tier 1)
- Full multi-seed regression needed (use rtl-p5s-func-verify — Tier 3)
- Integration/cross-module testing (use rtl-p5s-integration-test — Tier 4)
- Formal verification preferred (use rtl-p5s-sva-check instead)
</Do_Not_Use_When>
<Why_This_Exists> Tier 1 (smoke) only verifies connectivity and basic I/O. Tier 2 unit tests verify that each module implements its uarch spec — FSM states, pipeline stages, data transformations — using the C reference model as the golden oracle. This catches behavioral bugs that smoke tests miss, while remaining faster and more targeted than full regression (Tier 3). </Why_This_Exists>
<Delegation> The orchestrator writes testbenches per module (parallel via testbench-dev), selects reference comparison mode (DPI-C or file-based), runs simulations, and handles failure triage with waveform analysis.
All coding conventions, reference mode rules, escalation criteria, and result schemas are defined in the rtl-p4s-unit-test-policy skill (loaded via the orchestrator's skills: field).
Execution
Task(subagent_type="rtl-agent-team:p4s-unit-test-orchestrator", prompt="Execute Tier 2 unit testing. User input: $ARGUMENTS")
Do not perform any work directly. The orchestrator agent manages testbench generation, simulation, and failure triage.
Output
sim/{module}/tb_{module}.sv— Tier 2 unit test testbenchessim/{module}/{module}_unit_results.json— results withref_mismatches=0, coverage thresholds met, andreq_idspopulated
</Delegation>
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/rtl-p4s-unit-test/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/babyworm/rtl-agent-team/rtl-p4s-unit-test)