BooleanToLogic

Boolean to Logic converter

    BooleanToLogic

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

BooleanToLogic_0

NameLabelDescriptionData TypeValid Values

mo_n

n

signal width

Scalar

BooleanToLogic_1

NameLabelDescriptionData TypeValid Values

mo_x

x

x

Structure

mo_x/fixed

fixed

Cell of vectors

true
false

mo_x/start

start

Cell of vectors

mo_y

y

y

Structure

mo_y/fixed

fixed

Cell of vectors

true
false

mo_y/start

start

Cell of vectors

Ports

NameTypeDescriptionIO TypeNumber

x

implicit

input

1

y

implicit

output

1