What is physical address for each virtual address

Assignment Help Computer Engineering
Reference no: EM131517499

Question 1. A CPU has 6 bits physical address and generates addresses 00,01, 02, 04 ,08 06 , 10, 0E, OF and 16 in hex.

A. Show the contents of the cache using two way set associative mapping, assume LRU replacement policy.

  V TagData B1 B0 LRU

00

 

 

 

 

 

01

 

 

 

 

 

10

 

 

 

 

 

11

 

 

 

 

 

 


V
TagData
B1
B0
LRU

00

 

 

 

 

 

01

 

 

 

 

 

10

 

 

 

 

 

11

 

 

 

 

 

Question 2. Computer has 24 bits physical address and each memory location holds one byte. This computer has 64 cache lines ( 64 blocks), each block holds 16 bytes. Show format of address bus (tag , Index, and byte offset) using
A. Direct mapping.
B. 4 way set associative
C. 8 way set associative

Question 3. A computer has 16Kbytes of virtual memory, 8 Kbytes of main memory and page size of IK bytes. Following figure shows TLB and page table of the computer.

1. How many bits is virtual address
2. How many pages are in virtual memory
3. How many bits require for physical address
4. How many frames (blocks) are in main memory
5. Following virtual addresses are given, find physical addresses and identify if each address generates TLB Hit page, Page table Hit or(page fault or not

Address              TLB Hit Page Table Hit Page fault Physical address

3BAA hex

ICAChex

344F hex

Page Number  Frame Number

1110

011

0111 .

010

TLB

Page table Page frame V

0000

110

1

0001

111

1

0010

101

1

0011

-

0

0100

001

1

0101

100

1

0110

 

0

0111

 

0

1000

- .

0

1001

 

0

1010

000

1

1011

-

0

1100

-

0

1101

 

0

1110

-

0

1111

-

0

Question 4. A processor has 32 bits virtual address, 20 bits physical address, Assume size of each page is 8k bytes.

A. What is size of Virtual memory?
B. How many pages are in virtual memory?
C. How many blocks in Physical memory?
D. What is the size of Page table (number of locations and size of each location)

Question 5. Following figure shows Virtual, Main and Cache memories of a computer. Assume following Mapping

Page 4 maps to frame #3

Page 5 maps to frame #1

CPU generates address 12, 13, 16, and 17 in hex
A. Show the content of Page table, and TLB
B. What is Physical address for each virtual address?
C. Show the content of main memory and cache
E. Determine number of page fault

1955_Figure.jpg

Reference no: EM131517499

Questions Cloud

What is the irr for this project : Your firm is contemplating the purchase of a new $530,000 computer-based order entry system. If the tax rate is 34 percent, what is the IRR for this project?
Explain how ambiguity helps promote policy making : Discussion: "The Difficulties of Writing Policy"- Explain how ambiguity helps promote policy making and how goal ambiguity makes policy design more difficult.
Final stage of the business plan development : You are now in the final stage of the business plan development. All previous documentation must be combined into one (1) document.
Obtain the case through the uml library : ROGER'S DILEMMA: A Situational Examination of Ethical Behavior in the Presence of Internal Control Deficiencies Due Monday of Week 12.
What is physical address for each virtual address : CSC 305 Computer Organization-What is Physical address for each virtual address - find physical addresses and identify if each address generates TLB Hit page
Evaluate the cultural issues that need to be addressed : Analyze the ethical considerations that apply. Describe the organization's current hiring needs and projected hiring needs for the coming year
Principles of motivational theories : How might a team be strengthened by the application of the principles of motivational theories?
National health planning resource and development act : Select among any health care policies such as Hill-Burton, Medicare/caid, National Health Planning Resource and Development Act.
Explain the interconnections among various societal systems : The theory does not explain "why" white collar crime exists, but attempts to explain the interconnections among various societal systems.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd