XorGate

XorGate with multiple input

    XorGate

Library

Modelica/Electrical/Digital/Gates

Description

The XorGate model has a multiple valued (n) input vector, and a single valued output. It is composed by a Basic Xor and an InertialDelaySensitive. Its parameters are the delay parameters (rise and fall inertial delay time, and initial value).

Parameters

XorGate_0

NameLabelDescriptionData TypeValid Values

mo_tLH

tLH

Rise inertial delay

Scalar

mo_tHL

tHL

Fall inertial delay

Scalar

mo_y0

y0

Initial value of output

Structure

mo_y0/choice1

U Uninitialized

Number

0
1

mo_y0/choice2

X Forcing Unknown

Number

0
1

mo_y0/choice3

0 Forcing 0

Number

0
1

mo_y0/choice4

1 Forcing 1

Number

0
1

mo_y0/choice5

Z High Impedance

Number

0
1

mo_y0/choice6

W Weak Unknown

Number

0
1

mo_y0/choice7

L Weak 0

Number

0
1

mo_y0/choice8

H Weak 1

Number

0
1

mo_y0/choice9

- Do not care

Number

0
1

mo_n

n

Number of inputs

Scalar

XorGate_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