Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

Operation Specified - Computer Engineering - Solved Exam, Exams of Computer Science

Main points of this past exam are: Operation Specified, Memory Systems, Memory Chip, Dynamic Memory, Needed in One Bank, Decoder Required, Dram Chips, Instruction Formats, Datapath Elements, Microcode

Typology: Exams

2012/2013

Uploaded on 04/08/2013

sawant_111
sawant_111 🇮🇳

5

(1)

67 documents

1 / 3

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
ECE 2030 2:00pm Computer Engineering Spring 2001
4 problems, 3 pages Exam Three 18 April 2001
1
Problem 1 (3 parts, 30 points) Memory Systems
Imagine using a 16 Kbit DRAM (the dynamic memory chip of choice when I graduated from
Tech) organized as 4 thousand addresses of 4-bit words to build three memory systems. The
following three parts consider memory systems built using this chip.
Part A (10 points) Consider 64 thousand addresses of 8-bit words memory system.
number of chips needed in one bank 8bit/bank / 4bits/chip = 2 chips/bank
number of banks for memory system 64K/system / 4K/bank = 16 banks/system
memory decoder required (n to m) 4 to 16
number of DRAM chips required 2 chips/bank * 16 banks/sys = 32 chips
Part B (10 points) Consider 1 million addresses of 16-bit words memory system.
number of chips needed in one bank 16bit/bank / 4bits/chip = 4 chips/bank
number of banks for memory system 1M/system / 4K/bank = 256 banks/system
memory decoder required (n to m) 8 to 256
number of DRAM chips required 4 chips/bank * 256 banks/sys = 1024 chips
Part C (10 points) Consider 256 million addresses of 32-bit words memory system.
number of chips needed in one bank 32bit/bank / 4bits/chip = 8 chips/bank
number of banks for memory system 256M/system / 4K/bank = 64K banks
memory decoder required (n to m) 16 to 64K
number of DRAM chips required 8 chips/bank * 64K banks/sys = 512K chips
Problem 2 (1 part, 15 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.
000 000 000 000 000 000 000 000 000 000 000 000
opcode dest. reg. source 1 reg. immediate value
What is the maximum number of opcodes? 29 = 512
What is the number of registers? 26 = 64
What is the range of the signed immediate value? 215 = ±16K
How many bits would an R-type instruction use? 9 + 6 + 6 + 6 = 27
pf3

Partial preview of the text

Download Operation Specified - Computer Engineering - Solved Exam and more Exams Computer Science in PDF only on Docsity!

4 problems, 3 pages Exam Three 18 April 2001

Problem 1 (3 parts, 30 points) Memory Systems

Imagine using a 16 Kbit DRAM (the dynamic memory chip of choice when I graduated from Tech) organized as 4 thousand addresses of 4-bit words to build three memory systems. The following three parts consider memory systems built using this chip.

Part A (10 points) Consider 64 thousand addresses of 8-bit words memory system.

number of chips needed in one bank 8bit/bank / 4bits/chip = 2 chips/bank number of banks for memory system 64K/system / 4K/bank = 16 banks/system memory decoder required ( n to m ) 4 to 16

number of DRAM chips required 2 chips/bank * 16 banks/sys = 32 chips

Part B (10 points) Consider 1 million addresses of 16-bit words memory system.

number of chips needed in one bank 16bit/bank / 4bits/chip = 4 chips/bank number of banks for memory system 1M/system / 4K/bank = 256 banks/system memory decoder required ( n to m ) 8 to 256

number of DRAM chips required 4 chips/bank * 256 banks/sys = 1024 chips

Part C (10 points) Consider 256 million addresses of 32-bit words memory system.

number of chips needed in one bank 32bit/bank / 4bits/chip = 8 chips/bank number of banks for memory system 256M/system / 4K/bank = 64K banks memory decoder required ( n to m ) 16 to 64K

number of DRAM chips required 8 chips/bank * 64K banks/sys = 512K chips

Problem 2 (1 part, 15 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.

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

What is the maximum number of opcodes? 29 = 512

What is the number of registers? 26 = 64

What is the range of the signed immediate value? (^215) = ±16K

How many bits would an R-type instruction use? 9 + 6 + 6 + 6 = 27

4 problems, 3 pages Exam Three 18 April 2001

Problem 3 (2 parts, 25 points) Datapath Elements

Part A (12 points) For the eight bit word below, determine the result of a performing the shift operation specified. Each shift type should assume the same input value. Assume the shifter word width is eight bits. (Remember that positive shifts are to the right).

Input Value: 1 0 0 1 1 0 1

Shift type Count Result

logical +3 0 0 0 1 0 0 1 1

logical -1 0 0 1 1 0 1 1 0

arithmetic +2 1 1 1 0 0 1 1 0

arithmetic -4 1 0 1 1 0 0 0 0

rotate +2 1 1 1 0 0 1 1 0

rotate -6 1 1 1 0 0 1 1 0

Part B (13 points) Assuming X controls S0 and Y controls S1, determine the logical function produced by the logical unit multiplexer, given the input values (LF 3 -LF 0 ) listed below.

Y X out 0 0 LF 0 0 1 LF 1 1 0 LF 2 1 1 LF 3

LF 3 LF 2 LF 1 LF 0 Logical Function

X ⊕ Y

Y

0 0 0 1 X^ + Y

0 1 0 0 X^ ⋅ Y