Floating-Point IP Cores User Guide

ID 683750
Date 7/31/2024
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

6.6. ALTFP_SQRT Signals

Figure 23. ALTFP_SQRT Signals
Table 36.  ALTFP_SQRT IP Core Input Signals
Port Name Required Description
clock Yes Clock input to the IP core.
clk_en No Clock enable that allows square root operations when the port is asserted high. When the port is asserted low, no operation occurs and the outputs remain unchanged.
aclr No Asynchronous clear. When the aclr port is asserted high, the function is asynchronously reset.
Yes Floating-point input data. The MSB is the sign, the next MSBs are the exponent, and the LSBs are the mantissa. This input port size is the total width of sign bit, exponent bits, and mantissa bits.
Table 37.  ALTFP_SQRT IP Core Output Signals
Port Name Required Description
result[] Yes Square root output port for the floating-point result. The MSB is the sign, the next MSBs are the exponent, and the LSBs are the mantissa. The size of this port is the total width of the sign bit, exponent bits, and mantissa bits.
overflow Yes Overflow port. Asserted when the result of the square root (after rounding) exceeds or reaches infinity. Infinity is defined as a number in which the exponent exceeds 2WIDTH_EXP -1.
zero Yes Zero port. Asserted when the value of the result[] port is 0.
nan Yes NaN port. Asserted when an invalid square root occurs, such as negative numbers or NaN inputs.