Professional Documents
Culture Documents
COA CH 1
COA CH 1
Computer architecture is deals with the structure and behavior of the various
functional modules of the computer and how they provide processing needs to the user.
Examples of architectural attributes include;
the number of bits used to represent various data types (e.g., numbers, characters),
Computer organization is deals with the way the hardware components are
The word “Digital” implies that the information in the computer is represented by the
variables.
The digital computer use the binary number system, which has two digits; 0 and 1.
Inside the computer, there are integrated circuits with thousands of transistors.
By this design, all the input and output voltages are either HIGH or LOW.
Low voltage represents binary 0 and high voltage represents binary 1.by: Elisaye B.@WSU-DTC
Prepared
3
1.1. Overview and history of computer architecture
A computer system is subdivided into two functional entities: Hardware
and Software.
The hardware of the computer consists of all the electronic component
and device.
The software of the computer consists of the instructions and data that
components.
How, then, can one clearly describe them?
The computer designer is concerned with structure and function characteristics of computer system.
Computer Structure
In general, all of its linkages to the external environment can be classified as peripheral devices or
communication lines
Prepared by: Elisaye B.@WSU-DTC
6
1.1. Overview and history of computer architecture
There are four main structural components:
Central processing unit (CPU): Controls the operation of the computer and
I/O: Moves data between the computer and its external environment.
Data storage
Data movement
Control
purpose.
These computers were very heavy and really large in size.
The main 1G computers are:
ENIAC: Electronic Numerical Integrator and Computer, built by J. Presper Eckert and John V. Mauchly.
EDVAC: Electronic Discrete Variable Automatic Computer was designed by von Neumann.
Prepared by: Elisaye B.@WSU-DTC
UNIVAC: Universal Automatic Computer was developed in 1952 by Eckert and Mauchly. 10
History of Computers and its Architecture
2) Second Generation Computers: Transistors (1956-1963)
Second-generation computers used the technology of transistors rather than bulky vacuum tubes.
Another feature was the core storage.
Transistors were invented in Bell Labs.
The use of transistors made it possible to perform powerfully and with due speed.
Central Processing Unit (CPU), memory, programming language and input, and output units also
came into the force within the second generation.
Programming language was shifted from high level to programming language and made
programming comparatively a simple task for programmers.
Languages used for programming during this era were FORTRAN (1956), ALGOL (1958), and
COBOL (1959). Prepared by: Elisaye B.@WSU-DTC 11
History of Computers and its Architecture
2) Third Generation Computers: Integrated Circuits. (1964-1971)
During the third generation, technology envisaged a shift from huge transistors to integrated
A single IC, has many transistors, registers, and capacitors built on one thin slice of silicon.
The value size was reduced and memory space and dealing efficiency were increased during
this generation.
Programming was now wiped out Higher level languages like BASIC (Beginners All-purpose
This generation provided the even smaller size of computers, with larger capacities.
That’s not enough, then Very Large Scale Integrated (VLSI) circuits replaced LSI circuits.
virtual memory made it a more user-friendly and customary device. Prepared by: Elisaye B.@WSU-DTC 13
History of Computers and its Architecture
2) Fifth Generation Computers
The technology behind the fifth generation of computers is AI.
The speed is highest, size is that the smallest and area of use has remarkably increased within
improvement has been seen as far because the speed and accuracy of functioning care, but if we
mention the dimensions, it’s being small over the years.
The value is additionally diminishing and reliability is in fact increasing
The fundamental building block of all digital logic circuits is the gate.
A gate is an electronic circuit that produces an output signal that is a simple Boolean
Each gate is defined in three ways: graphic symbol, algebraic notation, and truth
table.
Note that the inversion (NOT) operation is indicated by a circle.
This means that any Boolean function can be implemented using only the gates
in the set.
The following are functionally complete sets:
AND, OR,NOT
AND,NOT
OR,NOT
NAND
NOR
It should be clear that AND, OR, and NOT gates constitute a functionally
complete set, because they represent the three operations of Boolean algebra.
Prepared by: Elisaye B.@WSU-DTC 17
Logic Gates
For the AND and NOT gates to form a functionally complete set, there must
be a way to synthesize the OR operation from the AND and NOT operations.
This can be done by applying DeMorgan’s theorem:
The AND, OR, and NOT functions can be implemented solely with NAND
gates.
For this reason, digital circuits can be, and frequently are, implemented solely
There are a variety of flip flops, all of which share two properties:
i. The flip-flop is a bi-stable device. It exists in one of two states and, in the
ii. The flip-flop has two outputs, which are always the complements of each other.
Prepared by: Elisaye B.@WSU-DTC 20
Flip Flops
Types of Flip flop
First, let us show that the circuit is bi-stable. Assume that both S and R are 0 and that Q is
0.
The inputs to the lower NOR gate are Q = 0 and S = 0.
Thus, the output = 1. means that the inputs to the upper NOR gate are = 1and R = 0, which
has the output Q = 0.
Thus, the state of the circuit is internally consistent and remains stable as long as S = R = 0.
When R goes to 1, it forces Q = 0, = 1 regardless of the previous state of Q and
The output of the S–R latch changes, after a brief time delay, in response to a
change in the input.
This is referred to as asynchronous operation.
More typically, events in the digital computer are synchronized to a clock pulse,
so that changes occur only when a clock pulse occurs.
This device is referred to as a clocked S–R flip-flop.
The R and S inputs are passed to the NOR gates only during the clock pulse.
Prepared by: Elisaye B.@WSU-DTC 23
Flip Flops
D-Flip-Flop
One problem with S–R flip-flop is that the condition R = 1, S = 1 must be avoided.
One way to do this is to allow just a single input.
By using an inverter, the non-clock inputs to the two AND gates are guaranteed to be the
opposite of each other.
The D flip-flop is sometimes referred to as the data flip-flop because it is, in effect,
storage for one bit of data.
The output of the D flip-flop is always equal to the most recent value applied to the input.
It is also referred to as the delay flip-flop, because it delays a 0 or 1 applied to its input for
a single clock pulse.
Prepared by: Elisaye B.@WSU-DTC 24
Flip Flops
J-K Flip-Flop
Like the S–R flip-flop, it has two inputs. However, in this case all possible
combinations of input values are valid.
Note that the first three combinations are the same as for the S–R flip-flop.
With no input asserted, the output is stable.
If only the J input is asserted, the result is a set function, causing the output to be 1;
if only the K input is asserted, the result is a reset function, causing the output to
be 0.
Prepared by: Elisaye B.@WSU-DTC 25
Flip Flops
J-K Flip-Flop
When J=K=0
When both J and K are 0, the clock pulse has no effect on the output and the output of the flip-
flop is the same as its previous value.
This is because when both the J and K are 0, the output of their respective AND gate becomes 0.
When J=0, K=1
When J=0, the output of the AND gate corresponding to J becomes 0 (i.e.) S=0 and R=1.
Therefore Q’ becomes 0.
When J=1, K=0
In this case, the AND gate corresponding to K becomes 0(i.e.) S=1 and R=0.
Therefore Q becomes 0.
This condition will set the Flip-flop. This represents the SET state of Flip-flop.
When J=K=1, the function performed is referred to as the toggle function:
The output is reversed. Thus, if Q is 1 and1 is applied to J and K, then Q becomes 0.
Prepared by: Elisaye B.@WSU-DTC 26
Flip Flops
T Flip-Flop
Counters
Registers
Frequency Dividers
It is used for generating timing signals to control the sequence of operation in the
digital computers.
A computer that follows the binary number sequence is called binary counter.
flip flop.
If “n” bit of register has a group of “n” flip flop and it has storing n bits of any
binary information.
The two major uses of Register in digital systems are:
The flip flop hold & store the binary information for processing.
The Gate control when and how new information is transferred into the register.
Two types of registers are commonly used: Parallel registers and shift registers.
A parallel register consists of a set of 1-bit memories that can be read or written
flip flops.
Consider, for example, the figure, which shows a 5-bit shift register constructed
shifted to the right one position, and the rightmost bit is transferred out.
The process of dividing or reducing the output frequency to half of its input signal
chip.
Each chip input is passed through a NOT gate so that each input and its
implemented.
The following figure shows a PLA with three inputs, eight gates, and two outputs.
Prepared by: Elisaye B.@WSU-DTC 34
Programmable Logic Array (PLA)
Programmable Logic Array (PLA)
Most larger PLAs contain several hundred gates, 15 to 25 inputs, and 5 to 15 outputs.
Prepared by: Elisaye B.@WSU-DTC 36
Logic Expressions
A logical expression consists of one or more logical operators and logical, numeric, or
relational operands.
Three common Logic operators are AND, OR, and NOT.
A Boolean operator can be completely described using a table that lists the inputs, all
possible values for these inputs, and the resulting values of the operation for all possible
combinations of these inputs. This table is called a truth table.
We can examine logic expressions composed of Boolean variables and multiple logic
operators.
Boolean Algebra is one way of writing a logic expression in equation form.
The rules of precedence for Boolean operators give NOT top priority, followed by AND,
Logic Diagram:
Prepared by: Elisaye B.@WSU-DTC 38
Logic Expressions
A logic diagram can also be used to represent a logic expression.
A logic diagram uses the pictorial description of logic gates in combination to represent a
logic expression.
An example below shows a logic diagram with three inputs (A, B, and C) and one output
(Y).
The following Boolean expression represents the same logic as the example logic circuit
diagram above.
Prepared by: Elisaye B.@WSU-DTC 39
Boolean Function Minimization
The process of simplifying the algebraic expression of a Boolean function is called
minimization.
Minimization is important since it reduces the cost and complexity of the associated
circuit.
Both behave exactly the same way!
EXAMPLE2
The Sum of Products (SOP) form of Boolean expressions and equations contains a list of
Expressions in this form are particularly well-suited for minimization using the most
common methods.
Conventional Form
Note that the structure of the expression shows four groups of products (minterms).
The AND logic has first operation precedence, followed by the OR operator.
in the expression by its numerical equivalent in the domain, rather than by the list of
variables.
In this case we substitute a "1" for all positive variables and a "0" for all inverted (i.e.;
Period = 2 10 s = 2 ns (nanoseconds)
9