BooleanToLogic
Boolean to Logic converter
Library
Modelica/Electrical/Digital/Converters
Description
Conversion of a Boolean input into a digital output without any delay according to:
input output true '1' (coded by 4) false '0' (coded by 3)
If the signal width is greater than 1 this conversion is done for each signal.
Parameters
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
mo_n | n | signal width | Scalar |
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
mo__nmodifiers | Number of Modifiers | Specifies the number of modifiers | Number | |
mo__modifiers | Modifiers | Add new modifier | Structure | |
mo__modifiers/varname | Variable name | Cell of strings | ||
mo__modifiers/attribute | Attribute | Cell of strings | 'start' | |
mo__modifiers/value | Value |
Ports
Name | Type | Description | IO Type | Number |
---|---|---|---|---|
x | implicit | input | 1 | |
y | implicit | output | 1 |