Block Design: fmod_floor() - 2025.1 English - XD100

Vitis Tutorials: AI Engine Development (XD100)

Document ID
XD100
Release Date
2025-08-25
Version
2025.1 English

Details of the fmod_floor() block are shown in the following figure.

  • The fmod_floor() graph reduces its output dynamic range to \((0,1)\) to match that expected by the downstream expjx() graph by computing \(y=mod(x,1)=x-floor(x)\).

  • The output is also clamped at MAXVAL = 0.9990234375 to align with the highest bin in the LUT-based implementation of expjx(). This works together with those downstream graphs to approximate any input falling into this last bin as if it instead fell on the last bin lower edge to improve the accuracy of the approximate implementation.

  • The design throughput of ~480 Msps exceeds the design target of 400 Msps.

figure