fastmachinelearning / hls4ml

Machine learning on FPGAs using HLS
https://fastmachinelearning.org/hls4ml
Apache License 2.0
1.22k stars 396 forks source link

Fix function call in Alveo tcl script #694

Closed vloncar closed 1 year ago

vloncar commented 1 year ago

Description

After changes in #626 the file list passed to the add_files and import_files tcl functions is using a variable, but the {...} syntax doesn't do expansion so the name of the file is never properly made, causing the script to fail. This can be solved in several ways buy since the functions expect list of strings, the cleanest approach is to use [list ...].

Type of change

Tests

Not really needed, this is a syntax fix.

Checklist