ECE3055 Fall'99 Homework Assignment #2



Due before 3:00 p.m. Thursday 2/10/00

Instructions.  Copy this document from the Web Page, or save it from
your email program, as a "text" file.  Edit it in a word processor to
add the answers into the square brackets after each question.  Save it
as a "text" file, and email it back to me:
(john.copeland@ece.gatech.edu).

Email the completed document as the body of a message (not as an
attached document) with the Subject exactly as "HW-2" (no quotes). 
Please send questions or comments in a separate message, with a
different Subject (e.g., "Question on HW-2").

I will not accept paper returns. If you can not complete the
assignment on time, tell me why and turn it in as soon as possible for
partial credit. Remember, home work grades count as 10% of the final
grade.

Your return will be graded by a computer program that looks for your
answers between square brackets.  Please do not add or delete square
brackets (or the ***???*** flags).  The format and units of answers
should be those indicated in the problem (e.g., a letter, a group of
letters, or a number).  Each question counts equally. Each answer
within a question counts equally, but the value depends on the number
of answers within the question.

See Tips on Submitting HW for more information.

--------- (You may delete all above this line) ------------------
***START_HW*** (do not delete preceding flag, the ]-XXXX flags, the
problem numbers (pound number period), or square brackets below).

[     ]-NAME   Enter your name (form: last, first middle initial)

[     ]-PRISM  Enter your Prism account code (form: "gtXNNNA" where
"N" is a number, "A" is a letter, and X is either. Do not include
"@prism.gatech.edu").

[     ]-EMAIL  If your Prism account is working, leave blank.  If not,
enter the email address ("account@server") where you would like to
receive your graded homework.

#1.  Enter the word in ()'s which is the best answer.
 
 In a memory hierarchy, the higher levels are (relative to lower) :

[  ]  (Closer, farther) to/from the CPU.

[  ]  (Faster, slower) access time.

[  ]  (More, less) expensive.

[  ]  (Larger, smaller) memory size.

#2. Answer T (true) or F (false).

[  ]  The design goal is to have a memory nearly as fast as the
fastest level and as large as the cheapest level.

[  ]  In a Direct Mapped Cached, the oldest block is replaced when a
new block is needed.

[  ]  A "hit" means we have to read from a lower level.

[  ] The Tag concatenated with the Index is the Word address.

[  ] The Tag concatenated with the Index is the Byte address.

#3.  Enter the word in ()'s which is the best answer.

[  ]  Increasing the block width in a wide memory organization
(increases, decreases) the hit rate.
 
[  ]  Increasing the block width in a wide memory organization
(increases, decreases) the miss penalty (size constant).

[  ]  Increasing the block width in a wide memory organization
(always, sometimes, never) improves memory performance.

#4.  Having an n-way associative memory:

[  ]  Increasing n in a n-way associative memory organization
(increases, decreases) the hit rate.
 
[  ]  Increasing n in a n-way associative memory organization
(increases, decreases) the miss penalty.

[  ]  Increasing n in a n-way associative memory organization (always,
sometimes, never) improves memory performance.

#5.  Match answers to questions.

A. Dirty Bit
B. Valid Bit
C. Index
D. Tag
E. Byte Offset
F. Last Bit or Age Count

[   ]  Part of the Block Address not used as Tag.
[   ]  Part of the Block Address not used as Index.
[   ]  Not used to address or flag data in the cache.
[   ]  Flag that shows the Block has been written from lower level.
[   ]  Flag that shows the Block has been just written by the CPU.
[   ]  In an Associative memory, shows which element in a block is the
oldest. 

 ***END_HW***  (v 1.0, web)