Logical

Summary of the Logical components available through the Signal Processing toolbox in Schematic Editor.

The toolbox provides four Logical components. Their descriptions and supported features are given in Table 1.

Table 1. Logical operation components in HIL Signal Processing Toolbox
Component Description Features Help file
supported input types supported output types vector support

Comparator

Outputs value 0 or 1 based on the values of inverting and noninverting input signal. real, int, uint real, int, uint no Comparator

Logical operator*

Applies selected logical operator to the input signals (AND, NAND, OR, NOR, XOR, NXOR or NOT). real, int, uint real, int, uint yes Logical Operator

Relational operator

Applies selected relational operator to the input signals (==, !=, <=, >=, < or >). real, int, uint real, int, uint yes Relational Operator

Edge Detection

Detects rising, falling, or both edges of the input signal. real, int, uint real, int, uint yes Edge Detection

*Logical operator component supports logical operation on an arbitrary number of input signals.