Академический Документы
Профессиональный Документы
Культура Документы
M.M.A. Hashem, PhD Professor Department of Computer Science and Engineering Khulna University of Engineering & Technology
Dept. of CSE
1st working electronic computer (1946) 18,000 Vacuum tubes 1,800 instructions/sec 3,000 ft3
Dept. of CSE Copyright 2003 by M.M.A. Hashem. All rights reserved 4
Computer History
Maurice Wilkes
EDSAC 1 (1949)
http://www.cl.cam.ac.uk/UoCCL/misc/EDSAC99/
Dept. of CSE
Dept. of CSE
Dept. of CSE
Dept. of CSE
Dept. of CSE
Pentium III
9,5000,000 transistors 125 mm2 450 MHz Introduced in 1999
http://www.intel.com/intel/museum/25anniv/hof/hof_main.htm
Dept. of CSE Copyright 2003 by M.M.A. Hashem. All rights reserved 10
Moores Law
Dept. of CSE
11
Levels of abstraction
Quantum level?, solid state physics Conductors, Insulators, Semiconductors. Doping silicon to make diodes and transistors. Building simple gates, boolean logic and truth tables Combinatorial logic: muxes, decoders, adders Clocks Sequential logic: latches memory State machines Processor Control: Machine instructions Computer Architecture: Defining a set of instructions
Semi-conductor: a material that can act like a conductor or an insulator depending on conditions.
Dept. of CSE Copyright 2003 by M.M.A. Hashem. All rights reserved 13
Dept. of CSE
14
N-type Doping
We can help the conductivity by adding atoms of phosphorus or arsenic to the silicon lattice.
They have more electrons (1 more) which is free to wander This is called n-type doping since we have some free (negatively charged) electrons
Dept. of CSE
15
P-type Doping
Interestingly, we can also improve the conductivity by adding atoms of gallium or boron to the silicon lattice.
They have fewer electrons (1 fewer) which creates a hole. Holes also conduct current by stealing electrons from their neighbor (thus moving the hole). This is called p-type doping since we have fewer (negatively charged) electrons in the bond holding the atoms together.
Dept. of CSE
16
Making a transistor
Our first level of abstraction is the transistor. (basically 2 diodes sitting back-to-back)
http://www.intel.com/education/transworks/INDEX.HTM
Dept. of CSE Copyright 2003 by M.M.A. Hashem. All rights reserved 18
Abstractions in CS (gates)
Make current flow = 1; no flow = 0
A 0 0 1 1 B 0 1 0 1 Y 1 1 1 0 A B
GND A B
Y
Y
B C
Dept. of CSE Copyright 2003 by M.M.A. 1 Hashem. All rights reserved
20
Multiplexor
Out0 Out1 Out2 Out3
A S B
Dept. of CSE
A0 0 1 0 1
A1 0 0 1 1
A B S C a b 0 a a b 1 b
Copyright 2003 by M.M.A. Hashem. 21
Q Q
R Q Q 0 undef 1 1 0 0 0 1 1 Q Q
23
Transparent D Flipflop
D S Q
clock signal
Dept. of CSE
D 0 0 1 1
G 0 1 0 1
24
Abstractions in CS (registers)
Address
Decoder
Register File
4x1 MUX
Data In
Data Out
2 bits
2 bits
Dept. of CSE
25
Abstractions in CS (instructions)
Interface between the lowest level software (assembly language) and the most abstract hardware representation (instruction set architecture).
C / C++ Assembly Machine Instr
Compiler
Dept. of CSE
Assembler
26
ADD
R1, R2, #4