generate

Convert natural language hardware descriptions into compilable Chisel Scala source code.

2|Updated Mar 16, 2026
One-click install
npx skills add https://github.com/xsw632/ChipAgent --skill generate-xsw632
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: generate
Source: https://github.com/xsw632/ChipAgent/tree/main/skills/generate
Command: npx skills add https://github.com/xsw632/ChipAgent --skill generate-xsw632

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Hardware engineers often waste hours manually writing Chisel Scala code for digital modules from natural language requirements, a process prone to human error that slows down hardware design iteration and prototyping.

Core Features & Use Cases

  • Natural Language to Structured Spec: Parses plain English hardware descriptions into validated JSON specifications with module ports, operations, and constraints.
  • User Confirmation Workflow: Presents the parsed spec for user approval before code generation, allowing for quick modifications to ports or operations.
  • Multi-Module Support: Generates Chisel code for both simple single modules and complex multi-module designs with top-level wiring.
  • Use Case: A hardware designer can describe an 8-bit ALU with add, subtract, and logic operations, confirm the parsed spec, and get ready-to-use Chisel source code integrated into the project structure in minutes.

Quick Start

Use the generate skill to create Chisel source code for a 4-bit priority encoder that takes 4 active-low input bits and outputs a 3-bit binary code representing the highest priority active input.

Frequently Asked Questions about generate

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

FAQPage Schema
How do I generate Chisel code from natural language hardware specifications?

To generate Chisel code from natural language, describe your digital hardware module requirements in plain English. The system parses your text into validated JSON specifications with module ports, operations, and constraints for compilation.

Can I use natural language to create Chisel Scala code for complex multi-module FPGA designs?

Yes, you can use natural language to create Chisel Scala code for complex multi-module FPGA designs. The system supports generating both simple single modules and complex multi-module designs with top-level wiring for ASIC and FPGA development.

How does natural language hardware design parsing work before generating Scala source code?

Natural language hardware design parsing works by converting your plain English descriptions into structured JSON specifications. It then presents the parsed spec for your approval, allowing quick modifications to ports or operations before final code generation.

Do I need to manually verify parsed hardware specs before Chisel code generation?

You do not need to manually verify parsed hardware specs from scratch, but a user confirmation workflow presents the parsed specification for your approval. This allows you to quickly modify ports or operations before the final Chisel Scala source code is generated.

What is the best way to prototype digital logic modules in Chisel from plain English descriptions?

The best way to prototype digital logic modules in Chisel is to provide a plain English description of your hardware spec. The system parses requirements like an 8-bit ALU with add and subtract operations, confirms the spec, and outputs ready-to-use Chisel source code.

Does generated Chisel code integrate directly into my existing Scala project build system?

Yes, generated Chisel code integrates directly into your existing Scala project build system. The system outputs correctly structured Chisel files that are ready for use within your established hardware engineering project structure.