PT 04 - Computer Organization
PT 04 - Computer Organization
Computer Architecture =
Instruction Set Architecture + Machine
Organization
Computer Architecture
1
4/30/2014
History of Computers
Moore’s Law
2
4/30/2014
• More flexible (easy to program), faster, more • Digital computers use the binary number system.
precise. Binary number system: Has two digits: 0 and 1.
• Storage devices are easier to implement. • Reasons to choose the binary system:
• Built-in error detection and correction. 1. Simplicity: A computer is an “idiot” which blindly follows
mechanical rules; we cannot assume any prior knowledge on
• Easier to minimize. his part.
0 0 0 1 0 0 0 0 0 0
Inverse:
0 1 0 1 0 1 1 0 1 1
1 0 0 1 1 0 1 1 0 1
•A+A' = A'+A = 1
1 1 1 0 1 1 1 1 1 0 •A.A' = A'.A = 0
•(using ' for not)
3
4/30/2014
• Associative: • Distributive:
– A+(B+C) = (A+B)+C
– A(B+C)=AB+AC Similar to math.
– A.(B.C)=(A.B).C
– A+(BC)=(A+B)(A+C) Contradictory to
• Due to associative law we can write A.B.C math.
since either order of evaluation gives the
same answer. • How does one prove these laws??
– Simple (but long) write the Truth Tables for
• Often elide the . so the product associative each and see that the outputs are the
law is A(BC)=(AB)C
same.