CSE 243: Introduction To Computer Architecture and Hardware/Software Interface
CSE 243: Introduction To Computer Architecture and Hardware/Software Interface
CSE 243: Introduction To Computer Architecture and Hardware/Software Interface
Topics covered:
Course outline and schedule
Introduction
General information
2
Course Objective
3
Textbooks
4
Course topics
5
Grading System
6
Course topics, exams and assignment calendar
Week #1 (Jan 27):
- Addressing methods.
Week #2 (Feb 3):
- Instruction Set Architectures of 68000 and ARM processors.
- Assignment #1 handed out.
Week #3 (Feb 10):
- Problem solving -- assembly language programming.
- CPU Architecture.
Week #4 (Feb 17):
- CPU Architecture.
- Assignment #1 due, Assignment #2 handed out.
- Exam #1 (Addressing modes, etc.).
Week #5 (Feb 24)
- CPU Architecture.
Week #6 (March 3)
- Arithmetic.
- Assignment #2 due, Assignment #3 handed out.
- Exam #2 (CPU Architecture)
7
Course topics, exams and assignment calendar
8
Course topics, exams and assignment calendar
9
Grading policy
10
Important prerequisite material
11
Reading
12
Labs
•Lab times (as per catalog) are not fixed. Work can be done outside of
scheduled lab hours. But expect to spend at least the time allotted in
the lab.
•Lab assignments will involve tkisem. tkisem is a tool from University
of New Mexico. Information can be found at:
http://www.cs.unm.edu/~maccabe/tkisem/begin.html
•tkisem is a Tcl/Tk version of isem (Instructional Sparc Emulator).
•tkisem involves assembly language programming.
•If you have PC (Mac running virtual PC) you can install tkisem on your
own machines. Otherwise tkisem will be in the learning center.
•Lab assignments should be submitted electronically to the TA.
13
Feedback
Please provide informal feedback early and often, before the formal
review process.
14
What is a computer?
15
Functional units of a computer
Input unit accepts Arithmetic and logic unit(ALU):
information: •Performs the desired
•Human operators, operations on the input
•Electromechanical devices information as determined
•Other computers by instructions in the memory
Memory
Arithmetic
Input
Instr1 & Logic
Instr2
Instr3
Data1
Output Data2 Control
I/O Processor
Stores
information: Control unit coordinates
Output unit sends various actions
results of processing: •Instructions,
•Data •Input,
•To a monitor display, •Output
•To a printer •Processing
16
Information in a computer -- Instructions
17
Information in a computer -- Data
18
Input unit
Binary information must be presented to a computer in a specific format. This
task is performed by the input unit:
- Interfaces with input devices.
- Accepts binary information from the input devices.
- Presents this binary information in a format expected by the computer.
- Transfers this information to the memory or processor.
Real world Computer
Memory
Keyboard
Audio input
Input Unit
……
Processor
19
Memory unit
20
Memory unit (contd..)
Processor reads/writes to/from memory based on the
memory address:
Access any word location in a short and fixed amount of time
based on the address.
Random Access Memory (RAM) provides fixed access time
independent of the location of the word.
Access time is known as “Memory Access Time”.
21
Memory unit (contd..)
22
Arithmetic and logic unit (ALU)
23
Output unit
•Computers represent information in a specific binary form. Output units:
- Interface with output devices.
- Accept processed results provided by the computer in specific binary form.
- Convert the information in binary form to a form understood by an
output device.
Memory Printer
Graphics display
Speakers
……
Output Unit
Processor
24
Control unit
25
How are the functional units connected?
Bus
26
Organization of cache and main memory
Main Cache
memory memory Processor
Bus
Why is the access time of the cache memory lesser than the
access time of the main memory?
27