BooleanToLogic

Boolean to Logic converter

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

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 (1)

n

Value:

Type: Integer

Description: Signal width

Connectors (2)