Visible to Intel only — GUID: jpf1573418455818
Ixiasoft
1. Intel® HLS Compiler Standard Edition Best Practices Guide
2. Best Practices for Coding and Compiling Your Component
3. Interface Best Practices
4. Loop Best Practices
5. Memory Architecture Best Practices
6. Datatype Best Practices
7. Advanced Troubleshooting
A. Intel® HLS Compiler Standard Edition Best Practices Guide Archives
B. Document Revision History for Intel® HLS Compiler Standard Edition Best Practices Guide
Visible to Intel only — GUID: jpf1573418455818
Ixiasoft
6.1. Avoid Implicit Data Type Conversions
Compile your component code with the -W conversion compiler option, especially if your component uses floating point variables.
Using this option helps you avoid inadvertently having conversions between double-precision and single-precision values when double-precisions variables are not needed. In FPGAs, using double-precision variables can negatively affect the data transfer rate, the latency, and resource utilization of your component.
If you use the Algorithmic C (AC) arbitrary precision datatypes, pay attention to the type propagation rules.