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

ID 683337
Date 6/11/2024
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 174.  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 175.  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