Relational - 2020.2 English

Model Composer and System Generator User Guide (UG1483)

Document ID
UG1483
Release Date
2020-11-18
Version
2020.2 English

This block is listed in the following Xilinx® Blockset libraries: Basic Elements, Control Logic, Floating-Point, Math, and Index.

The Xilinx Relational block implements a comparator.

The supported comparisons are the following:

  • equal-to (a = b)
  • not-equal-to (a != b)
  • less-than (a < b)
  • greater-than (a > b)
  • less-than-or-equal-to (a <= b)
  • greater-than-or-equal-to (a >= b)
  • The output of the block is a Bool.

Block Parameters

The block parameters dialog box can be invoked by double-clicking the icon in your Simulink® model.

The only parameter specific to the Relational block is:

  • Comparison: specifies the comparison operation computed by the block.

Other parameters used by this block are explained in the topic Common Options in Block Parameter Dialog Boxes.

LogiCORE™ Documentation

LogiCORE IP Floating-Point Operator v7.1