The following figure shows a block diagram of the scalar unit, including the scalar register files and scalar functional units.
The scalar unit contains the following functional blocks.
- Register files and special registers
- Arithmetic and logical unit (ALU)
Integer add, subtract, compare, and shift functions are one-cycle operations. The integer multiplication operation has a two-cycle latency.
Figure 1.
AIE-ML Scalar Unit
![](https://docs.amd.com/api/khub/maps/6fASxLXnzZmaBR6accmoTw/resources/JpuQiNXPM64W8Q6vTKH86Q-6fASxLXnzZmaBR6accmoTw/resized-content?v=005269e80d6a856a)