Skip to content

Commit 8a4f268

Browse files
add missing mode flag needed for Vitis 2023.1 (#1350)
Co-authored-by: Jovan Mitrevski <[email protected]>
1 parent 266efea commit 8a4f268

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hls4ml/backends/vitis/vitis_backend.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ def build(
136136
with open(tcl_path, 'w') as file:
137137
file.write(build_opts)
138138

139-
build_command = 'vitis-run --tcl build_prj.tcl'
139+
build_command = 'vitis-run --tcl build_prj.tcl --mode hls'
140140

141141
output_dir = model.config.get_output_dir()
142142
stdout_log = os.path.join(output_dir, 'build_stdout.log')

0 commit comments

Comments
 (0)