Advanced topic in digital systems 2002
Prabhas Chongstitvatana
email me
office: Engineering building 4, floor 18, room 13, phone
02-218-6982
Previous lecture 2001
1999
What's new
24 December 2002 Code
generation
25 December 2002 S2
tools
v1.0 S2
How assembler work
2 January 2003 How
to add new instructions
8 January 2003 Midterm
project RZ
compiler tools kit explained (update) RZ
language
13 January 2003 CISC/RISC
characterization
11 March 2003 Itanium
Final exam Trace
file Trace-readme
source code of benchmark
Itanium ISA manual (in Itanium page)
Announcement
-
Midterm project. The
schedule
for submission is 10 February 2003.
-
The final exam.
has been
mailed to you (11 March). If you didn't receive it, please
contact
me immediately. Due date is 21 March
2003
(Friday) 4pm.
Aim
To present the state of the art in the processor design. The
topic
covers preliminaries and performance driven design. I assume that
students already familiar themselves with at least one or two subjects
in computer organisation and hardware design. We will
discuss
instruction set design, instruction level parallelism and cache memory
design.
Topic by Week
-
Introduction to computer architecture: the dataflow model and its
sequentialisation, Von Neumann architecture.
-
Preliminaries: Discussion on instruction set design, performance metric.
-
Control unit
-
Microprogramming
-
S2 (a simple 32-bit processor)
S2
ISA microsteps
-
Code generation (relationships
between
HLL, compiler and ISA)
-
Pipelining
-
Superscalar
-
VLIW
-
Memory system design Cache memory
-
Virtual memory
-
Speculative execution: Itanium
processor
-
Presentation of research paper
-
Summary of the topic
Assignments
-
Study an instruction set of a processor of your own choice.
-
Write an assembly language for f(x) = ax^2 + bx + c
-
Write a simple program in high level language and rewrite it in an
assembly
language
-
Design a microprogram for the evaluation of f(x) = ax^2 + bx + c
-
S1: write a S1 assembly program, hand assemble it and run it on S1
simulator.
-
Use RZ S2 package to create a high level language program and compile
and
run on S2 simulator
Handout
RZ s2 document
Reading
R1 concurrent
system
Intel Itanium
Example of RZ2 compiler session
How the assembler work
RZ compiler kit page
How to add new instructions
RZ language
CISC/RISC characterization
Tools
All programs have been tested to compile correctly under gcc (and lcc)
S1 simulator
S1 microprogram systems the
package
C compilers
Benchmark programs in C
Text
-
Chongstitvatana, P., "Computer architecture: a synthesis", 2000.
(my textbook)
-
H. Stone, "High-performance computer architecture", 3 ed,
Addison-Wesley
publishing, 1993.
-
J. Hennessy and D. Patterson, "Computer architecture : a quantitative
approach",
2 ed, Morgan Kaufmann Pub., 1996.
-
W. Stalling, "Computer organisation", 4ed., Prentice-hall, 1996.
(undergrad
level text)
-
Additional materials will be hand-out as needed.