fexpand

Community

Flatten Verilog/SystemVerilog filelists.

AuthorParadicat
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill preprocesses and flattens hierarchical Verilog/SystemVerilog filelists, resolving includes, environment variables, and macros into a single, clean filelist.

Core Features & Use Cases

  • Hierarchical Filelist Expansion: Flattens nested .f files into a single list.
  • Environment Variable Resolution: Expands $VAR and ${VAR} references.
  • Macro Preprocessing: Handles `ifdef/`endif and #ifdef/endif directives.
  • Path Deduplication: Removes duplicate file entries.
  • VHDL File Splitting: Separates .vhd/.vhdl files into a distinct output.
  • Use Case: When dealing with complex FPGA or ASIC projects that use multiple Verilog/SystemVerilog filelists, this Skill ensures a unified and correctly processed list of all source files for simulation or synthesis.

Quick Start

Use the fexpand skill to flatten the input filelist 'top.f' into 'flat.f' with the 'SYNTHESIS' macro defined.

Dependency Matrix

Required Modules

None required

Components

references

💻 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: fexpand
Download link: https://github.com/Paradicat/demo/archive/main.zip#fexpand

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 471,000+ vetted skills library on demand.