NOT

Boolean negation.

  • Boolean
  • Modelica Standard Library
  • 2 ports
BlockNOTKindlogicNotLibraryLogic

Description

Inverts a Boolean signal.

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 NOT block and press F1, then choose Open example. It opens as a new model in My models, ready to run.

Also in this example:ANDORXORNANDNORBoolean to realBoolean pulse

Ports

Inputs 1

  • u

    Boolean input.

Outputs 1

  • y

    not u.

Equations

Modelica
y = ¬u

Implementation

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

See also

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