Skip to content
Skill

Analog hardmacro gen

Packages a verified analog block into LEF, Liberty, GDS and Verilog hardmacro files

Analog hardmacro gen is an open-source agent skill for developer tools. It is available on Claude Code.

Scripts
Python
Platforms
Claude Code
GitHub stars
33
Last commit
License
Apache-2.0
Listing updated

Similar skills

About Analog hardmacro gen

This skill turns a verified analog circuit block into a hardmacro bundle that a digital place-and-route flow can consume. It covers four outputs: a GDS layout, a LEF abstract with pin locations and size, a Liberty timing model built from the worst-case corner of SPICE results, and a behavioral Verilog model for gate-level simulation.

The workflow leans on bundled Python programs for the deterministic parts. One checks that all four files exist with the expected structure, another verifies that pin names match across the LEF, Verilog and spec files, and a third rejects Liberty files with zero or settling-only delays that would mislead static timing analysis. Layout generation and GDS emission are handled by a separate producer step driven by Magic, and the skill does not hand-write GDS.

It expects an analog block directory containing corner results, a Magic layout file and a port specification, along with a gf180 or sky130 PDK. The agent still makes modeling judgments, such as which timing arcs to represent and how much analog behavior the Verilog model should include.

When your agent uses it

Package a verified analog block into a hardmacro (LEF abstract + Liberty timing + GDS + behavioral Verilog) for digital PnR integration. Use when the user says "package analog block", "generate hardmacro", "create LEF/Liberty", or at Step A7 of the analog track.

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 3 files (16 KB) on GitHub on 3 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the vibe-ic plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add vibeic/vibe-ic
/plugin install vibe-ic@vibe-ic-marketplace

Or copy only this skill to ~/.claude/skills/analog-hardmacro-gen:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/vibeic/vibe-ic.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/analog-hardmacro-gen &&
cp -R "$tmp/vibe-ic-marketplace/plugins/vibe-ic/skills/analog-hardmacro-gen" ~/.claude/skills/analog-hardmacro-gen &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/analog-hardmacro-gen inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/analog-hardmacro-gen to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/vibeic/vibe-ic.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/analog-hardmacro-gen &&
cp -R "$tmp/vibe-ic-marketplace/plugins/vibe-ic/skills/analog-hardmacro-gen" ~/.agents/skills/analog-hardmacro-gen &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/analog-hardmacro-gen inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/analog-hardmacro-gen to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/vibeic/vibe-ic.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/analog-hardmacro-gen &&
cp -R "$tmp/vibe-ic-marketplace/plugins/vibe-ic/skills/analog-hardmacro-gen" ~/.cursor/skills/analog-hardmacro-gen &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/analog-hardmacro-gen inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/vibeic/vibe-ic.git --path vibe-ic-marketplace/plugins/vibe-ic/skills/analog-hardmacro-gen

Or copy the folder to ~/.gemini/skills/analog-hardmacro-gen yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/analog-hardmacro-gen:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/vibeic/vibe-ic.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/analog-hardmacro-gen &&
cp -R "$tmp/vibe-ic-marketplace/plugins/vibe-ic/skills/analog-hardmacro-gen" ~/.copilot/skills/analog-hardmacro-gen &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/analog-hardmacro-gen inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/vibeic/vibe-ic.git

Then copy vibe-ic/vibe-ic-marketplace/plugins/vibe-ic/skills/analog-hardmacro-gen into your agent's skills folder as analog-hardmacro-gen. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Hardmacro file bundle
Produces the GDS, LEF, Liberty and Verilog files that a digital flow needs to place an analog block.
Pin name consistency
Checks that pin names agree across the spec, LEF abstract and Verilog module ports.
Liberty non-degeneracy check
Rejects timing models with zero delays or propagation arcs slower than the clock period.
Worst-corner timing selection
Uses the slowest SPICE process corner as the basis for the Liberty timing model.
Behavioral Verilog stub
Emits a simplified module so gate-level simulation can instantiate the analog block.

Good for

  • Package a verified LDO block as a hardmacro for digital integration
  • Generate a LEF abstract with pin locations for an analog macro
  • Create a Liberty timing model from SPICE corner results
  • Produce a behavioral Verilog model of an analog block for gate-level simulation
  • Check that analog macro pin names match across all generated files

Analog hardmacro gen FAQ

What inputs does Analog hardmacro gen need?

It needs corner results from SPICE, a Magic layout file, a spec.json with port definitions, and a gf180 or sky130 PDK.

When does Analog hardmacro gen trigger?

It triggers when the user asks to package an analog block, generate a hardmacro, or create LEF or Liberty files, or at step A7 of the analog track.

Does Analog hardmacro gen generate the GDS file by hand?

No. A separate program streams the Magic layout to GDS, and the skill is told not to hand-author the GDS file.

What happens if a Liberty file has zero delays?

A bundled check fails it, because all-zero or area-only Liberty files are treated as vacuous timing models.

How do I install Analog hardmacro gen in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/analog-hardmacro-gen to use it in all your projects, or to .claude/skills/analog-hardmacro-gen in one project. Or install the vibe-ic plugin, which includes it: /plugin marketplace add vibeic/vibe-ic, then /plugin install vibe-ic@vibe-ic-marketplace.

Does Analog hardmacro gen run scripts?

Yes. It runs Python scripts. No network calls were found in its scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Analog hardmacro gen?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

What are the best alternatives to Analog hardmacro gen?

The closest alternatives to Analog hardmacro gen are Analog flow orchestrate, Analog output verify, Analog hw measure, Analog hw testbench gen and Analog extraction resim.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from vibeic/vibe-ic

  1. Plans and runs analog circuit simulations and triages the results across corners

    • Open source
    • 33 GitHub stars
    • Developer tools
  2. Re-simulates analog blocks after layout to measure parasitic performance loss

    • Open source
    • 33 GitHub stars
    • Developer tools
  3. Walks an agent through a nine-step analog circuit design flow from spec to hardware

    • Open source
    • 33 GitHub stars
    • Developer tools
  4. Runs hardware measurements on analog blocks using a scope and FPGA ADC

    • Open source
    • 33 GitHub stars
    • Developer tools
  5. Generates FPGA Verilog for hardware-in-the-loop testing of analog circuits

    • Open source
    • 33 GitHub stars
    • Developer tools
  6. Guides an agent through hardware-in-the-loop analog circuit tuning against SPICE and spec

    • Open source
    • 33 GitHub stars
    • Developer tools