2 releases
0.1.1 | Apr 20, 2023 |
---|---|
0.1.0 | Apr 19, 2023 |
#8 in #high-level-synthesis
22 downloads per month
45KB
954 lines
rust_hls_lib
Functions for performing HLS from Rust
This crate provides functions for performing HLS from Rust. It is intended to be used with the rust_hls
crate which provides a macro using the functions in this crate.
High-level synthesis is performed by ripping out a function an creating a new (temporary) crate that only exports that function. A bash script containing the commands to synthesize the temporary crate is then created and executed. The resulting Verilog is then returned as a string.
lib.rs
:
Functions for performing HLS from Rust
This crate provides functions for performing HLS from Rust. It is intended to be used with the rust_hls
crate which provides a macro using the functions in this crate.
High-level synthesis is performed by ripping out a function an creating a new (temporary) crate that only exports that function. A bash script containing the commands to synthesize the temporary crate is then created and executed. The resulting Verilog is then returned as a string.
Dependencies
~6–19MB
~247K SLoC