0 index
1 Levels of Abstraction
2 Von Neumann architecture
3 Diagram One
4 Memory
5 Memory structure
6 Memory Registers
7 Diagram Two
8 Address space
9 Basic memory operations
10 Basic memory operations - 2
11 Decode address
12 Diagram Three
13 Diagram Four
14 Diagram Five
15 I/O
16 ALU
17 ALU operation
18 Diagram Six
19 Diagram Seven
20 Diagram Eight
21 Diagram Nine
22 The Control Unit (CU)
23 Machine Language Instructions
24 The Instruction Set: Group 1
25 The Instruction Set: Group 2
26 The Instruction Set: Group 3
27 The Instruction Set: Group 4
28 Diagram 10a
29 Diagram 10b
30 Diagram 10c
31 Diagram 11
32 Diagram 12
33 Diagram 13

outline
created using slideshow.cgi by Andy Harris















CSCI N301 Fundamental CS Concepts: n301/Computer Organization
1. Levels of Abstraction
  • Still hardware
  • At a component (subsystem) level
    • transistors -->gates -->circuits
    • circuits -->subsystems
  • Abstraction hides detail
    • important concept in my areas of CS



































CSCI N301 Fundamental CS Concepts: n301/Computer Organization
2. Von Neumann architecture
  • Four major subsystems
    • memory
    • input/output (I/O)
    • arithmetic-logic unit (ALU)
    • control unit
  • Stored program concept
  • Sequential fetch-execute cycle



































CSCI N301 Fundamental CS Concepts: n301/Computer Organization
3. Diagram One

  • The Neumann Architecture



































CSCI N301 Fundamental CS Concepts: n301/Computer Organization
4. Memory
  • Random-access memory - RAM
    • array of cells, each with address
    • cell is minimum unit of access
    • access time is sddress-independent
  • ROM - Read Only Memory
    • section of RAM set aside for system software



































CSCI N301 Fundamental CS Concepts: n301/Computer Organization
5. Memory structure
  • Cell size or width W
    • generally 8 bits, calles a BYTE
    • may need multiple cells to store large numbers or long program instructions
  • Cell content vs. cell address



































CSCI N301 Fundamental CS Concepts: n301/Computer Organization
6. Memory Registers
  • Special (large) storage cells
  • (1) Memory address register - MAR
    • holds cell address
    • N bits wide
  • (2) Memory data register - MDR
    • holds data values
    • multiple of W



































CSCI N301 Fundamental CS Concepts: n301/Computer Organization
7. Diagram Two

  • Structure of Random Access Memory



































CSCI N301 Fundamental CS Concepts: n301/Computer Organization
8. Address space
  • Instructions refers to cell addresses
    • stored in binary form
  • Suppose N bits for address
    • can represent numbers in range 0 to 1 1 ... 1 = 2N - 1
    • determines memory size, 2N
    • "address space"



































CSCI N301 Fundamental CS Concepts: n301/Computer Organization
9. Basic memory operations
  • (1) Fetch (address)"Read"
    • load address into MAR
    • decode address
    • copy contents of cell at that address into MDR
    • nondestructive operation



































CSCI N301 Fundamental CS Concepts: n301/Computer Organization
10. Basic memory operations - 2
  • (2) Store (address, value) "Write"
    • load address into MAR
    • load value into MDR
    • decode address
    • store contents of MDR into cell with that address
    • destructive operation



































CSCI N301 Fundamental CS Concepts: n301/Computer Organization
11. Decode address
  • Convert a string of N bits (on N bits (on N input lines) to a signal on a single output line
  • This is a decoder
  • To scale up, use a 2-dimensional arrangement



































CSCI N301 Fundamental CS Concepts: n301/Computer Organization
12. Diagram Three

  • Organization of Memory and Decoding Logic



































CSCI N301 Fundamental CS Concepts: n301/Computer Organization
13. Diagram Four

  • Two-Dimensional Memory Organization



































CSCI N301 Fundamental CS Concepts: n301/Computer Organization
14. Diagram Five

  • Overall RAM Organization



































CSCI N301 Fundamental CS Concepts: n301/Computer Organization
15. I/O
  • Human-machine interface
    • keyboard, screen, printer
  • Machine-machine interface
    • mass storage, secondary storage
    • floppy disks, hard disks, CDs, tape
  • The most nonstandard subsystems



































CSCI N301 Fundamental CS Concepts: n301/Computer Organization
16. ALU
  • "the brain"
  • Seperate, high-speed-access registers
    • storage for operands
  • Obtain operands from registers, store result in register by activating correct BUS



































CSCI N301 Fundamental CS Concepts: n301/Computer Organization
17. ALU operation
  • Add, subtract, multiply, divide, compare
  • Circuits for each operation
    • we saw add circuit
  • Each operation is done!
  • Select the result you want
    • Muliplexor



































CSCI N301 Fundamental CS Concepts: n301/Computer Organization
18. Diagram Six

  • Three-Register ALU Organization



































CSCI N301 Fundamental CS Concepts: n301/Computer Organization
19. Diagram Seven

  • Multiregister ALU Organization



































CSCI N301 Fundamental CS Concepts: n301/Computer Organization
20. Diagram Eight

  • Using a Multiplexor Circuit to Select the Proper ALU Result



































CSCI N301 Fundamental CS Concepts: n301/Computer Organization
21. Diagram Nine

  • Overall ALU Organization



































CSCI N301 Fundamental CS Concepts: n301/Computer Organization
22. The Control Unit (CU)
  • fetch Memory (instruction)
  • decode
  • execute --> (ALU)
  • store



































CSCI N301 Fundamental CS Concepts: n301/Computer Organization
23. Machine Language Instructions
  • OpcodeAddn 1Addn 2
    What kind of operation.Where data comes from/result goes to.



































CSCI N301 Fundamental CS Concepts: n301/Computer Organization
24. The Instruction Set: Group 1
  • Data Transfer These are operations that move information between or within the different components of the computer.
    • Memory cell --> ALU register
    • ALU register --> memory cell
    • One memory cell --> another memory cell
    • One ALU register --> another ALU register



































CSCI N301 Fundamental CS Concepts: n301/Computer Organization
25. The Instruction Set: Group 2
  • Arithmetic These are operations that causes the arithmetic/logic unit to perform a computation.
    • +
    • -
    • X
    • /
    • AND
    • OR
    • NOT



































CSCI N301 Fundamental CS Concepts: n301/Computer Organization
26. The Instruction Set: Group 3
  • Compare These operations compare two values and set an indicator on the basis of the results of the compare.
    • condition codes - special set of bits set by the compare operation.



































CSCI N301 Fundamental CS Concepts: n301/Computer Organization
27. The Instruction Set: Group 4
  • Brach Alters the normal sequential flow of control



































CSCI N301 Fundamental CS Concepts: n301/Computer Organization
28. Diagram 10a



































CSCI N301 Fundamental CS Concepts: n301/Computer Organization
29. Diagram 10b



































CSCI N301 Fundamental CS Concepts: n301/Computer Organization
30. Diagram 10c



































CSCI N301 Fundamental CS Concepts: n301/Computer Organization
31. Diagram 11

  • Organization of the Control Unit Registers and Circuits



































CSCI N301 Fundamental CS Concepts: n301/Computer Organization
32. Diagram 12

  • The Instruction Decoder



































CSCI N301 Fundamental CS Concepts: n301/Computer Organization
33. Diagram 13

  • The Organization of a Von Neumann Computer



































outline

Levels of Abstraction

Von Neumann architecture

Diagram One

Memory

Memory structure

Memory Registers

Diagram Two

Address space

Basic memory operations

Basic memory operations - 2

Decode address

Diagram Three

Diagram Four

Diagram Five

I/O

ALU

ALU operation

Diagram Six

Diagram Seven

Diagram Eight

Diagram Nine

The Control Unit (CU)

Machine Language Instructions

The Instruction Set: Group 1

The Instruction Set: Group 2

The Instruction Set: Group 3

The Instruction Set: Group 4

Diagram 10a

Diagram 10b

Diagram 10c

Diagram 11

Diagram 12

Diagram 13