Skip to content
Skill

Hls c2rtl

Guides converting C, C++ or SystemC algorithms into synthesizable RTL via high-level

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

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.

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 (13 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/hls-c2rtl:

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.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/hls-c2rtl 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/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.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/hls-c2rtl 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/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.

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/hls-c2rtl

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

Gemini CLI docs on skills

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

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.

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/hls-c2rtl into your agent's skills folder as hls-c2rtl. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

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

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

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. Packages a verified analog block into LEF, Liberty, GDS and Verilog hardmacro files

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

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

    • Open source
    • 33 GitHub stars
    • Developer tools