Question

In: Computer Science

11. Suppose that a 32M × 16 memory built using 512K × 8 RAM chips and...

11. Suppose that a 32M × 16 memory built using 512K × 8 RAM chips and memory is word-addressable.

a) How many RAM chips are necessary?  

b) If we were accessing one full word, how many chips would be involved?

c) How many address bits are needed for each RAM chip?

d) How many banks will this memory have?

e) How many address bits are needed for all of memory?

f) If high-order interleaving is used, where would address 14 (which is E in hex) be located?

g) Repeat Exercise 11f for low-order interleaving.

Solutions

Expert Solution

Given memory size = 32M * 16

= 32 * 1024 *1024 * 16

= 25 * 210 * 210 * 16

= 225 * 16

Chip size = 512K × 8

= 512 * 1024 * 8

= 29 * 2 10 * 8

= 219 * 8

a) How many RAM chips are necessary?  

Number of RAM Chips = Memory Size/ Chip Size

= 225 * 16 / 219 * 8

= 2 7

  128 RAM chips Needed

b) If we were accessing one full word, how many chips would be involved?

  • As given RAM chips holds 8 bits ( 512K × 8)for a word. Main memory holds 16 bits (32M * 16 ).
  • So that design needs 16 bit word which means two byes. And chip hold only 1 byte.
  • So that 2 chips would be involved to access one word

c) How many address bits are needed for each RAM chip?

For 512K × 8 chip, bits required are 512K

=> 512 * 1024 = 29 * 210 = 219

So 219 bits required.

And 19 address bits required for each chip.

d) How many banks will this memory have?

The number of banks = main memory addressable / chip addressable items

So that, no.of Banks = 225 / 2 19

= 26 = 64 Banks

Therefore, number of banks equals 64

e) How many address bits are needed for all of memory?

Number of bits required for memory is 32 M = 25 * 210 * 210

= 225

Therefore, 25 bits are needed to address main memory.

f) If high-order interleaving is used, where would address 14 (which is E in hex) be located?

In high order memory interleaving, the address are distributed such that each bank in the memory contains consecutive addresses. In this case, the first 512 K words goes to bank 0.  So, the address 14 can be found in bank 0(000 in decimal)

g) Repeat Exercise 11f for low-order interleaving.

We already found that memory has 25 address bits (A0-A24)

In Low-order interleaved memory, addresses will be placed in different memory banks.

So that, address 14 is 0xE in hexadecimal and in binary as 25- address format as follows:

00000000 00000000 000001110.

Field Offset Bank
Bits A7-A24 A0-A6
Address 14 00000000 00000000 00 0001110

Therefore, for address 14, the bank is binary 10001110


Related Solutions

Assume a 64Kx8 Memory is designed using 16Kx1 RAM chips. How many address lines must be...
Assume a 64Kx8 Memory is designed using 16Kx1 RAM chips. How many address lines must be decoded externally to each 16K RAM chip?
It composed 16K × 16 memory by using two DRAM chips that have 8K capacity. If...
It composed 16K × 16 memory by using two DRAM chips that have 8K capacity. If the row × column matrix is square for the address, how many address lines and how many data lines should each chip have?
Design a RAM circuit such that using two 64x16b RAM chips constructs a 128x16b effective size...
Design a RAM circuit such that using two 64x16b RAM chips constructs a 128x16b effective size memory circuit. Use the MSB of the address lines as the enable line. (Note: you will need to determine the number of address lines needed.)
summary of the history of RAM memory?
summary of the history of RAM memory?
In a computer system with multiple types of memory (such as RAM and ROM), how does...
In a computer system with multiple types of memory (such as RAM and ROM), how does the computer identify where memory is stored?
Design a 64M x 64-bit memory using 16M x 16-bit memory modules.
Design a 64M x 64-bit memory using 16M x 16-bit memory modules.
If(PSW)=0x10, which memory units are the current Ro-R7 in the internal RAM?
If(PSW)=0x10, which memory units are the current Ro-R7 in the internal RAM?
A manufacturer of computer memory chips produces chips in lots of 1000. If nothing has gone...
A manufacturer of computer memory chips produces chips in lots of 1000. If nothing has gone wrong in the manufacturing process, at most 5 chips each lot would be defective, but if something does go wrong, there could be far more defective chips. If something goes wrong with a given lot, they discard the entire lot. It would be prohibitively expensive to test every chip in every lot, so they want to make the decision of whether or not to...
4. Suppose Chipco produces memory chips for hand-held devices such as tablets and phones. Total costs...
4. Suppose Chipco produces memory chips for hand-held devices such as tablets and phones. Total costs in the short-run can be described with the following formula: TC = 300 + 5Q + 0.1(Q2) where Q is the number of chips produced per week and TC is the total cost of chips. a. With the above cost function in mind, make a table of Q, TC, MC, AVC, and ATC at quantities 0, 10, 20, 30, 40, 50, 60, 70, 80,...
Suppose that a bag contains 3 red chips and 7 white chips. Suppose that chips are...
Suppose that a bag contains 3 red chips and 7 white chips. Suppose that chips are drawn from the bag with replacement, i.e. the chips are returned to the bag and shuffled before the next chip is selected. Identify the correct statement. a. If ten chips are selected then seven will definitely be white. b. If seven consecutive white chips are selected then the next chip will definitely be red. c. If many chips are selected then, in the long...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT