XorGate

XorGate with multiple input

Diagram

Information

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

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

tLH

Value:

Type: Time (s)

Description: Rise inertial delay

tHL

Value:

Type: Time (s)

Description: Fall inertial delay

y0

Value: L.'U'

Type: Logic

Description: Initial value of output

n

Value: 2

Type: Integer

Description: Number of inputs

Connectors (2)

x

Type: DigitalInput[n]

Description: Connector of Digital input signal vector

y

Type: DigitalOutput

Description: Connector of Digital output signal

Components (2)

G1

Type: Xor

G2

Type: InertialDelaySensitive

Used in Components (1)

HalfAdder

Modelica.Electrical.Digital.Examples.Utilities

Half adder