Modify the state diagram of the arbiter

Assignment Help Basic Computer Science
Reference no: EM131209987

The arbiter of Example 7.2 controls access to a common resource. It does not allow preemption. This means that if a high-priority request is received after a lower-priority request has been granted, it must wait until service to the device that is currently using the common resource is completed. In some cases, it is desirable to allow preemption, to provide service to a high-priority device more quickly. Devices in such a system, must be able to stop and relinquish the use of the common resource when asked to do so by the arbiter. This must be done in a safe manner. A device that is using the resource must be allowed to reach a safe point at which service can be terminated. It would then signal to the arbiter that it has stopped using the resource.

(a) Suggest a suitable modification to the signaling protocol that enables the service in progress to be terminated safely.

(b) Modify the state diagram of the arbiter to implement the revised protocol.

Example 7.2

An arbiter receives three request signals, R1, R2, R3, and generates three grant signals, G1, G2, G3. Request R1 has the highest priority and request R3 the lowest priority. An example of the operation of such an arbiter is given in Figure 7.9. Give a state diagram that describes the behavior of this arbiter.

775_36f4331f-c394-4903-995c-b865cf5966ee.png

Reference no: EM131209987

Questions Cloud

What will be the sequence of grants for following sequence : What will be the sequence of grants for the following sequence of requests: R3, R1, R4, R2? Assume that the last three requests arrive while the first one is being serviced.
Srs document and design document : What are the contents that should have in SRS document and Design document?
What were ideas that shaped the declaration of independence : What were the main ideas that shaped the Declaration of Independence? Based on the Eidsmoe reading, how important were biblical principles?
What are zerocoupon bonds : What is the difference between debenture bonds, subordinated debenture bonds, and bonds backed by specific collateral?
Modify the state diagram of the arbiter : Suggest a suitable modification to the signaling protocol that enables the service in progress to be terminated safely.
Logical database design and physical database design : Differentiate between logical database design and physical database design. Show how this separation leads to data independence.
What are inflation indexed bonds : What are inflation- indexed bonds? How do they reduce the risk of holding long- term bonds? - Does the interest rate on inflation- indexed bonds change after they have been issued?
Output the product of all positive entries : Write a program that repeatedly collects positive integers from the user, stopping when the user enters a negative number or zero. After that, output the product of all positive entries. A sample run should appear on the screen like the text below..
Identify gaps in region concerning the needs of populations : Based on calamity, Post-Katrina Emergency Management Reform Act of 2006 mandated that Federal Emergency Management Agency Regional Administrators identify gaps in region concerning the needs of special populations.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  At what point do you outgrow access

How might "massive multipliers" on demand for your system, such as in (3), affect your thoughts about which parts of the physical design to enforce the constraints you identify in (4)?

  Study peoples behavior

Is it possible to study peoples' behavior without influencing it? Give two examples on how you would accomplish this and explain why you think people would not be influenced.

  What is the current size of q

Suppose an initially-empty queue Q has performed a total of 32 enqueue operations, 10 front operations, and 15 dequeue operations, 5 of which generated QueueEmptyExceptions, which were caught and ignored. What is the current size of Q?

  What elements of the national business environment might

What elements of the national business environment might affect your move?

  Concept of cryptograms

How to create a java code with the concept of cryptograms? If the text is long then how to use the frequency of occurrence of each character?

  Prevent random gun violence by unstable people

(a) Should more controls be placed on gun ownership to prevent random gun violence by unstable people? (b) Should fewer controls be placed on gun ownership to help people defend themselves from violent crime?

  Ascii representation for the numeral

What is the ASCII representation for the numeral -3.1415 in binary? In octal? In hexadecimal? In decimal?

  Compute an anova table for these data

Compute an ANOVA table for these data.

  Exchange for the right to the future

J.G. Wentworth tells you that they will give you $30,000 today in exchange for the right to the future $10,000 payments.What annual interest rate are you being charged by J.G. Wentworth if you decide to get the $30,000 from them?}

  Create a loop or event to keep something moving

The Alice local object gallery has a cannon that you could use. You might create a loop or event to keep something moving, and try to hit it with an object fired from the cannon.

  Which of these conditions returns true

Which of these conditions returns true? Check the Java documentation for the inheritance patterns.

  Develop an excel retail or business workbook

You will develop an Excel retail/business workbook and show how to use excel in real life. When learning a business tool like Excel, its power and capabilities are best understood when Excel is used to solve a "REAL LIFE" problem

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