DSP slice register usage #1140
-
Hi everyone, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
This is not exposed in Python as it is too low-level for most users. As a first step, you could modify the build_prj.tcl script (I guess you are using Vivado/ Vitis): https://github.com/fastmachinelearning/hls4ml/blob/main/hls4ml/templates/vivado/build_prj.tcl to add the corresponding flag during synthesis. Future work might look into adding general support for synthesis and PnR flags that are exposed from the Python interface, but so far it hasn't been a priority. If you find a way to implement such a feauture, supporting arbitrary Vivado flags, that can be passed by the user, we would welcome a PR contribution. |
Beta Was this translation helpful? Give feedback.
This is not exposed in Python as it is too low-level for most users. As a first step, you could modify the build_prj.tcl script (I guess you are using Vivado/ Vitis): https://github.com/fastmachinelearning/hls4ml/blob/main/hls4ml/templates/vivado/build_prj.tcl to add the corresponding flag during synthesis.
Future work might look into adding general support for synthesis and PnR flags that are exposed from the Python interface, but so far it hasn't been a priority. If you find a way to implement such a feauture, supporting arbitrary Vivado flags, that can be passed by the user, we would welcome a PR contribution.