Dahlia is an imperative, loop-based programming language for designing hardware accelerators.
Then, clone the repository and build the Dahlia compiler:
git clone https://github.com/cucapra/dahlia.git
chmod +x ./fuse
The Dahlia compiler can be run using the
fud to use the Dahlia compiler:
fud c stages.dahlia.exec <path to Dahlia repository>/fuse
fud to check if the compiler was installed correctly:
fud should report that the Dahlia compiler is available and has the right
If something went wrong, try following the instructions to build the Dahlia compiler from its repository.
Dahlia programs can be compiled to Calyx using:
fud e --from dahlia <input file> --to calyx
The Dahlia backed for Calyx is neither complete nor stable. If you find a confusing error or wrong program, please open an issue.