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

ID 683337
Date 3/23/2022
Public

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

Document Table of Contents
Give Feedback

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 161.  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 162.  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