NOR

Boolean NOR of two inputs.

  • Boolean
  • Modelica Standard Library
  • 3 ports
BlockNORKindlogicNorLibraryLogic

Description

True only when both inputs are false.

Example

Logic gates AND, OR, XOR, NAND, NOR, and NOT on two Boolean pulse trains, and a Boolean turned into a number.

ABANDORXORNANDNORNOT ABoolean to real
In Gradara, select a NOR block and press F1, then choose Open example. It opens as a new model in My models, ready to run.

Also in this example:ANDORXORNANDNOTBoolean to realBoolean pulse

Ports

Inputs 2

  • u1

    First Boolean input.

  • u2

    Second Boolean input.

Outputs 1

  • y

    not (u1 or u2).

Equations

Modelica
y = ¬(u1 ∨ u2)

Implementation

Modelica Standard Library 4.1.0Modelica.Blocks.Logical.Nor
MSL documentation

See also

Select a block in Gradara and press F1 to open its page offline.