Logical OR - 2022.2 English

Vitis Model Composer User Guide (UG1483)

Document ID
UG1483
Release Date
2023-01-13
Version
2022.2 English

Performs element-wise logical OR operation on inputs

Library

Logic and Bit Operations

Description

The Logical OR block has two input ports and one output port. The block performs an element-wise logical OR operation on the inputs and produces a Boolean result on the output.

Figure 1. Logical OR Block

Data Type Support

  • The Logical OR block supports all data types supported by Model Composer.
  • The block supports inputs of different data types. The output data type is always Boolean.
  • The block only supports real inputs.
  • The block supports scalar and non-scalar type inputs. If one input is non-scalar type then the other input can be scalar type. When both inputs are non-scalar type then their dimensions must match. In that case, the output has the same dimension as the inputs.

Parameters

The Logical OR block has no parameters to set.