Logic To Real - MapleSim Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Logic To Real

Logic to Real converter

 

Description

Equations

Connections

Parameters

Modelica Standard Library

Description

The Logic to Real component converts a digital input to a Real output.

The parameter n sets the width of the input and output.

Equations

yk=valuexk

Connections

Name

Description

Modelica ID

x

Digital input

x

y

Real output

y

Parameters

Name

Default

Units

Description

Modelica ID

n

1

 

Signal width

n

valueU

0.5

 

Value for digital uninitialized

value_U

valueX

0.5

 

Value for digital forcing Unknown

value_X

value0

0

 

Value for digital forcing 0

value_0

value1

1

 

Value for digital forcing 1

value_1

valueZ

0.5

 

Value for digital high impedance

value_Z

valueW

0.5

 

Value for digital weak unknown

value_W

valueL

0

 

Value for digital weak 0

value_L

valueH

1

 

Value for digital weak 1

value_H

valuem

0.5

 

Value for digital don't care

value_m

Modelica Standard Library

The component described in this topic is from the Modelica Standard Library. To view the original documentation, which includes author and copyright information, click here.

See Also

Digital Components

Digital Converters

Electrical Library