Variable Precision DSP Blocks User Guide: Agilex™ 5 FPGAs and SoCs

ID 813968
Date 9/20/2024
Public
Document Table of Contents

10.4.6. Sum of Two FP16 Multiplication Mode Signals

Figure 92. Sum of Two FP16 Multiplication Mode Signals


Table 134.   Data Input and Output Signals
Signal Name Type Width Default Description
fp16_mult_top_a[15:0] Input 16 Low Input data bus to the top FP16 multiplier.
fp16_mult_top_b[15:0] Input 16 Low Input data bus to the top FP16 multiplier.
fp16_mult_bot_a[15:0] Input 16 Low Input data bus to the bottom FP16 multiplier.
fp16_mult_bot_b[16:0] Input 16 Low Input data bus to the bottom FP16 multiplier.
fp32_result[31:0] Output 32 Output data bus from IP core.
fp32_chainout[31:0] Output 32 Connect these signals to the chainin signals of the next floating-point DSP IP core.
Table 135.  Clock, Enable, and Clear Signals
Signal Name Type Width Default Description
clk[0] Input 1 Input clock for all registers.
ena[2:0] Input 3 Clock enable signals for all registers.

These signals are active-High.

clr[1:0] Input 2 Low These signals can be asynchronous or synchronous clear input signals for all registers. You may select the type of clear input signal using Type of clear signal parameter.

These signals are active-High.

For more information about clock enable restrictions for input registers, refer to the related information.

Table 136.  Exception Flag Signals
Signal Name Type Width Default Description
fp16_mult_top_overflow/fp16_mult_bot_overflow Output 1

This signal indicates if the top/bottom fp16 multiplier result is a larger value compared to the maximum presentable value.

1: If the multiplier result is a larger value compared to the maximum representable value and the result is cast to infinity.

0: If the multiplier result is not larger than the maximum presentable value.

fp16_mult_top_underflow/fp16_mult_bot_underflow Output 1

This signal indicates if the top/bottom fp16 multiplier result is a smaller value compared to the minimum presentable value.

1: If the multiplier result is a smaller value compared to the minimum representable value and the result is flushed to zero.

0: If the multiplier result is a larger than the minimum representable value.

fp16_mult_top_inexact/fp16_mult_bot_inexact Output 1

This signal indicates if the top/bottom fp16 multiplier result is an exact representation.

1: If the multiplier result is:
  • a rounded value or
  • a smaller value compared to the minimum representable value or
  • a larger value compared to the maximum representable value.

0: If the multiplier result does not meet any of the criteria above.

fp16_mult_top_invalid/fp16_mult_bot_invalid Output 1

This signal indicates if the top/bottom fp16 multiplier operation is ill-defined and produces an invalid result.

1: If the multiplier result is invalid and cast to qNaN.

0: If the multiplier result is not an invalid number.

fp16_adder_overflow Output 1

This signal indicates if the adder result is a larger value compared to the maximum representable value.

1: If the adder result is a larger value compared to the maximum presentable value and the result is cast to infinity.

0: If the adder result is not larger than the maximum presentable value.

fp16_adder_underflow Output 1

This signal indicates if the adder result is a smaller value compared to the minimum presentable value.

1: If the adder result is a smaller value compared to the minimum representable value and the result is flushed to zero.

0: If the adder result is a larger than the minimum representable value.

fp16_adder_inexact Output 1

This signal indicates if the adder result is an exact representation.

1: If the adder result is:
  • a rounded value
  • a smaller value compared to the minimum representable value or
  • a larger value compared to the maximum representable value.

0: If the adder result does not meet any of the criteria above.

fp16_adder_invalid Output 1

This signal indicates if the adder operation is ill-defined and produces an invalid result.

1: If the adder result is invalid and cast to qNaN.

0: If the adder result is not an invalid number.