blockBooleanToLogic
Boolean to Logic converter
Information
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
| Type | Name | Default | Description |
|---|---|---|---|
| Integer | n | Signal width |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Blocks.Interfaces.BooleanInput[n] | x | ||
| Modelica.Electrical.Digital.Interfaces.DigitalOutput[n] | y |
Revisions
- September 15, 2004
by Christoph Clauss colors changed
- November 4, 2003
by Christoph Clauss
initially modelled.