Question

Suppose that a 1M x 64 main memory is built using 256K × 16 RAM chips...

Suppose that a 1M x 64 main memory is built using 256K × 16 RAM chips and memory is word-addressable.

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 6f for low-order interleaving.

Please explain with steps

0 0
Add a comment Improve this question Transcribed image text
Answer #1

e.

We first calculate the number of 256K * 16 modules required

= (Total memory) / (Size of 1 module)

= (1M * 64) / (256K * 16)

= (226) / (218 * 24)

= 24 = 16

Thus, 16 modules are required, labelled from module-0 to module-15.

Now, each module has 256K addresses

= 28 * 210 addresses

= 218 addresses

Thus, 18 bits are required for addressing a particular chip.

Also, to select one of the 16 chips, we require further log216 = 4 address lines.

Thus, total address bits required

= 18 + 4

= 22 address bits

f.

In high-order interleaving, the highest 4 bits of the physical address will determine the module-number, and (22 - 4 =) 18 low bits will determine the offset within the selected module-number.

Now, address 14 = 0xE

Writing the address in 22-bit binary, we have

0xE = 00 0000 0000 0000 0000 1110

The highest 4 (bolded) bits are 0000, equivalent to module-number 0.

The next 18 bits determine the offset = 0xE = decimal 14

Thus, in high order interleaving, 0xE will lie in module-number 0, with an offset of 0xE (decimal 14).

g.

In low order interleaving, the address mapping will be as follows :

  • 0 = module 0, offset 0
  • 1 = module 1, offset 0
  • 2 = module 2, offset 0
  • ..
  • ..
  • 14 = module 14, offset 0
  • 15 = module 15, offset 0
  • 16 = module 0, offset 1
  • 17 = module 1, offset 1
  • ..
  • ..
  • 31 = module 15, offset 1
  • 32 = module 0, offset 2

and so on ..

The general formulae are given by :

  • Module number :
    • (Address) mod 16
  • Offset :
    • Address/16

Thus, for address 0xE = decimal 14,

  • Module number :
    • 14 mod 16 = 14
  • Offset :
    • | 14/16 = 0

Thus, in low order interleaving, 0xE will lie in module-number 14, with an offset of 0x0 (decimal 0).

Add a comment
Know the answer?
Add Answer to:
Suppose that a 1M x 64 main memory is built using 256K × 16 RAM chips...
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. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Memory organization a) Suppose that a 32MB system memory is built from 32 1MB RAM chips. How many...

    Memory organization a) Suppose that a 32MB system memory is built from 32 1MB RAM chips. How many address lines are needed to select one of the memory chips? Suppose a system has a byte-addressable memory size of 4GB. How many bits are required for each address? Suppose that a system uses 16-bit memory words and its memory built from 32 1Mx 8 RAM chips. How large, in words, is the memory on this system? Suppose that a system uses...

  • 2. Suppose that a 16M X 16 main memory is built using 512K X 8 RAM...

    2. Suppose that a 16M X 16 main memory is built using 512K X 8 RAM chips and memory is word addressable. a) How many RAM chips are necessary? ______ b) How many RAM chips are needed for each memory word? _______ c) How many address bits are needed for each RAM chip? _______ d) How many address bits are needed for all memory? _______ A digital computer has a memory unit with 24 bits per word. The instruction set...

  • 11. Suppose that a 1 GB system memory is built from 16 x 64MB RAM chips....

    11. Suppose that a 1 GB system memory is built from 16 x 64MB RAM chips. (3 Pts) How many total address lines are needed? a. b. (2 Pts) How many address lines are needed to select each memory chip? 12. Do the following in the memory shown below 63 Module 0 Module 1 Module 2 Module 3 a. (4 Pts) Write your first name at the address 0010111 in a 4-way high-order interleaved memory system given below. b. (4...

  • Really having trouble understanding this problem... Can someone help me with an answer and an exp...

    Really having trouble understanding this problem... Can someone help me with an answer and an explanation behind it please? Computer Systems Question: 1) Assume we have a 16Gx128 word addressable memory built using 2Gx16 RAM chips. Memory is addressed using low-order interleave. NOTE: 8Gx128 means 8G of words, each word is 128 bvins a. How many RAM chips are needed to make up memory? c. d. How many bits are needed for an address? Of those bits from part c,...

  • Problem 6. Suppose we have a computer with 32 megabytes of main memory, 256 bytes of...

    Problem 6. Suppose we have a computer with 32 megabytes of main memory, 256 bytes of cache, and a block size of 16 bytes. For each configuration below, determine the memory address format, indicating the number of bits needed for each appropriate field (i.e. tag, block, set, offset). Show any relevant calculations. Direct cache mapping and memory is byte-addressable a) Direct cache mapping and memory is word-addressable with a word size of 16 bits b) c) 2-way set associative cache...

  • Consider a RAM system of size 64 Kbytes. For each of the following cases show how...

    Consider a RAM system of size 64 Kbytes. For each of the following cases show how this RAM can be built. Draw a MEMORY MAP showing which chips are used for which range of addresses. Draw a NEAT drawing (employ the use of drawing aids such as rulers, templates, etc.) showing how the chips are connected to the address decoder and the CPU address, data, and control lines: (a) Use memory chips each having 8K x 8 bits. (b) Use...

  • Assume the cache can hold 64 kB. Data are transferred between main memory and the cache...

    Assume the cache can hold 64 kB. Data are transferred between main memory and the cache in blocks of 4 bytes each. This means that the cache is organized as 16K=2^14 lines of 4 bytes each. The main memory consists of 16 MB, with each byte directly addressable by a 24-bit address (2^24 =16M). Thus, for mapping purposes, we can consider main memory to consist of 4M blocks of 4 bytes each. Please show illustrations too for all work. Part...

  • Design a 2K×8 memory subsystem with high-order interleaving using 1K×4 EPROM memory chips for a computer...

    Design a 2K×8 memory subsystem with high-order interleaving using 1K×4 EPROM memory chips for a computer system with a 16-bit address bus.

  • 6. [7 marks] Answer the following questions regarding main memory. a) What are the differences between...

    6. [7 marks] Answer the following questions regarding main memory. a) What are the differences between DRAM and SRAM in terms of characteristics such as speed, size, and cost? [3] b) Given a memory address of 34Ah (10 bits) with 4 memory banks. Determine the memory bank address and the address of the word in the bank using Low Order Interleaving (LOI). [4]

  • a) A memory unit has 28-bit address lines and 64-bit input/output data lines. How many bytes...

    a) 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...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT