-
Hello, is it possible to modify the ports of the generated IP based on the strategy. For example if you want to have an output port which is scalar instead of a vector or an hls::stream using python script? I am utilzing extension api to generate a corresponding scalar value but still having to stream the output by copying the scalar for all the channels which seems wasteful |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Not directly from Python, no. But you can modify the generated code from hls4ml manually in your output directory in the myproject.cpp/.hpp before running HLS synthesis etc. from the comand line using vivado_hls -f build_prj.tcl or vitis_hls -f build_prj.tcl |
Beta Was this translation helpful? Give feedback.
Not directly from Python, no. But you can modify the generated code from hls4ml manually in your output directory in the myproject.cpp/.hpp before running HLS synthesis etc. from the comand line using vivado_hls -f build_prj.tcl or vitis_hls -f build_prj.tcl