5.5 Logic circuits Flashcards
Digital computers and Central Processing Units (CPUs) must be able to carry out arithmetic processes and logical combinations
These are done in an Arithmetic Logic Unit (ALU), the heart of each CPU.
a system that performs calculations or makes decisions is a logic system
A computer is a logic system that contains memory.
Computers and logic systems can handle either
analogue or digital information
The ALU needs its inputs in digital form such as:
Logic 1 (also known as logic ’True’)
Logic 0 (also known as logic ‘False’)
on/off or true/false in logic is defined as
1 and 0
1/0 in a logic system are known as binary digits abbreviated as
bits
a combination of bits is called a
word
two binary states can be represented in a variety of ways including
most common high and low voltage levels
also two different frequencies and two-phase angles
Positive logic is more commonly used where H means 1 and L means 0
.
Logic gate operations can be expressed using
Boolean Algebra
X = A or B and C
Truth tables specifically describe the
function of a logic gate
Logic gates have only three basic functions
- AND Function
- OR Function
- NOT (Inversion) Function
By combining the three basic functions
AND
OR
NOT
which others can be made
NAND (not AND)
NOR (not OR)
EXCLUSIVE OR
EXCLUSIVE NOR
There are several different ways to define logic functions
Circuit schematic/equivalent circuit
Logic symbol
Truth table
Signal diagram
NOT (inverter) Gate
an inverter has only one input, and its output is always the opposite of the input
- A = A A - logic 0: produces 1 A - logic 1: produces 0