-
Hi all, is there any example code for version 0.6.0 of hls4ml which uses Quartus as a backend? We are using only Intel FPGAs and for me it's not fully clear from the code how to compile the model for Quartus. I do see on the main branch of the repository that the Quartus backend should be somehow supported. I checked out some examples and changed the backend in the configuration but it never worked out:
Cheers, |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
The Quartus support is only in the main branch, so you need to check that out from git. (Ignore the version number of the main branch; it says 0.5.2 I believe.) When you use |
Beta Was this translation helpful? Give feedback.
-
Adding to the previous answer - here is an example of a function to convert a model using the Quartus backend and synthesise it:
Note that all of the tips covered in hls4ml tutorial are applicable to both Vivado and Quartus - especially when it comes to tweaking the default precision, reuse factor and I/O type. For more |
Beta Was this translation helpful? Give feedback.
-
Thank you very much! I manged to compile the main branch and was able too compile the example from @bo3z as well. |
Beta Was this translation helpful? Give feedback.
Adding to the previous answer - here is an example of a function to convert a model using the Quartus backend and synthesise it: