cex-gen

Official

Auto-generate RTL bug test scaffolds.

AuthorXS-MLVP
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Automatically analyzes environment analysis documents and wrapper.sv to generate Python test function scaffolds for each RTL_BUG, enabling an LLM to fill pin drives and assertion logic.

Core Features & Use Cases

  • Automatic test skeleton generation: creates a test module per RTL_BUG including DUT initialization and reset sequence.
  • LLM-driven test logic: fills pin drives and assertion checks based on RTL sources and analysis logs.
  • Validation and completion: enforces at least one assert per function and a final dut.Finish(), and generates a comment file if no RTL_BUG exists.
  • Workflow steps: uses the Init Test File script to produce skeletons, then the LLM completes the test logic.

Quick Start

Run the init_test_file.py script to generate test file skeletons from the analysis documents.

Dependency Matrix

Required Modules

None required

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: cex-gen
Download link: https://github.com/XS-MLVP/UCAgent/archive/main.zip#cex-gen

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 510,000+ vetted skills library on demand.