1 / 28

Scheduling with Soft Constraints

Scheduling with Soft Constraints. Jason Cong ,Bin Liu , Zhiru Zhang Computer Science Department, University of California, Los Angeles From ICCAD2009. Outline. INTRODUCTION PROBLEM FORMULATION OPERATION GATING HANDLING SOFT CONSTRAINTS A Penalty Method for Soft Constraints

keenan
Télécharger la présentation

Scheduling with Soft Constraints

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Scheduling with Soft Constraints Jason Cong ,Bin Liu ,Zhiru Zhang Computer Science Department, University of California, Los Angeles From ICCAD2009

  2. Outline • INTRODUCTION • PROBLEM FORMULATION • OPERATION GATING • HANDLING SOFT CONSTRAINTS • A Penalty Method for Soft Constraints • Total Unimodularity and Implications • Form of the Penalty Term • SOFT CONSTRAINT GENERATOR FOROPERATION GATING • Identification of Gating Candidates • Soft Constraint Generation • Experimental Result

  3. Introduction • Due to increasing design complexity and time-to-market pressure, interest in behavioral synthesis has recently been revived. • Scheduling, i.e., the process of transforming a behavioral description into a cycle-accurate RTL model, is recognized as a key step in behavioral synthesis.

  4. Structure of a scheduler with soft constraint

  5. Preliminaries • In a typical behavioral synthesis system, a compiler front-end optimizes behavioral descriptions in high-level languages like C and generates a control/data flow graph (CDFG).

  6. Scheduling example

  7. Preliminaries

  8. AN EXAMPLE APPLICATION OF SOFTCONSTRAINTS

  9. Outline • INTRODUCTION • PROBLEM FORMULATION • OPERATION GATING • HANDLING SOFT CONSTRAINTS • A Penalty Method for Soft Constraints • Total Unimodularity and Implications • Form of the Penalty Term • SOFT CONSTRAINT GENERATOR FOROPERATION GATING • Identification of Gating Candidates • Soft Constraint Generation • Experimental Result

  10. Problem formulation • Given: (1) a CDFG G=(V.E); (2) a set of hard constraints which include longest-path latency constraint, cycle time constraint, and possibly others; (3) profiling information; (4) a weight for each operation reflecting the power dissipation for performing the operation. • Goal: schedule every operation so that the operation gating efficacy is maximized and all hard constraints are satisfied.

  11. operation gating • When it is preferred that a condition operation c is scheduled before another operation v so that v can be avoided when c takes a certain value, an integer-difference soft constraint can be added as • Sv– Sc >= b + dc - 1 • where dc is the number of clock cycles operation c spans, and b(typically=1)is an integer constant depending on the power management technique and the target platform.

  12. HANDLING SOFT CONSTRAINTS • A Penalty Method for Soft Constraints

  13. Total Unimodularity and Implications NP-hard Polynomial time computable

  14. Total Unimodularity and Implications

  15. Total Unimodularity and Implications

  16. Form of the Penalty Term

  17. Binary penalty function Firstly, check every soft constraint with binary penalty and eliminate the soft constraint if it obviously conflict with hard constraints. For the remaining soft constraints, we iteratively solve a sequence of subproblems with slightly different convex penalty functions to gradually approximate b(x).

  18. Overall flow Add or delete soft constraints Change the penalty function Normalize the different objective function ( area ,power ,performance) Example of area objective function:

  19. Outline • INTRODUCTION • PROBLEM FORMULATION • OPERATION GATING • HANDLING SOFT CONSTRAINTS • A Penalty Method for Soft Constraints • Total Unimodularity and Implications • Form of the Penalty Term • SOFT CONSTRAINT GENERATOR FOROPERATION GATING • Identification of Gating Candidates • Soft Constraint Generation • Experimental Result

  20. SOFT CONSTRAINT GENERATOR FOROPERATION GATING • Identification of Gating Candidates

  21. R = { u , v } example MFFSR = { a , c , d } a b d c v u sink1 sink2 sink3

  22. Even if the soft constraint that CMP2 is scheduled earlier than MUL2 is not satisfied, MUL2 may still be avoided if it is scheduled after CMP1.

  23. Soft Constraint Generation • Suppose {c1,c2,…,cn} is the set of independent conditions (with pi being the probability that ci is true). • v is unobservable if any condition in the set is true. probability of executing v when the soft constraint is satisfied probability of executing v when the soft constraint is violated

  24. Outline • INTRODUCTION • PROBLEM FORMULATION • OPERATION GATING • HANDLING SOFT CONSTRAINTS • A Penalty Method for Soft Constraints • Total Unimodularity and Implications • Form of the Penalty Term • SOFT CONSTRAINT GENERATOR FOROPERATION GATING • Identification of Gating Candidates • Soft Constraint Generation • Experimental Result

  25. Experiment Flow scheduling Functional units Binding RTL-to-GDSII toolset Gate-level simulation

  26. If it fails to find a solution within 7200 seconds , we will stop it. Experimental Result

More Related