Logic operation

and

Description

Output true only if both all the inport are true, otherwise output false.

Inport

in1: Boolean.

in2: Boolean.

Outport

bool: Boolean. bool = (in1 and in2)

or

Description

Output true if any inport is true, otherwise output false.

Inport

in1: Boolean.

in2: Boolean.

Outport

bool = (in1 or in2)

not

Description

Output the negative value of inport.

Inport

in: Boolean.

Outport

bool: Boolean. bool = !in