calyxir / calyx

Intermediate Language (IL) for Hardware Accelerator Generators
https://calyxir.org
MIT License
450 stars 44 forks source link

Data conversion part 2 #1987

Closed Angelica-Schell closed 3 weeks ago

Angelica-Schell commented 1 month ago

Thanks @EclecticGriffin and @bcarlet for your notes on my last one. I tried to incorporate most of them, and the ones I didn't are on my to do list.

There is now a 4th argument, convert_to which can be one of "binary", "float", or "hex". I also added some error-checking for correct arguments.