Visible to Intel only — GUID: okj1572915552459
Ixiasoft
Visible to Intel only — GUID: okj1572915552459
Ixiasoft
8.1.1. Important Usage Information on the ac_int Data Type
The ac_int datatype automatically increases the size of the result of the operation to guarantee that the intermediate operations never overflow. However, the HLS compiler automatically truncates or extends the result to the size of the specified destination container, so ensure that the storage variable for your computation is large enough.
The HLS compiler installation package includes a number of examples in the tutorials. Refer to the tutorials in <quartus_installdir>/hls/example/tutorials/ac_datatypes for some of the recommended practices.