Introduction To Computer Organization
Introduction To Computer Organization
Know about ISAs. What are they? How do they fit in?
What is a computer?
What is computation? There are many sorts of computing devices, they fall into two categories:
Analog: machines that produce an answer that measures some continuous physical property such as distance, light intensity, or voltage. Examples? Digital: machines that perform computations by manipulating a fixed finite set of elements. Examples? The difficulty with analog devices is that it is very hard to increase their accuracy.
Before modern digital computers, the most common digital machines were adding machines.
Adding machines perform exactly one sort of operation.
Computers also perform one operation but their operation is to accept a set of instructions that tell it how to do any sort of computation.
A computer is an electronic idiot and can not deal with any ambiguity, thus
Overview: Algorithm
The Problem
The first step in the sequence of transformations is to transform the natural language description of the problem to an algorithm. An algorithm is a step-by-step procedure:
That transforms an input (possibly NULL) into some output (or output action) That is guaranteed to terminate
Definiteness: Each step is precisely stated. Effective computability: Each step must be something the computer can perform Finiteness: The procedure must
The next step is to transform the algorithm into a computer program Programming languages are unambiguous mechanical languages There are two kinds of programming languages:
High-level languages are machine independent. They are far above the (underlying) computer Low-level languages are machine dependent. They are tied to the
The next step is to translate the program into the instruction set of the particular computer that will be used to carry out the work of the program. The Instruction Set Architecture (ISA) is the complete specification of the interface between programs that have been written and the underlying hardware that must carry out the work of those programs.
Examples: IA-32 (Intel, AMD, and others), PowerPC (Motorola)
Programs are translated from high languages in to the ISA of the computer on which they will be run by
Overview: Microarchitecture
The Problem
The next step is to transform the ISA into an implementation. The detailed organization of an implementation is called its microarchitecture.
The IA-32 has been implemented by several different processors over the past twenty years 8086 (Intel, 1979), 8286, 8386, 8486, Pentium, PentiumII, Athlon, PentiumIII. Each implementation is an opportunity for computer designers to make different trade-
The next step is to implement each element of the microprocessor out of simple logic circuits. Here there are also choices, as the logic designer decides how to best make the trade-offs between cost and performance. Even in the case of addition, there are several choices of logic circuits to perform this operation and differing speeds
Finally, each basic logic circuit is implemented in accordance with the requirements of the particular device technology used. Vcc So, CMOS circuits are different Rc from NMOS circuits, which are Vout Rb different, in turn, from gallium Vin arsenide circuits.
GND
Sequential Logic
m n
Current + output depends * p current input Thus has a memory (usually called the state)
Memory-Transfer Equivalent
Mem[A] Mem[B] + Mem[C] Mem[EA00] Mem[EA08] + Mem[EA10]
Machine-Level Equivalent
Assembly (human readable) ex: Machine (for a simple architecture)
Load R2, B Load R3, C R2 R2 + R3 Store A, R2 E2EA08 E3EA10 0223 F2EA00
Languages of Yore
Fortran, COBOL, and scores more.
Specialty languages
VHDL, simulation languages, and thousands more.
There are over 1,000 standardized programming languages today. The only goal of these languages is to help
Know about ISAs. What are they? How do they fit in?