MAC on 32x32 bits - 2022.2 English

AI Engine Kernel and Graph Programming Guide (UG1079)

Document ID
UG1079
Release Date
2022-10-19
Version
2022.2 English

The following figure shows how start, offsets, and step work on the cint16 data type.

Figure 1. MAC4 on cint16 x cint16 Type

mac4 has four output lanes. The first column of data is selected by adding xstart to every 4 bits of xoffsets. The subsequent column of data is selected by adding xstep to its previous column.

The coefficients of mac4 are chosen similarly by zstart, zoffset, and zstep.