# Hls c2rtl

> Hls c2rtl is an open-source agent skill for developer tools. Guides converting C, C++ or SystemC algorithms into synthesizable RTL via high-level. 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/hls-c2rtl
- **Repository:** https://github.com/vibeic/vibe-ic
- **GitHub stars:** 33
- **License:** Apache-2.0
- **Skill name:** hls-c2rtl
- **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 walks an agent through lowering a software algorithm written in C, C++ or SystemC into hardware description through high-level synthesis. It covers cleaning the source of constructs that synthesis tools cannot digest, such as pointer chasing, dynamic allocation and recursion, then choosing interface styles like AXI-Stream, AXI-Lite or memory-mapped BRAM for each argument.

The workflow applies pipelining, unrolling, dataflow and array partitioning directives, runs co-simulation of the C model against the generated RTL using golden input/output vectors, and emits a tool run script with a report of directives and estimated performance and area. The skill also treats HLS-generated RTL as subject to the same lint, elaboration and reset checks as hand-written RTL, and hands results off to separate RTL review and testbench generation steps.

Expected inputs are the C/C++/SystemC source, test vectors, a target (FPGA bitstream or ASIC netlist), timing and resource constraints, and a chosen tool. Vitis HLS, Catapult and Stratus are named as commercial flows, while Google's open-source XLS is listed as an open option.

## When your agent uses it

> Translate C / C++ / SystemC algorithmic descriptions into synthesizable RTL via High-Level Synthesis. Use when the user says "HLS", "C to RTL", "C++ to Verilog", "Vitis HLS", "Catapult", "XLS", "algorithmic design", or provides a reference implementation in software and asks for hardware.

## 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/hls-c2rtl)
- [No network calls found in its scripts](https://github.com/vibeic/vibe-ic/tree/HEAD/vibe-ic-marketplace/plugins/vibe-ic/skills/hls-c2rtl)
- [License: Apache-2.0](https://github.com/vibeic/vibe-ic/tree/HEAD/vibe-ic-marketplace/plugins/vibe-ic/skills/hls-c2rtl)

## Features

- **Source cleanup for synthesis:** Rewrites algorithmic C/C++ into statically bounded, hardware-friendly code before synthesis.
- **Interface selection:** Chooses AXI-Stream, AXI-Lite, memory-mapped BRAM or wire handshakes for each argument.
- **Pragma and directive guidance:** Applies pipelining, unrolling, dataflow and array partitioning directives to loops and memories.
- **C-to-RTL co-simulation:** Checks generated RTL against the C model using golden test vectors.
- **Deterministic RTL gates:** Requires native lint, elaboration and reset checks on HLS-emitted RTL as for hand-written code.
- **Run script and PPA report:** Produces a tool run script and a report with directive log and estimated performance and area.

## Good for

- Convert a C filter or matrix multiply into an FPGA accelerator block
- Pipeline a C++ image-processing kernel to meet a target clock period
- Explore latency versus area trade-offs for a DSP algorithm using HLS directives
- Generate RTL from a SystemC reference model for an ASIC flow

## 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/hls-c2rtl`:

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

For one project only, put the folder in `.claude/skills/hls-c2rtl` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/hls-c2rtl` 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/hls-c2rtl &&
cp -R "$tmp/vibe-ic-marketplace/plugins/vibe-ic/skills/hls-c2rtl" ~/.agents/skills/hls-c2rtl &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/hls-c2rtl` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/hls-c2rtl` 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/hls-c2rtl &&
cp -R "$tmp/vibe-ic-marketplace/plugins/vibe-ic/skills/hls-c2rtl" ~/.cursor/skills/hls-c2rtl &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/hls-c2rtl` 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/hls-c2rtl
```

Or copy the folder to `~/.gemini/skills/hls-c2rtl` yourself.

### VS Code

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

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

For one project only, put the folder in `.github/skills/hls-c2rtl` 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/hls-c2rtl` into your agent's skills folder as `hls-c2rtl`. Agents that support SKILL.md read one folder per skill.

## FAQ

### When does Hls c2rtl trigger?

It is meant for requests mentioning HLS, C to RTL, C++ to Verilog, Vitis HLS, Catapult, XLS or algorithmic design, or when a software reference implementation is provided and hardware is requested.

### What inputs does Hls c2rtl need?

Source files in C, C++ or SystemC, golden test vectors, a target of FPGA or ASIC, timing, latency, throughput or resource constraints, and a chosen HLS tool.

### Which HLS tools are supported?

The skill names Vitis HLS, Catapult HLS and Stratus HLS as commercial flows, and XLS from Google as an open-source option.

### Does Hls c2rtl skip RTL checks on generated code?

No. The skill states that HLS-emitted RTL must pass the same lint, elaboration and reset gates as hand-authored RTL, and hands off to a separate RTL review step.

### How do I install Hls c2rtl in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/hls-c2rtl to use it in all your projects, or to .claude/skills/hls-c2rtl 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 Hls c2rtl 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 Hls c2rtl?

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 Hls c2rtl?

The closest alternatives to Hls c2rtl are Rtl review, Rtl repair, Equivalence check, Analog hw testbench gen and Phase2 rtl verify.

## Where this comes from

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

## Alternatives

- [Rtl review](https://ai-powered.com/skills/rtl-review): Rtl review is an open-source agent skill for developer tools.
- [Rtl repair](https://ai-powered.com/skills/rtl-repair): Rtl repair is an open-source agent skill for developer tools.
- [Equivalence check](https://ai-powered.com/skills/equivalence-check): Equivalence check 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.
- [Phase2 rtl verify](https://ai-powered.com/skills/phase2-rtl-verify): Phase2 rtl verify is an open-source agent skill for developer tools.
- [Hw debug loop](https://ai-powered.com/skills/hw-debug-loop): Hw debug loop is an open-source agent skill for developer tools.
- [Stm32 development](https://ai-powered.com/skills/stm32-development): Stm32 development is an open-source agent skill for developer tools.
- [Catalog glue author](https://ai-powered.com/skills/catalog-glue-author): Catalog glue author is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/hls-c2rtl
