mikeurbach / calyx

Intermediate Language (IL) for Hardware Accelerator Generators

Home Page:https://calyxir.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A Compiler Infrastructure for Accelerator Generators

Calyx is an intermediate language and infrastructure for building compilers that generate custom hardware accelerators.

See the Calyx website, language documentation and the documentation for the source code for more information. Calyx's design is based on our paper.

Installation

Quick

If you want to try out the compiler, install it using cargo:

cargo install futil

This will install the futil binary which includes the calyx frontend, optimization passes, and several backends.

Recommended

Follow the getting started instructions.

Organization

This repository contains the source code for the following:

  1. calyx (calyx/): The intermediate representation used for hardware accelerator generation.
  2. futil (src/): The compiler infrastructure for compiling Calyx programs. If calyx is like LLVM, then futil is Clang.
  3. Calyx debugger (interp/): An interpreter and debugger for Calyx.
  4. fud, The Calyx driver: Utility tool that wraps various hardware toolchains.

About

Intermediate Language (IL) for Hardware Accelerator Generators

https://calyxir.org

License:MIT License


Languages

Language:Rust 72.5%Language:Python 22.1%Language:SystemVerilog 2.3%Language:C++ 0.8%Language:JavaScript 0.8%Language:CSS 0.4%Language:Tcl 0.3%Language:Emacs Lisp 0.3%Language:HTML 0.2%Language:Vim Script 0.2%Language:Dockerfile 0.1%Language:Shell 0.1%Language:jq 0.0%