OR

Inputs

PinTypeDescription
AbitFirst input signal
BbitSecond input signal

Outputs

PinTypeDescription
Qbit1 if A=1 or B=1

How It Works

OR (disjunction) outputs 1 if at least one input is 1. It performs logical addition.

Truth Table

ABQ
000
011
101
111

Usage

Introduced in Level 4. Used for combining multiple conditions into a single signal.