Presentation is loading. Please wait.

Presentation is loading. Please wait.

HIGH LEVEL SYNTHESIS WITH AREA CONSTRAINTS FOR FPGA DESIGNES: AN EVOLUTIONARY APPROACH Tesi di Laurea di: Christian Pilato Matr.n. 674373 Relatore: Prof.

Similar presentations


Presentation on theme: "HIGH LEVEL SYNTHESIS WITH AREA CONSTRAINTS FOR FPGA DESIGNES: AN EVOLUTIONARY APPROACH Tesi di Laurea di: Christian Pilato Matr.n. 674373 Relatore: Prof."— Presentation transcript:

1 HIGH LEVEL SYNTHESIS WITH AREA CONSTRAINTS FOR FPGA DESIGNES: AN EVOLUTIONARY APPROACH Tesi di Laurea di: Christian Pilato Matr.n. 674373 Relatore: Prof. Fabrizio FERRANDI Correlatore: Ing. Antonino TUMEO

2 C. Pilato and F. Malcotti – Politecnico di Milano 04/10/2006 2 Index Introduction to HLS and RA Traditional Approach to Register Allocation Proposed Solution to Register Allocation Transitive Reduction of SDG Improved Dataflow Analysis Conflict Graph Creation Choose of the Best Algorithm Conclusion

3 Introduction to HLS C. Pilato and F. Malcotti – Politecnico di Milano 04/10/2006 3 Scheduling Allocation Register Allocation Module Allocation Binding

4 Register Allocation C. Pilato and F. Malcotti – Politecnico di Milano 04/10/2006 4 Problem definition: find a solution to register allocation function V s : values that have to be stored M s : set of storage modules (registers and register files) Goal: minimize the number of storage modules

5 Traditional Approach C. Pilato and F. Malcotti – Politecnico di Milano 04/10/2006 5 Compatibility graph w(v): cycle step in which the storage value v is written P(v): last cycle step in which the storage value v is read operator ║: returns true if two intervals overlap and return false otherwise Clique covering

6 Proposed Approach C. Pilato and F. Malcotti – Politecnico di Milano 04/10/2006 6 Transitive Reduction of SDG Dataflow Analysis Conflict Graph Creation Choose of the Best Algorithm

7 Transitive Reduction of SDG C. Pilato and F. Malcotti – Politecnico di Milano 04/10/2006 7 Original relation graph Reduced graph Transitive reduction of a graph is referred to be the minimal representation of graph flows The proposed solution provides an improved implementation of a depth-first search-based algorithm for finding the transitive reduction of a directed graph

8 Dataflow Analysis C. Pilato and F. Malcotti – Politecnico di Milano 04/10/2006 8 Dataflow equations used to calculate liveness information: Two steps: 1.Find by iteration a solution to these equations (backward analysis) 2.Clean unuseful information (forward analysis)

9 Conflict Graph Creation C. Pilato and F. Malcotti – Politecnico di Milano 04/10/2006 9 For every edge into the control flow graph If source vertex and target one are scheduled into different control step, a register is needed for each variable living out from the source vertex to keep value alive until target one will use it Then a conflict edge must be set between each pair of variable in this situation, because they cannot use the same storage module There is no conflict in case of: Alias: Mutual exclusion

10 Choose of the Best Algorithm C. Pilato and F. Malcotti – Politecnico di Milano 04/10/2006 10

11 Conclusions C. Pilato and F. Malcotti – Politecnico di Milano 04/10/2006 11 Good results in terms of storage modules number can be obtained using the traditional approach Improved analysis can lead to a better conflict graph, and then to a further reduced number of storage units implied The new approach can substitute and improve the traditional register allocation solution in PandA framework

12 Thank you! E-mail: chrpilat@tin.it francy_malco@virgilio.it C. Pilato and F. Malcotti – Politecnico di Milano 04/10/2006 12


Download ppt "HIGH LEVEL SYNTHESIS WITH AREA CONSTRAINTS FOR FPGA DESIGNES: AN EVOLUTIONARY APPROACH Tesi di Laurea di: Christian Pilato Matr.n. 674373 Relatore: Prof."

Similar presentations


Ads by Google