DSP Builder for Intel® FPGAs (Advanced Blockset): Handbook

ID 683337
Date 10/02/2023
Public

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

Document Table of Contents

14.4.11. Compare (CmpCtrl)

The CmpCtrl block produces the Boolean result of comparing two IEEE floating-point input signals. A select line controls the comparison. The select line is at least three-bits wide to select from five different comparison operators.
Table 170.  Comparison Operators
s Comparison Operator
0 Less than.
1 Less than or equal to.
2 Equal.
3 Greater than or equal to.
4 Greater than.
5 Not equal.
Table 171.  Port Interface for the CmpCtrl Block
Signal Direction Type Description Vector Complex
  Input Single or double Operand 1 Yes No
b Input Single or double Operand 2 Yes No
s Input Fixed-point (unsigned) Select input Yes No
q Output Boolean Result Yes No