UIUC-ChenLab / scalehls

A scalable High-Level Synthesis framework on MLIR
Other
228 stars 47 forks source link

scalehls cannot utilize dsp48 primitive #36

Closed eeriecl closed 2 years ago

eeriecl commented 2 years ago

image

you may see with very very little modification, scalehls cannot utilize dsp48 at all

hanchenye commented 2 years ago

@eeriecl Are you using the DSE engine to optimize the equivalent function?

hanchenye commented 2 years ago

Auh, it seems this is caused by the loop-perfectization pass -- c_tmp = 0.0f is not correctly perfectized. Thanks for the catch!

hanchenye commented 2 years ago

Fixed in eb8743d3a994e22e036b6229032825d65998eccb.