calyxir / calyx

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

Add a combinational constant multiplication primitive #1992

Closed andrewb1999 closed 1 month ago

andrewb1999 commented 1 month ago

Library primitive that takes a constant value as a parameter. The input is multiplied by the constant value. Useful for translating between memory ports with different dimensions.