Question

A certain 64-bit interfacing DRAM has 4-way address interleaving with four memory banks M0, M1, M2...

A certain 64-bit interfacing DRAM has 4-way address interleaving with four memory banks M0, M1, M2 and M3 (where M0 is the first bank). Determine the bank to which each of the following addresses is assigned:

(a) 764733h

(b) 215ACDh

Homework Answers

Answer #1

GIVENTHAT:-

In this case, the address-interleaving happens in circular pattern, as follows :

address 0x0 maps to M0
address 0x1 maps to M1
address 0x2 maps to M2
address 0x3 maps to M3
address 0x4 maps to M0
address 0x5 maps to M1
address 0x6 maps to M2
address 0x7 maps to M3
address 0x8 maps to M0
...
...
... and so on ..
In general, for n memory banks, the lowest log2n bits of the address determine the bank to which the address maps to.

Here,

n = 4
So, lowest log24 = 2 bits of the address determine the bank.
Following is the mapping :

Lowest 2 bits = 00 => M0
Lowest 2 bits = 01 => M1
Lowest 2 bits = 10 => M2
Lowest 2 bits = 11 => M3
Thus, for addresses :

(a)

764733h

Writing the lowest nibble (3) in bits, we get

0011

Thus, this address maps to

M3

(b)

215ACDh

Writing the lowest nibble (D) in bits, we get

1101

Thus, this address maps to

M1

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
1a) A memory unit has 28-bit address lines and 64-bit input/output data lines. How many bytes...
1a) A memory unit has 28-bit address lines and 64-bit input/output data lines. How many bytes of data can this memory hold? How many words does it contain, and how large is each word? b) A memory unit consists of 32M words of 16-bit each. How many bits wide address lines and input-output data lines are needed to access this memory? c) A memory unit consists of 512K bytes of data. How many bits wide address lines are needed to...
Consider a memory system with a 16 bit address and the following address decode logic. The...
Consider a memory system with a 16 bit address and the following address decode logic. The signals enrom, enram, and endev are the device enable signals for ROM, RAM, and I/O devices, respectively. ◦ csrom <= '1' when ax(15 downto 12 = "1101" or ax(15 downto 13 = "111" else '0'; ◦ csram <= '1' when ax(15 downto 13) = "001" or ax(15 downto 12) = "0100" else '0'; ◦ csdev <= '1' when ax(15 downto 8) = "00001" else...
1. The memory units that follow are specified by the number of words times the number...
1. The memory units that follow are specified by the number of words times the number of bits per word. How many address lines and input/output data lines are needed in each case? (a) 8K X 16 (b) 2G X 8 (c) 16M X 32 (d) 256K X 64 2. Give the number of bytes stored in each memory unit in question 1. 3. Word number 563 decimal in the memory shown in Fig. 7.3 (see Mano-Ch7.pdf) contains the binary...
Microprocessor 8086 material. Choose the correct answer. 1- For a (64K x 8) RAM, the number...
Microprocessor 8086 material. Choose the correct answer. 1- For a (64K x 8) RAM, the number of address lines is: * 17 19 16 15 20 14 18 2-Which of the following instructions requires (BYTE PTR)? * SHR [500H], 3h LDS SI, [1000H] LAHF PUSH [9AAH] ADD AX, [800H] 3-Where are the interrupt vectors located in the microprocessor’s memory? * in the first 64K byte in the first 1K byte in the first 256K byte in the first 1M byte...
A company produces two products. Four types of raw material are required to produce them. Product...
A company produces two products. Four types of raw material are required to produce them. Product A consists of 30% of material 1, 40% of material 2, 20% of material 3, and 10% of material 4. Product B consists of 50% of material 1, 20% of material 2, 10% of material 3, and 20% of material 4. Unit profits are $50 for product A and $40 for product B. Currently, the company has 800 units of material 1, 600 units...
A plant has 4 operators to be assigned to four machines. the time (minutes) required by...
A plant has 4 operators to be assigned to four machines. the time (minutes) required by each worker to produce a product on each machine is shown in the following table" Determine the optimal assignemnt and compute total minimum time. Machine Operator A B C D Supply Assigned 1 0 0 1 0 1 2 1 0 0 0 1 3 0 1 0 0 1 4 0 0 0 1 1 Demand 1 1 1 1 4 Assigned Total...
There are four dice with varying numbers on each face: Die A. has 1 2 4...
There are four dice with varying numbers on each face: Die A. has 1 2 4 5 6 7 Die B. has 4 4 4 4 4 4 Die C. has 2 6 2 6 2 2 Die D. has 3 5 3 5 3 5 You and three friends play a game where you each roll one of the dice and the highest number wins. You get first pick from the dice. Question: Which die should you choose in...
1.) Small banks A. act more competitively than large banks. B. usually charge more on loans...
1.) Small banks A. act more competitively than large banks. B. usually charge more on loans relative to what is paid to depositors compared to large banks. C. are generally more efficient than large banks. D. are growing in number. 2.) Which of the following best describes the current banking system in the United States? A. The market is dominated by 10 large banks and there are very few small banks operating any more. B. There are more than 10,000...
Each of 13 refrigerators of a certain type has been returned to a distributor because of...
Each of 13 refrigerators of a certain type has been returned to a distributor because of an audible, high-pitched, oscillating noise when the refrigerators are running. Suppose that 10 of these refrigerators have a defective compressor and the other 3 have less serious problems. If the refrigerators are examined in random order, let X be the number among the first 8 examined that have a defective compressor. (a) Calculate P(X = 6) and P(X ≤ 6). (Round your answers to...
Each of 13 refrigerators of a certain type has been returned to a distributor because of...
Each of 13 refrigerators of a certain type has been returned to a distributor because of an audible, high-pitched, oscillating noise when the refrigerators are running. Suppose that 8 of these refrigerators have a defective compressor and the other 5 have less serious problems. If the refrigerators are examined in random order, let X be the number among the first 6 examined that have a defective compressor. (a) Calculate P(X = 4) and P(X ≤ 4). (Round your answers to...