Course Information for CS152: Computer Architecture and Engineering
Spring 2013
Catalog Description: Computer Architecture and Engineering
5 units. Three hours of lecture per week, plus one section per
week. Labs.
Prerequisites: CS61C.
Class Schedule/Rooms
Lectures: Tuesday and Thursday, 23:30pm, 3108 Etcheverry Hall
(Note: new room as of 1/31/2013)
Section: Friday, 10:30am12pm, 9 Evans
All Quizzes held in class during lecture times.
Instructor: Krste
Asanović, Professor, CS Division, EECS Department
Email: krste at eecs
Office Hours: Mondays 56pm, 579 Soda Hall (email to confirm)
TA: Yunsup Lee
Email: yunsup at eecs
Office Hours: Tuesdays 12pm, 751 Soda Hall
Course Grading
The course is organized into five modules, with each module
having a problem set, a lab, and a quiz. The grade breakdown is
given below, but a failure to complete the majority (at least
3/5) of the labs will result in an automatic F.
15% Problem Sets
We will distribute 5 problem sets for you to practice your
understanding of the course material. The problem sets also provide
essential background material for the quizzes. The problem sets will
be graded primarily on an effort basis, but if you do not work through
the problem sets you are unlikely to succeed at the quizzes! We will
distribute solutions to the problem sets on the day the problem sets
are due to give you instant feedback.
35% Labs
The labs will provide handson experience with the interaction
of software and hardware, for a variety of machine designs. We
will be making extensive use of designs written in
the Chisel
hardware description language. Each lab includes a directed
component to guide students in learning certain concepts, plus
an openended assignment to allow students to show their
creativity.
50% Quizzes
There will be 5 inclass quizzes covering the material learned in
readings, labs, and problem sets. These will be closed book with no
calculators, phones, or computers allowed. There is no final exam in
this class.
See also Departmental Grading Guidelines for Undergraduate Courses.
Late Assignment Policy
Problem sets must be handed in at the beginning of class on the due
date, with no extensions possible. Each student gets two "free"
extensions of the lab assignments, where labs can be turned in one class
after the original due date. No other extensions will be given, unless
for serious documented emergencies. An automatic F grade is
given if less than three labs are completed.
Collaboration Policy
The problem sets are intended to help you learn the material, and we
encourage you to collaborate with other students and to ask questions
in discussion sections and office hours to understand the problems.
However, each student must turn in their own solutions to the
problems.
Students are encouraged to discuss solutions to the lab assignments
with other students, but must run through the directed portion of the
lab by themselves and turn in their own lab report. For the
openended portion of each lab, students can work individually or in
groups of two. Any openended lab assignment completed as a
group should be written up and handed in separately. Students are
free to take part in different groups for different lab assignments.
Regrade Policy
For addition errors in the total score, return the quiz back to the TA
to get it fixed. For regrades, return the quiz to the TA within a week
of the quiz being graded with a separate sheet of paper explaining the
discrepancy. The staff will carefully regrade the entire quiz, read
the reasoning provided, and then make a final decision. Since the
entire quiz is being regraded, it is possible the total score could go
down as a consequence of previously undiscovered mistakes being
found. We therefore recommend that regrade requests only be used when
the case is strong and a significant number of points are at stake.
Piazza
The course will use Piazza for class communication. The course page can be
found at piazza.com/berkeley/spring2013/cs152.
Compute Resources
Currently Simics will run on t74001.eecs, t74002.eecs, ...
t740012.eecs. You may want to use other
servers for writing code or compiling, and you can see a full list of them at
inst.
Textbooks
The following textbook is required for the course:

J. L. Hennessy and D. A. Patterson, Computer
Architecture: A Quantitative Approach, 5th Edition, Morgan
Kaufmann Publishing Co., Menlo Park, CA. 2012.
ISBN: 9780123838728
We will also use material from
the companion
Web site.

Note that the 5th edition is significantly different than the
other editions, and it is not recommended that you attempt to
use the earlier editions for this course.
The following textbook is recommended to refresh your background and
to provide a simpler introduction to some of the basic concepts. Any
recent edition should be sufficient for background study.