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

ID 683337
Date 12/04/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 173.  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 174.  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