Introduction to Computer Architecture What is computer architecture
- Slides: 18
Introduction to Computer Architecture
What is computer architecture? n n n What does “architecture” mean? Layout and interactions of a computer system What is a computer system? Input Process Output Can a computer system be more than one computer? Think of an example. . .
Major Components of a Computer n n n Central Processing Unit (CPU) Random Access Memory (RAM) / Memory Hard Drive / Disk
Central Processing Unit (CPU) n n n Also called the “chip” or “processor” The brain of the computer Major components: ¡ Arithmetic Logic Unit (ALU) n ¡ Control unit n ¡ n calculator controls the calculator Communication bus systems What’s a bus? !? Control Unit Address Bus Memory ALU Data Bus
What does memory look like? n Note: Bits in memory ardatae both values and program instructions
What does memory look like? n n n Memory ~ RAM Looks like a table Address and Data Address is the location Data is the actual value Memory stores both data and assembly instructions Address 0 1 2 Data 36 3765 786 3 4 5 6 7 8 356 252 67980 2355 4234 3466
Fetch-Execute Cycle (Machine Instruction Cycle) 1. 2. 3. 4. 5. Fetch instruction from memory Decode instruction in control unit Execute instruction (data may be fetched from memory) Store results if necessary Repeat! Control Unit Address Bus Memory ALU Data Bus
ON-OFF-ON-ON 1 n 0 1 1 Several ways to remember the state of a switch: ¡ ¡ ¡ Electrical – RAM, flash memory, solid state drives, some ROMs Magnetic – Hard drives, magnetic tapes Optical – CDs, DVDs, Blu-Ray
Primary Memory n n Memory level CPU accesses closest RAM ~ Random Access Memory ¡ ¡ n Volatile storage (data is NOT saved when computer is off) Used to store everything (OS, programs, etc. ) while computer is on ROM ~ Read-Only Memory ¡ ¡ Non-volatile storage Often holds the computer’s BIOS (Basic Input/Output System) when computer first loads
Registers n n n Temporary storage containers used inside the CPU Extremely fast MAR ~ Memory Address Register ¡ n MDR ~ Memory Data Register ¡ n Holds the address of where you are fetching from Holds the data that was fetched from memory Many other registers too (for all CPU calculations)
Fetch-Execute Cycle (Machine Instruction Cycle) 1. 2. 3. 4. 5. Fetch instruction from memory Decode instruction in control unit Execute instruction (data may be fetched from memory) Store results if necessary Repeat! Control Unit Address Bus Memory ALU Data Bus
Fetch-Execute Animation n http: //www. hartismere. com/staticvle/ict skills/Fetch. Execute. swf
Memory Hierarchy
Memory Hierarchy Updated
Cache n n n Slower than registers Faster than RAM Located in front of main RAM Different levels of cache Level 1 (L 1) and Level 2 (L 2) Size is usually around 1 MB
Virtual Memory n n n What if a program is too big for RAM? If a program is too big for memory (RAM), then we start using the hard drive (disk) to store data Prevents the computer from stalling/crashing (BUT IT IS SLOW)
Hard Drives • • Persistent storage Non-volatile storage Why do we need it? Other types of persistent storage?
CD/DVD/Blu. Rays n Lands and pits used to represent binary Optical medium - lasers and refraction used to read lands and pits n http: //electronics. howstuffworks. com/cd 4. htm n
- Introduction to computer organization and architecture
- Bus architecture in computer architecture
- Difference between computer architecture and organization
- Basic computer organisation and design
- Intro paragraph outline
- An introduction to software architecture
- Enterprise architecture principles
- Arsitektur data adalah
- Server client architecture
- Introduction to software architecture
- The architecture business cycle
- Data centered architecture
- Product architecture example
- Integral product architecture example
- Definition of computer technology
- Introduction to computer
- Introduction of computer hardware
- Introduction of classification of computer
- Graphics hardware in computer graphics ppt