Logical Block Models
Xor
File: general_blocks/Logical/Xor.sim
Description
The model to perform a logical XOR (exclusive - or) on the two input
values.
For all logical operations, zero represents FALSE and any nonzero value
represents TRUE.
Ports
Input Ports
- in1 Data Type: INTEGER
- in2 Data Type: INTEGER
Output Ports
Parameters
True
File: general_blocks/Logical/True.sim
Description
The model which emits a TRUE (nonzero) output when it is triggered.
Ports
Input Ports
- trigger Data Type: TRIGGER
Output Ports
Parameters
Or
File: general_blocks/Logical/Or.sim
Description
The model to logically OR the two input values.
Ports
Input Ports
- in1 Data Type: INTEGER
- in2 Data Type: INTEGER
Output Ports
Parameters
Nxor
File: general_blocks/Logical/Nxor.sim
Description
The model to perform a logical NXOR on two input values. NXOR is
defined to be: NOT(in1 EXOR in2). Output out will
be a logical true
(nonzero) only when both inputs have the same logical value.
Ports
Input Ports
- in1 Data Type: INTEGER
- in2 Data Type: INTEGER
Output Ports
Parameters
Not
File: general_blocks/Logical/Not.sim
Description
The model to perform a logical NOT operation on a single input value.
Ports
Input Ports
Output Ports
Parameters
Nor
File: general_blocks/Logical/Nor.sim
Description
The model to perform the logical NOR operation on two input values.
Ports
Input Ports
- in1 Data Type: INTEGER
- in2 Data Type: INTEGER
Output Ports
Parameters
Nand
File: general_blocks/Logical/Nand.sim
Description
The model to perform the logical NAND operation on the two input values.
Ports
Input Ports
- in1 Data Type: INTEGER
- in2 Data Type: INTEGER
Output Ports
Parameters
False
File: general_blocks/Logical/False.sim
Description
The model which emits a FALSE (zero) output each time it is triggered.
Ports
Input Ports
- trigger Data Type: TRIGGER
Output Ports
Parameters
And
File: general_blocks/Logical/And.sim
Description
The model to perform a logical AND of the two input values. For the
out to be TRUE (non zero), both in1 AND in2 must be TRUE (nonzero).
Ports
Input Ports
- in1 Data Type: INTEGER
- in2 Data Type: INTEGER
Output Ports
Parameters