0 index
1 Levels of Abstraction
2 John Von Neumann
3 Architecture
4 Visual of the Architecture
5 ALU
6 ALU Operation
7 3-register ALU
8 Multi-register ALU
9 Control Unit (CU)
10 Memory
11 Memory Structure
12 Memory Registers
13 Structure of RAM
14 Address Space
15 Basic Memory Ops
16 Basic Memory Ops – 2
17 Decode Address
18 Memory/Decoding Logic
19 2-Dimensional Memory Org
20 RAM Organization
21 I/O

outline
created using slideshow.cgi by Andy Harris















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



































CSCI N301 Fundamental CS Concepts: n301/cs14vonNeu
2. John Von Neumann
  • Was a well-known mathematician
  • Wrote the draft report on the design of the EDVAC (the first truly modern computer to be conceived)
  • The report outlined the design of the modern computer -
     - central processing unit based on Boolean algebra
     - used binary arithmetic
     - random-access memory that contained both data and programs



































CSCI N301 Fundamental CS Concepts: n301/cs14vonNeu
3. Architecture
  • The Von Neumann Architecture is a model for designing and building computers based on 3 characteristics:
     - a computer constructed of 4 major subsystems
        - memory, input/output, ALU, and control unit
     - stored program concept
     - sequential execution of instruction



































CSCI N301 Fundamental CS Concepts: n301/cs14vonNeu
4. Visual of the Architecture



































CSCI N301 Fundamental CS Concepts: n301/cs14vonNeu
5. ALU
  • The "Brain"
  • Separate, high-speed-access registers
     - storage for operands
  • Obtain operands from registers, store the result in a register by activating correct BUS



































CSCI N301 Fundamental CS Concepts: n301/cs14vonNeu
6. ALU Operation
  • Add, subtract, multiply divide and compare
  • Circuits for each operation
     - we have already seen the add circuit
  • Each operation is done
  • Select the result you want
     - Multiplexor



































CSCI N301 Fundamental CS Concepts: n301/cs14vonNeu
7. 3-register ALU



































CSCI N301 Fundamental CS Concepts: n301/cs14vonNeu
8. Multi-register ALU



































CSCI N301 Fundamental CS Concepts: n301/cs14vonNeu
9. Control Unit (CU)
  • Fetch Memory (instruction)
  • Decode
  • Execute --> (ALU)
  • Store



































CSCI N301 Fundamental CS Concepts: n301/cs14vonNeu
10. Memory
  • Random-access memory - RAM
     - array of cells, each with an address
     - cell is the minimum unit of access
     - access time is address-dependent
  • ROM – Read Only Memory
     - a section of RAM set aside for system software



































CSCI N301 Fundamental CS Concepts: n301/cs14vonNeu
11. Memory Structure
  • Cell size or width (W)
     - generally 8 bits, called 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/cs14vonNeu
12. 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/cs14vonNeu
13. Structure of RAM



































CSCI N301 Fundamental CS Concepts: n301/cs14vonNeu
14. Address Space
  • Instructions refer to cell addresses
     - stored in binary form
  • Suppose N bits for the address
     - can represent number in the range of 0 to 11 … 1 = 2N - 1
     - determines memory size, 2N
     - "address space"



































CSCI N301 Fundamental CS Concepts: n301/cs14vonNeu
15. Basic Memory Ops
  • 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/cs14vonNeu
16. Basic Memory Ops – 2
  • 2 – Store (address, value) – "Write"
     - load address into MAR
     - load value into MDR
     - decode address
     - store contents of MDR into the cell with that address
     - destructive operation



































CSCI N301 Fundamental CS Concepts: n301/cs14vonNeu
17. 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/cs14vonNeu
18. Memory/Decoding Logic
  • Organization of Memory and Decoding Logic



































CSCI N301 Fundamental CS Concepts: n301/cs14vonNeu
19. 2-Dimensional Memory Org



































CSCI N301 Fundamental CS Concepts: n301/cs14vonNeu
20. RAM Organization



































CSCI N301 Fundamental CS Concepts: n301/cs14vonNeu
21. I/O
  • Human-machine interface
     - keyboard, screen, printer
  • Machine-machine interface
     - mass storage, secondary storage
     - floppy disks, hard disks, CDs, tape
  • Most nonstandard subsystems



































outline

Levels of Abstraction

John Von Neumann

Architecture

Visual of the Architecture

ALU

ALU Operation

3-register ALU

Multi-register ALU

Control Unit (CU)

Memory

Memory Structure

Memory Registers

Structure of RAM

Address Space

Basic Memory Ops

Basic Memory Ops – 2

Decode Address

Memory/Decoding Logic

2-Dimensional Memory Org

RAM Organization

I/O