https://github.com/rachitnigam/minihls
Dead simple HLS compiler for an imperative language
https://github.com/rachitnigam/minihls
Last synced: 4 months ago
JSON representation
Dead simple HLS compiler for an imperative language
- Host: GitHub
- URL: https://github.com/rachitnigam/minihls
- Owner: rachitnigam
- Created: 2020-06-29T21:52:24.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-09-11T21:21:47.000Z (almost 5 years ago)
- Last Synced: 2025-01-18T16:50:25.088Z (5 months ago)
- Language: Python
- Size: 23.4 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# miniHLS: Dead simple high-level synthesis
miniHLS is a educational HLS compiler implemented in Python. It has two goals:
1. Simplicity: The compiler prioritizes design decisions that make implementing
the tool and understanding the compiler simple.
2. Extensible: The compiler can be easily extended with optimization and analysis
passes.The generated code is guaranteed to run on Verilator.
### Usage
To compile programs from FSM to RTL, use:
python3 -m minihls.main -i fsm -o rtl
For example, for the example file `examples/input.fsm`, do:
python3 -m minihls.main -i fsm -o rtl examples/input.fsm