CH 01 Introduction To Computer Organization and Architecture
CH 01 Introduction To Computer Organization and Architecture
Computer SYSTEM
Introduction to Computer
CPU
The input-output relationship of the binary variables for each gate can
be represented in tabular form by a Truth table.
Logic Gates
Boolean Algebra deals with binary variables (F, x,y, z… ) and logic
operations (AND, OR, NOT…)
Logic diagram: Composed of graphic symbols for logic gates
A simple circuit sketch that represents inputs and outputs of Boolean
functions
Boolean Function: variable + operation
F (x, y, z) = x + y’z
The relationship between F and x, y and z can be put in table form.
This table is called the truth table of F
Boolean Algebra
Truth table:
Represents relationship between a Boolean function and its binary variables
To represent a function in truth table we need a list of the 2n combination of
the n binary variables
Postulates:
There are only two values: 0 and 1
Algebra based the set {0,1}
0 & 1 are called Boolean constants
There are three basic Boolean operations:
OR (+)
AND (.) Binary operations
Unary operation: NOT (’)
Boolean Algebra
Boolean expressions: are made up of the Boolean constants 0, 1 and the three
operations shown above
Boolean Algebra
A Boolean function can be transformed from an algebraic
expression into a logic diagram composed of AND, OR
and inverter(NOT) gates
Logic diagram: Composed of graphic symbols for logic
gates. A Boolean function can be transformed from an
algebraic expression into a logic diagram composed of
AND, OR and Inverter gates. Example F= x + y’z
Boolean Algebra
A simple circuit sketch that represents inputs and
outputs of Boolean functions
E.g. F (x, y, z) = x + y’z
Half Adder
The most basic digital arithmetic circuit is the addition of two binary
digits
A combinational circuit that performs the arithmetic addition of two
bits is called a Half-adder
The input variables of half-adder are called the augend and addend
bits
The output variables sum and carry
Combinational circuits…
Half Adder
It is necessary to specify two output variables because the sum of 1
+ 1 is binary 10, which has two digits.
S= x’y + xy’ =x⊕Y => exclusive-OR gate
C= xy => AND gate
Fig. Half-Adder
Combinational circuits…
Full Adder
A full adder is a combinational circuit that forms the arithmetic sum of
three input bits
It consists of three inputs and two outputs
Two outputs are necessary because the arithmetic sum of three
binary digits ranges from in values from 0 to 3 and binary 2 or 3
needs two digits.
Combinational circuits…
Full Adder
S= x⊕y ⊕z
C= xy + (x⊕y)z
Digital circuits
Combinational digital components
Decoder
Encoder
Multiplexer
Demultiplexer
Decoder
Stereo systems:
CD-Players utilizes multiplexing in order to transfer
data/music digitally to a digital input
Amplifiers with digital output utilize multiplexing
This makes it easily possible to carry 6 channels of
sound in only one fiber cable
Demultiplexer (DEMUX)