gf-sim

Compile and run SystemVerilog simulations with Verilator and report PASS/FAIL/ERROR status.

Updated Feb 13, 2026
One-click install
npx skills add https://github.com/RedClaus/cortex --skill gf-sim-redclaus
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gf-sim
Source: https://github.com/RedClaus/cortex/tree/main/core/plugins/gateflow/skills/gf-sim
Command: npx skills add https://github.com/RedClaus/cortex --skill gf-sim-redclaus

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the compilation and execution of SystemVerilog simulations, providing structured output for easier integration with orchestration tools.

Core Features & Use Cases

  • Automated Compilation: Compiles SystemVerilog code using Verilator, automatically detecting DUT and testbench files.
  • Simulation Execution: Runs the compiled simulation and captures its output.
  • Structured Results: Returns a standardized result block indicating simulation status (PASS/FAIL/ERROR), error counts, and details.
  • Use Case: Integrate this Skill into a CI/CD pipeline to automatically verify SystemVerilog designs upon code commits, providing immediate feedback on simulation success or failure.

Quick Start

Compile and run the SystemVerilog simulation for the provided DUT and testbench files.

Frequently Asked Questions about gf-sim

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate SystemVerilog simulation in a CI/CD pipeline?

You can automate SystemVerilog simulation by compiling Design Under Test and testbench files with Verilator, running the simulation, and parsing the output into standardized PASS, FAIL, or ERROR statuses for CI/CD integration.

How does Verilator compile and run SystemVerilog testbenches?

Verilator compiles SystemVerilog code by automatically detecting Design Under Test and testbench files, executes the compiled simulation, and captures the output to report simulation status, error counts, and details.

What is the best way to get structured results from a Verilator simulation?

To get structured results from a Verilator simulation, you need a process that parses the simulation output into a standardized format indicating PASS, FAIL, or ERROR status, along with error counts and details.

Do I need to manually specify DUT and testbench files for SystemVerilog simulation?

You do not need to manually specify Design Under Test and testbench files for SystemVerilog simulation if the automation tool automatically identifies these files before compiling them with Verilator and executing the run.

Can I integrate SystemVerilog simulation results directly into orchestration tools?

You can integrate SystemVerilog simulation results into orchestration tools by parsing the Verilator simulation output into a structured format that provides standardized PASS, FAIL, or ERROR status reporting for automated workflows.