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. 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...
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?
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.
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...
I have computer with 16GB RAM of DDR4, CPU 1.80GHz , 64 bit computing, 2400 MHz...
I have computer with 16GB RAM of DDR4, CPU 1.80GHz , 64 bit computing, 2400 MHz of memory speed, Cache 8MB, Hard drive capacity 128GB I was asked to calculate the following 1. What is the equation for word capacity, C? Calculate C. 2.What is the total number of bits required to store the tags. 3.How does the miss rate on on your cache compare with one other type of cache of the same capacity and block size? Explain how...
Consider a computer system with a 64-bit logical address and 8-KB page size. The system supports...
Consider a computer system with a 64-bit logical address and 8-KB page size. The system supports up to 1024 MB of physical memory: How many entries are there in each of the following in the page table? Describe how a logical address may be used to obtain the frame number. You may use the virtual address 14533956 to illustrate your answer. make it short and clear , please type in your keyboard.
(Computer memory) (Computer-integrated Manufacturing) A retail store uses a CD ROM with 700 MB capacity to...
(Computer memory) (Computer-integrated Manufacturing) A retail store uses a CD ROM with 700 MB capacity to store its products name, specification and manufacturer information. On the average, including the spaces between words, the products names are 15 letters long. The product specification and manufacturer information require 60 and 30 letters each. An additional 200 letters is required for retailer tracking information. How many CDs are necessary for 1,000,000 products?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT