Computer Organization and Architecture Week 1
Computer Organization and Architecture Week 1
ARCHITECTURE
IKSAN BUKHORI, M.PHIL.
COURSE INTRODUCTION
LECTURER INFO
Composition
- Mid-Term Exam : 30 %
- Final Exam/Project : 40 %
- Quizzes : 20 %
- Homework/Assignment : 10%
Final grades may be adjusted; however, you are guaranteed the following:
Minimum Grade
0 E
55 D
60 C
64 C+
67 B-
70 B
75 B+
80 A-
85 A
HOMEWORK
Homeworks will be given in fairly regular basis. The average of homework grades contributes 10% of
final grade.
Homeworks must be submitted on time, on the scheduled day of the lecture. If you submit late, the
penalty will be –10·n points, where n is the total number of lateness made.
HOMEWORK TEMPLATE
Any assignment submitted offline should be written on A4 papers, and include the header as shown
below
COA
Homework 6
Rudi Bravo
009201700008
21 March 2021
No.1. Answer: . . . . . . . .
SYLLABUS (TENTATIVE)
Carl Hamacher, Zvonko Vranesic, Safwat Zaky, Computer Organization, McGraw Hill 2002.
Andrew S. Tanenbaum, Structured Computer Organization, Pearson Prentice Hall 1999
M. Morris, Mano, Computer System Architecture, Prentice Hall 1993
INTRO TO COA: ORGANIZATION VS
ARCHITECTURE
ORGANIZATION VS ARCHITECTURE
Source: https://www.geeksforgeeks.org/differences-between-computer-architecture-and-
computer-organization/
ARCHITECTURE
The design of computers, including their instruction sets, hardware components, and system
organization
Architecture
Deals with major computer
Hardware System hardware subsystems like
Architecture (HSA CPU, Memory, I/O, etc.
EXAMPLE: ISA
There are several models of architecture that can be used. Each one of the box below represents
one instruction set (one ISA)
Suppose that we chose the second one. Then in that case, similar operations should follow the same
architecture
EXAMPLE: HSA
This choice of ISA determines the hardware that should be used. In this case we will need two registers
and one adder (for the operation Add R1,R2)
These hardware specifications constitute what we call HSA
COMPUTER ORGANIZATION IN GENERAL
INTRO TO COA: CLASSIFICATION OF COMPUTER
ARCHITECTURES
CLASSIFICATION OF COMPUTER ARCHITECTURE: VON
NEUMANN VS NON-VON NEUMANN
Computer
Architecture
Non-Von
Von Neumann
Neumann
Architecture
Architecture
Harvard
Architecture
Modified
Harvard
Architecture
NON-VON NEUMANN ARCHITECTURE
Harvard Architecture
Remainder 1101
13
1 0
:2
6
0
1× 2 =1
1
:2
:2
3
1 0 ×2 =0
2
:2
1 1 1× 2 =4
3
0 1× 2 =8
CHANGING BASES
Binary Octal
CHANGING BASES
Binary Hex
IMPORTANCE OF BINARY REPRESENTATION
Computers fundamentally can only work with binaries which only consists of two symbols; ‘0’ and ‘1’
As we have seen before, even octal and hex representation depends on binary representation
Besides number, binary representation is also fundamental in Boolean Logic, where there are two
possible states of truth in a statement; True or False. These two values can be represented in binary
Therefore, understanding the machinery inside computers in terms of these binary values are important
BOOLEAN ALGEBRA
HISTORY OF BOOLEAN ALGEBRA
X Y X.Y
0 0 0
0 1 0
1 0 0
1 1 1
OR OPERATOR
X Y X+Y
0 0 0
0 1 1
1 0 1
1 1 1
NOT OPERATOR
X
0 1
1 0
TRUTH TABLE
Truth Table is a table that contains all possible values of logical variables/statements in Boolean
expression
The number of possible combination = where n = number of variables used in a Boolean expression
TRUTH TABLE: EXAMPLE
0 1 1 0
1 0 1 0
In Boolean algebra, interchanging AND and OR operators while simultaneously negating the operands
do not change the truth value of the expression
Example
X.Y + Z’ = (X’ + Y).Z
BASIC THEOREM OF BOOLEAN ALGEBRA
EXERCISE
SOP VS POS REPRESENTATION OF BOOLEAN EXPRESSION
For example,
AB + AC SOP
(A+B)(A+C) POS
I n above exam p les bot h are in SOP and POS respe ct iv e ly but they are no t in
Standard SOP and POS.
POS AND SOP IN STANDARD FORM
In standard SOP and POS, each term of Boolean expression must contain all the literals (with and
without bar) that has been used in Boolean expression
If such condition is satisfied by the expression, such expression is called Canonical Form of Boolean
Expression
Example: Let’s convert the previous SOP into its canonical form
AB + AC = AB(C+C’) + AC(B+B’)