Combinatorial Logic
Performs logical operations on the truth table.
blockType: CombinatorialLogic
Path in the library:
|
Description
Block Combinatorial Logic Implements a standard truth table for modeling programmable logic matrices (PLA), logic circuits, decision tables, and other Boolean (logical) expressions. This block can be used in conjunction with the blocks Memory to implement finite automata or triggers.
Truth table – this is a list of possible logical states of the block. The number of its lines is determined by the formula , where – number of input signals (with the number of input signals it turns out 4 lines). The index of each row is determined by the input signals:
.
|
It must be remembered that the input and output signals of this block are logical constants. |
Parameters
Main
#
Truth table —
The truth table
Array of real numbers
Details
As a parameter value Truth table A matrix is set that defines all possible outputs of the block. Each row of the matrix contains an output for a different combination of input elements. You must specify the outputs for each combination of input elements. The number of columns is equal to the number of block outputs.
| Default value |
|
| Program usage name |
|
| Tunable |
Yes |
| Evaluatable |
Yes |