Xnor

Xnor logic component with multiple input and one output

    Xnor

Library

Modelica/Electrical/Digital/Basic

Description

Xnor component with multiple input values and one output.

According to the standard logic xor table (Tables.XorTable)an intermediate value is calculated, to which the not table (Tables.NotTable) is applied.

To avoid loops in the numerical treatment, the pre operator is applied to the output.

Parameters

Xnor_0

NameLabelDescriptionData TypeValid Values

mo_n

n

Number of inputs

Scalar

mo_auxiliary

auxiliary

auxiliary

Structure

mo_auxiliary/fixed

fixed

Cell of vectors

true
false

mo_auxiliary/start

start

FromModelica('Modelica.Electrical.Digital.Interfaces.Logic.''U''')
FromModelica('Modelica.Electrical.Digital.Interfaces.Logic.''X''')
FromModelica('Modelica.Electrical.Digital.Interfaces.Logic.''0''')
FromModelica('Modelica.Electrical.Digital.Interfaces.Logic.''1''')
FromModelica('Modelica.Electrical.Digital.Interfaces.Logic.''Z''')
FromModelica('Modelica.Electrical.Digital.Interfaces.Logic.''W''')
FromModelica('Modelica.Electrical.Digital.Interfaces.Logic.''L''')
FromModelica('Modelica.Electrical.Digital.Interfaces.Logic.''H''')
FromModelica('Modelica.Electrical.Digital.Interfaces.Logic.''-''')
'L.''U'''

mo_auxiliary_n

auxiliary_n

auxiliary_n

Structure

mo_auxiliary_n/fixed

fixed

Cell of scalars

true
false

mo_auxiliary_n/start

start

FromModelica('Modelica.Electrical.Digital.Interfaces.Logic.''U''')
FromModelica('Modelica.Electrical.Digital.Interfaces.Logic.''X''')
FromModelica('Modelica.Electrical.Digital.Interfaces.Logic.''0''')
FromModelica('Modelica.Electrical.Digital.Interfaces.Logic.''1''')
FromModelica('Modelica.Electrical.Digital.Interfaces.Logic.''Z''')
FromModelica('Modelica.Electrical.Digital.Interfaces.Logic.''W''')
FromModelica('Modelica.Electrical.Digital.Interfaces.Logic.''L''')
FromModelica('Modelica.Electrical.Digital.Interfaces.Logic.''H''')
FromModelica('Modelica.Electrical.Digital.Interfaces.Logic.''-''')
'L.''U'''

Xnor_1

NameLabelDescriptionData TypeValid 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'
'fixed'

mo__modifiers/value

Value

Ports

NameTypeDescriptionIO TypeNumber

x

implicit

Connector of Digital input signal vector

input

1

y

implicit

Connector of Digital output signal

output

1

See Also