Table Of Contents

Greater or Equal? (Clock-Driven Logic)

Last Modified: December 1, 2016

Compares two values and returns TRUE only if the first value is greater than or equal to the second value.

This node can also compare an array or cluster of a data type to a scalar of the same data type and produce an array or cluster of Boolean values.

connector_pane_image
datatype_icon

x

First value to compare. x must be either the same type as y or composed of the same type as y.

datatype_icon

y

Second value to compare. y must be either the same type as x or composed of the same type as x.

datatype_icon

x >= y?

Boolean result of the operation.

When you compare two arrays, x >= y? is a scalar in Compare Aggregates mode and a Boolean array in Compare Elements mode (default).

Behavior with Array Inputs

When using this node in Compare Aggregates mode, if all values in the input arrays are equal but one array has extra elements at the end, the longer array is considered greater than the shorter one. For example, if this node is set to Compare Aggregates, it considers the array [1,2,3,2] to be greater than the array [1,2,3].

Where This Node Can Run:

Desktop OS: none

FPGA: All devices


Recently Viewed Topics