Lec1 Boolean Algebra
Lec1 Boolean Algebra
The central processing unit (CPU) contains an arithmetic and logic unit for manipulating data, a
number of registers for storing dala, and control circuits for fetching and executing instructions.
The memory of a computer contains storage for instructions and data. It is called a random·
access memory (RAM) because the CPU can access any location in memory at random and
retrieve the binary information within a fixed interval of time. The input and output processor
(lOP) contains electronic circuits for communicating and controlling the transfer of information
between the computer and the outside world. The input and output devices connected to the
computer include keyboards, printers, terminals, magnetic disk drives, and other communication
devices.
• Computur organization is concerned with the way the
hardware components operate and the way they are
connected together to form the computer system. The various
components are assumed to be in place and the task is to
investigate the organizational structure to verify that the
computer parts operate as intended.
• Compute design is concerned with the hardware design of
the computer. Once the computer specifications are
formulated, it is the task of the designer to develop hardware
for the system. Computer design is concerned with the
determination of what hardware should be used and how the
parts should be connected. This aspect of computer hardware
is sometimes referred to as computer implementation.
• Computer architecture is concerned with the
structure and behavior of the computer as seen by
the user. It includes the information formats, the
instruction set, and techniques for addressing
memory. The architectural design of a computer
system is concerned with the specifications of the
various functional modules, such as processors and
memories, and structuring them together into a
computer system
Boolean Algebra
LOGIC GATES
• Truth table:
• Represents relationship between a Boolean function
and its binary variables.
• It enumerates all possible combinations of
arguments and the corresponding function values.
Boolean function and logic diagram
(1) x+0=x
(2) x ·0=0
(3) x+1=1
(4) x·1=1
(Table 1-1)
Basic Identities of Boolean Algebra
(Existence of complement)
(5) x + x = x
(6) x · x = x
(7) x + x’ = x
(8) x · x’ = 0
Basic Identities of Boolean
Algebra (Commutativity):
(9) x + y = y + x
(10) xy = yx
Basic Identities of Boolean Algebra
(Associativity):
(11) x + ( y + z ) = ( x + y ) + z
(12) x (yz) = (xy) z
Basic Identities of Boolean
Algebra (Distributivity):
(13) x ( y + z ) = xy + xz
(14) x + yz = ( x + y )( x + z)
Basic Identities of Boolean
Algebra (DeMorgan’s Theorem)
(15) ( x + y )’ = x’ y’
(16) ( xy )’ = x’ + y’
Basic Identities of Boolean
Algebra (Involution)
(17) (x’)’ = x
Function Minimization using Boolean Algebra
• Examples:
(a) a + ab = a(1+b)=a
• F = ab + c’d’
• F’ = ??
• F = ab + c’d’ + b’d
• F’ = ??
DeMorgan's Theorem