Determine the total wirelength for all nets

Assignment Help C/C++ Programming
Reference no: EM131849184

Assignment

For this assignment, you will develop a partition algorithm and implement it in C++ using the OpenAccess (OA) API.

Problem 1: Determine the total wirelength for all nets.

This lab builds on your work from Lab 1, where you computed the half-perimeter wirelength (1-IPWL) of logic nets in a design. Write a small C++ routine to determine the HPWL for all nets in the design, including power, ground, clock, floating, etc. Justify your assumptions as necessary, like you did in Lab 1. For nets with more than two endpoints, use the half perimeter of the smallest bounding box that includes all endpoints. Output the total HPWL of the design.

In the report, describe your algorithm for computing total HPWL in words and include the total HPWL for the design.

Problem 2: Partition the placement.

Write a C++ routine to partition the instances of the design into two parts, where the partition should be as balanced as possible, and the cut cost should be minimized. The cost of the partition is defined as follows:

1. Balance cost B (# of gates in partitionl) of gates in partition2)I I (total # of gates).
2. Cut cost C= (total HPWL of cut nets) I (total HPWL of the design).

Your goal is to minimize the total cost (B C) and runtime. In other words, you should efficiently partition the design into two parts with similar gate counts, and the nets being cut should have small total HPWL. A cut net is defined as the net connected to at least one instance from each of the two partitions.

Note that the partition of your design should be physically reasonable, which is different from logically grouping the design. Fig. 1 shows some examples of valid cuts where the black box is the design placement and colored wires are the cuts. Fig. 2 shows examples of invalid cuts. You are not allowed to modify the design in any way.

1135_Valid Cuts.jpg

In the report, describe your approach, give the balance cost B, cut cost C, and the total cost (B+C). Your program should generate a text file named Lastname-FirstnameUIDUsernarneLab3 . result, which gives instance names of the two partitions, names of the nets being cut and their HPWL separated by comma. The content must follow the exact format given below.

Partitionl:
g8054
g8046
...
Partition2:
g8032
g8031
...
Cut Net:
n_190,3420
n_260,2280
...

Attachment:- Lab.rar

Reference no: EM131849184

Questions Cloud

Estimate the proportion of young adults : How large a sample should be used to estimate the true proportion to within 0.03 with a level of confidence (reliability) 99% if
What is the new value of the index : The value of the index today is 907. At this time, the third stock undergoes a 3 for 1 stock split. What is the new value of the index?
Interval for the true proportion of all junior : Find a 95% confidence interval for the true proportion of all junior high school girls who are planning a career in a technical field.
Estimate the true proportion of preferring chocolate : Estimate the true proportion of those preferring chocolate ice cream using a 90% confidence interval.
Determine the total wirelength for all nets : Determine the total wirelength for all nets. Describe your algorithm for computing total HPWL in words and include the total HPWL for the design.
Write a page summary as you reflect on dr reeves research : Refer to the Educational Leadership with Dr. Douglas Reeves link (video) in this week's Readings and Resources.
Write professional letter to your partner to manipulate data : Imagine you are working on a research paper with a partner. The two of you have been studying the effect of two types of therapy on combat-related PTSD symptoms
Considering new three-year expansion project : Down Under Boomerang, Inc., is considering a new three-year expansion project that requires an initial fixed asset investment of $2.58 million.
Calculating project cash flow from assets : Down Under Boomerang, Inc., is considering a new three-year expansion project that requires an initial fixed asset investment of $2.85 million.

Reviews

Write a Review

C/C++ Programming Questions & Answers

  Program to compute surface area of sphere using function

Write down a program in C++ to compute surface area of sphere using a function. As sample run, write down the surface areas of spheres with radii.

  Practice with c functions

This homework will give you practice with C++ functions as well as string manipulation.

  Write code in a client program

prompt use to enter a name and read it from the standard input device.

  Write a program to test the class myarray

Write a program to test the class myArray. C++ Design and implement the class myArray that solves the array index out of bounds problem and also allows the user to begin the array index starting at any integer.

  Given two bit strings of length n,find the bitwise and,xor

Use a computational program (C++) you have written to do the following exercises.Given two bit strings of length n (n equal or bigger 16), find the bitwise AND, bitwise XOR of these strings.

  Create an array of boat objects

Create Classes for each of the object types that need to be stored, as indicated above.

  Businesspartner class that contains a first name

Create a BusinessPartner class that contains a first name, company name, and a telephone number. Create a Contacts class that contains a dynamically allocated array of BusinessPartners as well as the owner's name and cell phone number.

  C programme to find the minimum and maximum value

write a c programme to find the minimum and maximum value each elements in each row ,to create table b,having 5 rows and 2 coloums,the first coloum of table b is the maximumvalue and thye second coloum is the maximum value in each row.

  Implement the bisection method for solving given equations

Implement the Bisection Method for solving equations. Use the following function: double root(double (*pf)(double x), double a, double b, int n).

  Which of the given functions has a constant growth rate

Which of the following functions has a constant growth rate? What is the output in the statement cout

  Time conversion

Write a C++ program that takes an Eastern standard time in hours, minutes, and seconds,and prints it out in Central time, Mountain time, or Pacific time.

  What does software provide and how does it make device

Hardware and Software are in many items we use in our daily lives. Name a few items in your house or office that have some sort of hardware and software. Look beyond your computer and other devices used with your computer.

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