Question

The memory for a certain computer consists of 4 Mbytes of RAM. This is to be...

The memory for a certain computer consists of 4 Mbytes of RAM. This is to be made up from 256 K by 4 bits RAM chips.

(a) What is the number of RAM chips are needed in total?


(b) What is the number of address bits that must be fed to an address decoder for this system?

Homework Answers

Answer #1

a. we know

2^8  = 256
2^10 = 1024 = 1 KB
2^20 = 1 MB
2^30 = 1 GB
2^32 = 4,294,967,296 = 4 GB = 2^22

256 x 4 bits is the capacity of a chip which means there are 256 rows in the ram with 4 bits in each row (1 nibble).

256 x 1024 x 8 bits = 256KB

1M = 1024k hence size of new ram

So size of 4M = (4*1024k *8)

So number of chips required   = (4*1024*8)/(256*4) = 32

b. Memory needs to address each word.A word is 4 bytes . Also 1 chip 4 bits and for byte (8 bits) now we just have to know the size of decoder and since there's 4 RAMs we should connect each one with a wire , and we can differntiate between those RAMS 2^5 = 32 , then all we need is 5 bits to differintaie , so the decoder should be 5*32.

Now you need log2(n) bits to address n bytes.hence you need 20 bits to address every byte in a megabyte

1MB = 2^22 hence we need 22 bits address for a 4MB memory.

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
A digital computer has a memory unit with 32 bits per word. The instruction set consists...
A digital computer has a memory unit with 32 bits per word. The instruction set consists of 147 different operations. All instructions have an operation code part (opcode) and two address fields: one for a memory address and one for a register address. This particular system includes eight general-purpose, user-addressable registers. Registers may be loaded directly from memory, and memory may be updated directly from the registers. Direct memory-to-memory data movement operations are not supported. Each instruction stored in one...
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...
Suppose a 1024-byte cache has an access time of 0.1 microseconds and the main memory stores...
Suppose a 1024-byte cache has an access time of 0.1 microseconds and the main memory stores 1 Mbytes with an access time of 1 microsecond. A referenced memory block that is not in the cache must be loaded into the cache and the reference started again. Answer the following questions: i. What is the number of bits needed to address the main memory? ii. If the cache hit ratio is 95%, what is the average access time for a memory...
Consider a virtual memory system that can address a total of 232 bytes. You have unlimited...
Consider a virtual memory system that can address a total of 232 bytes. You have unlimited hard drive space, but are limited to only 8 MB of physical memory. Assume that virtual and physical pages are each 4 KB in size. a. How many bits is the physical address? What is the maximum number of virtual pages in the system? How many physical pages are in the system? How many bits are the virtual and physical page numbers? Suppose that...
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...
1.) Perform the following multiplication using Booth’s algorithm: (You will receive full credit only if you...
1.) Perform the following multiplication using Booth’s algorithm: (You will receive full credit only if you show all your work)      13 x -13 (a) 27/4 Using paper pencil approach and (b) simulate how a machine does this job 2.)Perform the following division as directed: (a) 27/4 using non-restoring division algorithm // we need 4 quotient bits. (b) Using Newton-Raphson algorithm find 1/d when d=0.84 // show the results of the first 3 iterations 3.) A real-time computer system has...
.A floating-point number representation on a certain system has a sign bit, a 4-bit exponent and...
.A floating-point number representation on a certain system has a sign bit, a 4-bit exponent and a 5-bit significand. Please provide steps taken to get the answer a) What is the largest positive and the smallest positive number that can be stored on this system if the storage is normalized? (Assume no bits are implied, there is no biasing, exponents use two's complement notation, and exponents of all zeros and all ones are allowed.) b) What bias should be used...
INFO FROM PREVIOUS QUESTION ALREADY ANSWERED PLEASE ANSWER 5: 4. Suppose Chipco produces memory chips for...
INFO FROM PREVIOUS QUESTION ALREADY ANSWERED PLEASE ANSWER 5: 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. 5. Refer to question 4, referring to Chipco. Now suppose Chipco has a patent that allows it to hold a...
2. A deck of 16 cards, from the bottom up, consists of 4 ♣, 4 ♠,...
2. A deck of 16 cards, from the bottom up, consists of 4 ♣, 4 ♠, 4 ♦, and 4 ♥. The cards are cut at a random place. Let Tk be the event that the all the cards of every suit are together after cut k. (a) Assuming that all possible cuts are equally likely, find P(T2). (b) Find P(Tk+1) in terms of P(Tk). (c) If the deck is repeatedly cut many, many times, what is the approximate probability...
Answer ASAP Probability and Stats An ordinary deck of 52 cards consists of 4 suits (hearts,...
Answer ASAP Probability and Stats An ordinary deck of 52 cards consists of 4 suits (hearts, diamonds, spades and clubs), each having 13 ranks (2, 3, ...,10, J, Q, K, A). 5 cards are randomly selected from the deck (without replacement). What is the probability that the outcome consists of (a) 5 hearts, or (b) 3 diamonds and 2 spades, or (c) cards from more than one suit. In this question, there is no need to evaluate your expression to...