Docsity

DRAM Memory - Computer Engineering - Exam, Exams of Computer Science

Toggle sidebar
bg1
ECE 2030 10:00pm Computer Engineering Fall 2002
4 problems, 4 pages Exam Three 22 November 2002
Instructions: This is a closed book, closed note exam. Calculators are not permitted. If you have
a question, raise your hand and I will come to you. Please work the exam in pencil and do not
separate the pages of the exam. For maximum credit, show your work.
Good Luck!
Your Name (please print) ________________________________________________
1 2 3 4 total
30 28 30 12 100
1
pf3
pf4

Partial preview of the text

Download DRAM Memory - Computer Engineering - Exam and more Exams Computer Science in PDF only on Docsity!

4 problems, 4 pages Exam Three 22 November 2002

Instructions: This is a closed book, closed note exam. Calculators are not permitted. If you have a question, raise your hand and I will come to you. Please work the exam in pencil and do not separate the pages of the exam. For maximum credit, show your work. Good Luck!

Your Name ( please print ) ________________________________________________

1 2 3 4 total

4 problems, 4 pages Exam Three 22 November 2002

Problem 1 (4 parts, 30 points) Memory Systems

Part A (5 points) Draw a DRAM memory cell. Label all signals.

Part B (5 points) Draw a SRAM memory cell. Label all signals.

Part C (10 points) Consider a 64 Kbit DRAM chip organized as 16 thousand addresses of 4-bit words. Suppose both the DRAM cell and the DRAM chip are square. Using the organization approach discussed in class, answer the following questions about the chip.

number of address lines for DRAM chip

number of columns number of words per column

column decoder required ( n to m ) number of muxes required

Part D (10 points) Consider a 128 megabyte memory system with 8 million addresses of 16 byte words using a 2 million address by 16 bit word memory DRAM chip.

word address lines for memory system

chips needed in one bank

banks for memory system memory decoder required ( n to m )

DRAM chips required

4 problems, 4 pages Exam Three 22 November 2002

Problem 3 (1 part, 30 points) Microcode Using the supplied datapath, write a microcode fragment that computes the average of the values stored at memory locations 0x5000 and 0x5004. Store the result in memory location 0x5004. Express all values in hexadecimal notation. “0xnnnn” means nnnn is already in hexadecimal; you don’t have to convert. You may not require every row in the table. Use ‘X’ when a value is don’t cared. For maximum credit, complete the description field. Use only registers 1, 2, and 3.

# X Y Z rwe im en

im va au en

-a /s

lu en

lf su en

st ld en

st en

r/ -w

m sel

description

1 2 3 4 5 6 7 8 9

Problem 4 (1 part, 12 points) Instruction Formats An ancient Egyptian hieroglyphic tablet has been found which may be the earliest record of an instruction set architecture (perhaps alien?). The example shown below has all fields shown with zeros. Do your best to interpret its meaning and answer the questions below.

0 000 000 000 000 000 000 000 000 00 000 000 000 000 opcode dest. reg. source 1 reg. immediate value

What is the maximum number of opcodes?

What is the number of registers?

What is the range of the signed immediate value?

How many bits would an R-type instruction use?