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

  How should the operating system allocate its disk space

Suppose a computer system and all of its applications are completely bug free. Suppose further that everyone in the world is completely honest and trustworthy.

  Determine the monthly premium for an auto insurace policy

write c++ that will determine the monthly premium for an auto insurace policy and or a life insurance policy. yor program should first ask the user if they would like life insurance.

  Build a 16-bit register with write enable input

Use 1-bit D-Flip flop to build a 16-bit register with write enable input - Use 16-bit registers to build a register le of 8 registers, enabling reading and writing operations.

  Analyze the differences in the types of authorization

Analyze the differences in the types of authorization. Explain how the authorization process applies to the new database system. Determine the skill sets of the team members.

  Questionassume this loop is taken many times what is

questionassume this loop is taken many times what is steady-state cpi of this loop on the scalar pipeline discussed in

  Security issues while users processing the database

Describe the security issues which may be encountered when the multiple users process the database concurrently.

  Draw logic diagram of a four-bit binary ripple down-counter

Draw the logic diagram of a 4-bit binary ripple down-counter using the following: (a) Flip-flops that trigger on the positive-edge transition of the clock. (b) Flip-flops that trigger on the negative-edge transition of the clock.

  Using the assigned reading and the argosy university online

the traditional retail model has focused on finding high-margin high-volume products or services because limited space

  Describing the car structure

Write down a definition statement which describes a Car structure variable initialized along with the following information: Make: Ford Model: Mustang.

  Give an illustration in which polymorphism would be helpful

write a 200- to 300-word short-answer response to the followingprovide an example in which polymorphism would be

  Create a storyboard diagram depicting layout of your website

Create a storyboard diagram depicting the layout of your Website. Create a narrative that describes the site to your prospective client.

  Circumventing the license check

Assume the "license" is just a digitally signed file listing a hostname and expiration date; the verification key is built into the executable. How would you go about circumventing this kind of license check?

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