Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Q 2 . Hardware / Software Partitioning Algorithm 1 shows the pseudo code of a greedy algorithm for HW / SW partitioning. The algorithm starts

Q2. Hardware / Software Partitioning
Algorithm 1 shows the pseudo code of a greedy algorithm for HW/SW partitioning. The algorithm starts with a partition where all objects are realized in hardware. Then, objects are migrated to software as long as the performance requirement is satisfied (function Satisfies Performance) and the cost of the new partitioning is lower (function f). If an object is migrated, the algorithm also tries to migrate all successor nodes (function Successors).
Algorithm 1 Pseudo code for a greedy HW/SW partitioner
1: P ={{}, O} ; //all in HW
2: procedure Partitioning (P)
3: repeat
4: Pold=P
5: for all oi HW do
6: Attempt Move (P, oi)
7: end for
8: until P == Pold
9: end procedure
10: procedure AttemptMove (P,ox)
11: if Satisfies Performance (Move(P,ox) AND (f(Move(P,ox))

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Processing

Authors: David M. Kroenke

12th Edition International Edition

1292023422, 978-1292023427

More Books

Students also viewed these Databases questions