Engee documentation

Logic and Bit Operations

In the Logic and Bit Operations of the basic block library, you can perform various bitwise operations, logic comparisons, and signal change tests. These blocks allow you to manipulate bits, perform arithmetic and logic shifts, and detect signal changes and edges.


Bit Clear

Sets the specified bit of the input signal to zero.

Bit Concat

Combines up to 16 input words into a single output word.

Bit Set

Sets the specified bit of the input signal to one.

Bit Shift

Logic or arithmetic shift of the input signal.

Bit Slice

Returns the serial bit field from the input signal.

Bit to Integer Converter

Maps a vector of bits to the corresponding vector of integers.

Bitwise Operator

A specified bitwise operation on the input signals.

Combinatorial Logic

Performing logical operations using a truth table.

Compare To Constant

Comparison of the input signal with a constant.

Compare To Zero

Comparing the input signal to zero.

Detect Change

Detecting a change in the signal value.

Detect Decrease

Signal slice detection.

Detect Fall Negative

Detection of a falling edge provided that the signal value decreases to a strictly negative value and its previous value was non-negative.

Detect Fall Nonpositive

Detection of a falling edge provided that the signal value decreases to a non-positive value and its previous value was strictly positive.

Detect Increase

Edge detection.

Detect Rise Nonnegative

Detection of a rising edge provided that the signal value increases to a non-negative value and its previous value was strictly negative.

Detect Rise Positive

Detection of a rising edge provided that the signal value increases to a strictly positive value and its previous value was non-positive.

Extract Bits

Outputs a sample of consecutive bits from the input signal.

Interval Test

Determines if the signal is within the specified interval.

Interval Test Dynamic

Determines if the signal is within the specified interval.

Logical Operator

Perform the specified logic operation on the input signals.

Relational Operator

Compares input signals.

Shift Arithmetic

Shift of bits or binary point of a signal.