# Analog hardmacro gen

> Analog hardmacro gen is an open-source agent skill for developer tools. Packages a verified analog block into LEF, Liberty, GDS and Verilog hardmacro files. It is available on Claude Code.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code
- **Website:** https://github.com/vibeic/vibe-ic/tree/main/vibe-ic-marketplace/plugins/vibe-ic/skills/analog-hardmacro-gen
- **Repository:** https://github.com/vibeic/vibe-ic
- **GitHub stars:** 33
- **License:** Apache-2.0
- **Skill name:** analog-hardmacro-gen
- **Collection:** https://github.com/vibeic/vibe-ic
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-03

## About

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.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Runs Python scripts](https://github.com/vibeic/vibe-ic/tree/HEAD/vibe-ic-marketplace/plugins/vibe-ic/skills/analog-hardmacro-gen)
- [No network calls found in its scripts](https://github.com/vibeic/vibe-ic/tree/HEAD/vibe-ic-marketplace/plugins/vibe-ic/skills/analog-hardmacro-gen)
- [License: Apache-2.0](https://github.com/vibeic/vibe-ic/tree/HEAD/vibe-ic-marketplace/plugins/vibe-ic/skills/analog-hardmacro-gen)

## Features

- **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

## Install

### Claude Code

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

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

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

```sh
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.

### Codex

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

```sh
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.

### Cursor

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

```sh
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.

### Gemini CLI

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

```sh
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.

### VS Code

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

```sh
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.

### Other agents

Get the folder:

```sh
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.

## 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.

## Alternatives

- [Analog flow orchestrate](https://ai-powered.com/skills/analog-flow-orchestrate): Analog flow orchestrate is an open-source agent skill for developer tools.
- [Analog output verify](https://ai-powered.com/skills/analog-output-verify): Analog output verify is an open-source agent skill for developer tools.
- [Analog hw measure](https://ai-powered.com/skills/analog-hw-measure): Analog hw measure is an open-source agent skill for developer tools.
- [Analog hw testbench gen](https://ai-powered.com/skills/analog-hw-testbench-gen): Analog hw testbench gen is an open-source agent skill for developer tools.
- [Analog extraction resim](https://ai-powered.com/skills/analog-extraction-resim): Analog extraction resim is an open-source agent skill for developer tools.
- [Analog layout](https://ai-powered.com/skills/analog-layout): Analog layout is an open-source agent skill for developer tools.
- [Analog hw tuning loop](https://ai-powered.com/skills/analog-hw-tuning-loop): Analog hw tuning loop is an open-source agent skill for developer tools.
- [Hsb ip def](https://ai-powered.com/skills/hsb-ip-def): Hsb ip def is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/analog-hardmacro-gen
