Course Syllabus



Course Information

CS 3340 Computer Architecture




Professor Contact Information

Ivor Page, ECS 4.410, [email protected]

Office Hours: Tues 5:30-6:30pm, Wed 6:00-7:00pm




Course Pre-requisites, Co-requisites, and/or Other Restrictions

CS 1337





Course Description

This course covers principles of Computer Architecture.



Student Learning Objectives/Outcomes


Understand signed and unsigned 1ís and 2ís complement integer and floating point arithmetic and to convert between unsigned binary, hex, and octal number representations.

Understand the roles of the compiler, assembler, machine
code, Linker, and System calls.


Understand simple types of computer architectures: stack-based, single accumulator, register-memory, and Load & Store.

Understand MIPS assembler language, memory modes, indirection, subroutine call and return instructions, pseudo instructions.


Understand MIPS data path, the 5 stage pipeline, hazards, stalls, branch-prediction algorithms and hardware etc.


Understand single processor cache memories: direct mapped, fully associative, and set-associative. Cache write and replacement policies, L1 and L2 caches,


Understand bus sizes, and delays in memory hierarchies.


Understand Virtual Memory, paging hardware and algorithms.



Required Textbooks and Materials:


Text: ††††††††††††† Patterson and Hennessy, Computer Organization and Design 3rd edition.


References:William J. Pervin, A Programmerís Guide to Assembler, McGraw-Hill Custom Publishing, 2005.

William B. Jones, Assembly Language for the IBM PC Family, Scott/Jones, 2nd Edition, 1997.


Assignments & Academic Calendar

(Topics, Reading Assignments, Due Dates, Exam Dates)



Wk 1††† Introduction: Multi-level machine concepts, Overall structure of a computer, etc.

Wk2†††† Numbering Systems (Hex, Binary, Decimal and their conversions),

Signed and Unsigned Numbers (1ís complement, 2ís complement)

Wk3†††† Addition, sign extension, shifting (logical/arithmetic) of signed numbers,

Floating point representation, ASCII set

Wk4†††† Little/Big Endian, Alignment, Registers; Examples of instructions and simple MIPS programs

Wk5†††† Roles of Compiler, Assembler and Linker, System calls, Subroutine calls in MIPS

Wk6†††† Macro, Pseudo instructions, Memory layout, Addressing modes

Wk7†††† Translation from C to MIPS, Translation between MIPS and machine code

Wk8†††† A complete program example

Wk9†††† Performance Calculation, Amdahlís Law

Wk10†† Processor Data Path: Steps in a data path, Performance of a data path

Wk11†† Pipelining: 5-steps of MIPS pipeline and their detailed actions, Hardware impacts

Wk12†† Pipelining: Structural/data/control hazards and solutions, pipeline scheduling

Wk13†† Memory Hierarchy: Concepts, Cache (direct mapped, set associative, fully associative)

Wk14†† Memory Hierarchy: Cache placement/replacement policies, Virtual memory, TLB


Test Dates:

Test 1: September 20th, 4:00pm to 5:15pm

Test 2: October 25th, 4:00pm to 5:15pm

Final: TBA



Grading Policy

(including percentages for assignments, grade scale, etc.)


There will be approximately eight home works and three tests. Approximate weights for the assignments will be, homework: 15%, test 1: 25%, test 2: 25%, final test: 35%.



Course & Instructor Policies

(make-up exams, extra credit, late work, special assignments, class attendance, classroom citizenship, etc.)

Makeup exams will only be offered in case of documented illness or other acceptable reason for absence. Prior notification is required where possible.




Field Trip Policies

Off-campus Instruction and Course Activities


Off-campus, out-of-state, and foreign instruction and activities are subject to state law and University policies and procedures regarding travel and risk-related activities.Information regarding these rules and regulations may be found at the website address information is available from the office of the school dean.Below is a description of any travel and/or risk-related activity associated with this course.





Student Conduct & Discipline


The University of Texas System and The University of Texas at Dallas have rules and regulations for the orderly and efficient conduct of their business.It is the responsibility of each student and each student organization to be knowledgeable about the rules and regulations which govern student conduct and activities.General information on student conduct and discipline is contained in the UTD publication, A to Z Guide, which is provided to all registered students each academic year.


The University of Texas at Dallas administers student discipline within the procedures of recognized and established due process.Procedures are defined and described in the Rules and Regulations, Board of Regents, The University of Texas System, Part 1, Chapter VI, Section 3, and in Title V, Rules on Student Services and Activities of the universityís Handbook of Operating Procedures.Copies of these rules and regulations are available to students in the Office of the Dean of Students, where staff members are available to assist students in interpreting the rules and regulations (SU 1.602, 972/883-6391).


A student at the university neither loses the rights nor escapes the responsibilities of citizenship.He or she is expected to obey federal, state, and local laws as well as the Regentsí Rules, university regulations, and administrative rules.Students are subject to discipline for violating the standards of conduct whether such conduct takes place on or off campus, or whether civil or criminal penalties are also imposed for such conduct.


Academic Integrity


The faculty expects from its students a high level of responsibility and academic honesty.Because the value of an academic degree depends upon the absolute integrity of the work done by the student for that degree, it is imperative that a student demonstrate a high standard of individual honor in his or her scholastic work.


Scholastic dishonesty includes, but is not limited to, statements, acts or omissions related to applications for enrollment or the award of a degree, and/or the submission as oneís own work or material that is not oneís own.As a general rule, scholastic dishonesty involves one of the following acts:cheating, plagiarism, collusion and/or falsifying academic records.Students suspected of academic dishonesty are subject to disciplinary proceedings.


Plagiarism, especially from the web, from portions of papers for other classes, and from any other source is unacceptable and will be dealt with under the universityís policy on plagiarism (see general catalog for details).This course will use the resources of, which searches the web for possible plagiarism and is over 90% effective.


Email Use

The University of Texas at Dallas recognizes the value and efficiency of communication between faculty/staff and students through electronic mail. At the same time, email raises some issues concerning security and the identity of each individual in an email exchange.The university encourages all official student email correspondence be sent only to a studentís U.T. Dallas email address and that faculty and staff consider email from students official only if it originates from a UTD student account. This allows the university to maintain a high degree of confidence in the identity of all individual corresponding and the security of the transmitted information.UTD furnishes each student with a free email account that is to be used in all communication with university personnel. The Department of Information Resources at U.T. Dallas provides a method for students to have their U.T. Dallas mail forwarded to other accounts.

Withdrawal from Class


The administration of this institution has set deadlines for withdrawal of any college-level courses. These dates and times are published in that semester's course catalog. Administration procedures must be followed. It is the student's responsibility to handle withdrawal requirements from any class. In other words, I cannot drop or withdraw any student. You must do the proper paperwork to ensure that you will not receive a final grade of "F" in a course if you choose not to attend the class once you are enrolled.


Student Grievance Procedures


Procedures for student grievances are found in Title V, Rules on Student Services and Activities, of the universityís Handbook of Operating Procedures.


In attempting to resolve any student grievance regarding grades, evaluations, or other fulfillments of academic responsibility, it is the obligation of the student first to make a serious effort to resolve the matter with the instructor, supervisor, administrator, or committee with whom the grievance originates (hereafter called ďthe respondentĒ).Individual faculty members retain primary responsibility for assigning grades and evaluations.If the matter cannot be resolved at that level, the grievance must be submitted in writing to the respondent with a copy of the respondentís School Dean.If the matter is not resolved by the written response provided by the respondent, the student may submit a written appeal to the School Dean.If the grievance is not resolved by the School Deanís decision, the student may make a written appeal to the Dean of Graduate or Undergraduate Education, and the deal will appoint and convene an Academic Appeals Panel.The decision of the Academic Appeals Panel is final.The results of the academic appeals process will be distributed to all involved parties.


Copies of these rules and regulations are available to students in the Office of the Dean of Students, where staff members are available to assist students in interpreting the rules and regulations.


Incomplete Grade Policy


As per university policy, incomplete grades will be granted only for work unavoidably missed at the semesterís end and only if 70% of the course work has been completed.An incomplete grade must be resolved within eight (8) weeks from the first day of the subsequent long semester.If the required work to complete the course and to remove the incomplete grade is not submitted by the specified deadline, the incomplete grade is changed automatically to a grade of F.


Disability Services


The goal of Disability Services is to provide students with disabilities educational opportunities equal to those of their non-disabled peers.Disability Services is located in room 1.610 in the Student Union.Office hours are Monday and Thursday, 8:30 a.m. to 6:30 p.m.; Tuesday and Wednesday, 8:30 a.m. to 7:30 p.m.; and Friday, 8:30 a.m. to 5:30 p.m.


The contact information for the Office of Disability Services is:

The University of Texas at Dallas, SU 22

PO Box 830688

Richardson, Texas 75083-0688

(972) 883-2098 (voice or TTY)


Essentially, the law requires that colleges and universities make those reasonable adjustments necessary to eliminate discrimination on the basis of disability.For example, it may be necessary to remove classroom prohibitions against tape recorders or animals (in the case of dog guides) for students who are blind.Occasionally an assignment requirement may be substituted (for example, a research paper versus an oral presentation for a student who is hearing impaired).Classes enrolled students with mobility impairments may have to be rescheduled in accessible facilities.The college or university may need to provide special services such as registration, note-taking, or mobility assistance.


It is the studentís responsibility to notify his or her professors of the need for such an accommodation.Disability Services provides students with letters to present to faculty members to verify that the student has a disability and needs accommodations.Individuals requiring special accommodation should contact the professor after class or during office hours.


Religious Holy Days

The University of Texas at Dallas will excuse a student from class or other required activities for the travel to and observance of a religious holy day for a religion whose places of worship are exempt from property tax under Section 11.20, Tax Code, Texas Code Annotated.

The student is encouraged to notify the instructor or activity sponsor as soon as possible regarding the absence, preferably in advance of the assignment.The student, so excused, will be allowed to take the exam or complete the assignment within a reasonable time after the absence: a period equal to the length of the absence, up to a maximum of one week. A student who notifies the instructor and completes any missed exam or assignment may not be penalized for the absence. A student who fails to complete the exam or assignment within the prescribed period may receive a failing grade for that exam or assignment.

If a student or an instructor disagrees about the nature of the absence [i.e., for the purpose of observing a religious holy day] or if there is similar disagreement about whether the student has been given a reasonable time to complete any missed assignments or examinations, either the student or the instructor may request a ruling from the chief executive officer of the institution, or his or her designee. The chief executive officer or designee must take into account the legislative intent of TEC 51.911(b), and the student and instructor will abide by the decision of the chief executive officer or designee.

These descriptions and timelines are subject to change at the discretion of the Professor.