Question

In: Computer Science

A 64 bit computer uses a memory of 32KB. Work out the number of bits of...

A 64 bit computer uses a memory of 32KB. Work out the number of bits of
AR, DR, PC, AC, and the HEX code of the address of last memory location.
b) The memory attached to a processor has access time of 400ns. When a cache memory is
introduced in the system, it is found that on average the access time for the computer was
30% greater than the cache access time for a miss ratio of 0.10. Work out the access time of
the cache.
c) Since Hard disks cost per megabyte is much less compared to other memory devices, can
we simplify memory design for a modern computer by building all memory components
(primary , secondary, BIOS, cache) using hard disks? Discuss briefly.

Solutions

Expert Solution

a)

Size of data word in the computer = 64 bits

So the size of the registers that hold data will be 64 bits.

Number of bits in DR (Data register) = 64 bits

Number of bits in AC (Accumulator) = 64 bits

Size of memory = 32 KB = 2^15

So memory address is 15 bits in length

So the size of all the registers that hold memory address will be 15 bits in length

Number of bits in AR (Address Register) = 15 bits

Number of bits in PC (Program Counter) = 15 bits

The last address will be all 1's in binary

111111111111111

Hex of 111111111111111 = 7FFF

b)

Let the access time of the cache be c

Average Access Time = Hit Rate * ( Access time for processor 's memory) + Miss Rate * ( Access time for cache )

1.3c = (0.9 * 400) + (0.1 * (400+c))

c = 333.33 ns

c)

It is true that cost of hard disks is alot less than other forms of memory like cache and RAM. But the speed of hard drives is a lot more compared to caches and RAM. This makes them infeasible for use as for all forms of memory. So hard drives cannot be used because they will signicantly reduce the performance of the computer.


Related Solutions

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.
6. Assume a computer has a physical memory organized into 64-bit words. Using hexadecimal notation, give...
6. Assume a computer has a physical memory organized into 64-bit words. Using hexadecimal notation, give the word address and offset within the word for each of the following byte addresses. Byte address Word address Offset 0x000b 0x03ff 0x07fc
1. Many operating systems now operate on 64 bits of memory. What is the highest base...
1. Many operating systems now operate on 64 bits of memory. What is the highest base 10 number it could store? 2. How many bits would you need to store the number 8,000,000? 3. How many bits is 5 Gigabytes? 4. In order to get back the original signal without distortion I must sample at _____________ the highest frequency in the signal. a. at least 2 times b. exactly c. exactly 2 times d. at least half
1. A hypothetical computer stores 12 bits of information. The first bit is used for the...
1. A hypothetical computer stores 12 bits of information. The first bit is used for the sign of the number; the second bit is used for the sign of the exponent. Four bits are used for the magnitude of the exponent and six bits are used for the magnitude of the mantissa. a. Represent the number -147.32 in Binary scientific notation b. How would the number be represented in the computer? c. Calculate the true error and absolute relative true...
Design ALU 64 bit, Control Unit 64 bit and 64 bit Data path. Show how three...
Design ALU 64 bit, Control Unit 64 bit and 64 bit Data path. Show how three of them related to each other.
Make a schema for a memory size of 65536 words per 8 bits. Use 8k  by 8-bit...
Make a schema for a memory size of 65536 words per 8 bits. Use 8k  by 8-bit 2764 memory a) with a single decoder 388 and inverters. b) Use a decoder 2 4 and inverters? Help?   How to implement?
Computer Architecture 1. Define what a "word" is in computer architecture: The size (number of bits)...
Computer Architecture 1. Define what a "word" is in computer architecture: The size (number of bits) of the address The total number of bits of an instruction (e.g. 16 bits) Word and width are synonymous. A word is the contents of a memory register. 2. What is the difference between a register’s width and a register’s address? (choose all that apply - there may be more than one correct answer) They are both the same! Address is the same for...
13. A digital computer has a memory unit with 32 bits per word. The instruction set...
13. A digital computer has a memory unit with 32 bits per word. The instruction set consists of 260 different operations. All instructions have an operation code part (opcode) and an address part (allowing for only one address). Each instruction is stored in one word of memory. a) How many bits are needed for the opcode? b) How many bits are left for the address part of the instruction? c) What is the maximum allowable size for memory? d) What...
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 122 different operations. All instructions have an operation code part (opcode) and an address part (allowing for only one address). Each instruction is stored in one word of memory. a) How many bits are needed for the opcode? b) How many bits are left for the address part of the instruction? c) What is the maximum allowable size for memory? d) What is...
Write the equations for carry-out bits for a 4-bit carry lookahead adder. Draw its diagram and...
Write the equations for carry-out bits for a 4-bit carry lookahead adder. Draw its diagram and label all the inputs and the outputs. Compare the delays of the 4-bit ripple-carry and 4-bit carry lookahead adders.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT