[12] | 1 | % les objectifs scientifiques/techniques du projet. |
---|
[33] | 2 | The objectives of the COACH project are to develop a complete framework to HPC |
---|
[20] | 3 | (accelerating solutions for existing software applications) and embedded |
---|
| 4 | applications (implementing an application on a low power standalone |
---|
[24] | 5 | device). The design steps are presented figure~\ref{coach-flow}. |
---|
[12] | 6 | \begin{figure}[hbtp]\leavevmode\center |
---|
| 7 | \includegraphics[width=.8\linewidth]{flow} |
---|
[182] | 8 | \caption{\label{coach-flow} COACH design flow} |
---|
[12] | 9 | \end{figure} |
---|
| 10 | \begin{description} |
---|
[104] | 11 | \item[HPC setup:] During this step, the user splits the application into 2 parts: the host application |
---|
| 12 | which remains on a PC and the SoC application which is mapped on the FPGA. |
---|
[182] | 13 | The COACH framework will provide a SystemC simulation model of the whole system (PC+communication+FPGA-SoC) which will allow performance evaluation of the partitioning. |
---|
[104] | 14 | \item[SoC design:] In this phase, |
---|
[182] | 15 | the user will be able to obtain simulators for the SoC at different abstraction levels by giving to the COACH framework a SoC description. |
---|
| 16 | This description will consist of a process network corresponding to the SoC application, |
---|
[12] | 17 | an OS, an instance of a generic hardware platform |
---|
| 18 | and a mapping of processes on the platform components. The supported mapping are |
---|
| 19 | software (the process runs on a SoC processor), |
---|
[99] | 20 | ASIP (the process runs on a SoC processor enhanced with dedicated instructions), |
---|
| 21 | and hardware (the process runs into a coprocessor that is generated by HLS and plugged on the SoC bus). |
---|
[182] | 22 | \item[Application compilation:] Once the SoC description is validated, COACH will generate automatically |
---|
[33] | 23 | an FPGA bitstream containing the hardware platform with the SoC application software and |
---|
[182] | 24 | an executable containing the host application. The user will be able to launch the application by |
---|
[33] | 25 | loading the bitstream on an FPGA and running the executable on PC. |
---|
[12] | 26 | \end{description} |
---|
| 27 | |
---|
| 28 | % l'avancee scientifique attendue. Preciser l'originalite et le caractere |
---|
| 29 | % ambitieux du projet. |
---|
[104] | 30 | %FIXME == {NON ceci n'est pas une contribution scientifique. A re-ecrire} |
---|
[12] | 31 | |
---|
[182] | 32 | %The main scientific contribution of the project is to unify various synthesis techniques |
---|
| 33 | %(same input and output formats) allowing the user to swap without engineering effort |
---|
| 34 | %from one to another and even to chain them. For instance, it will be possible to run loop transformations before synthesis. |
---|
| 35 | %Another advantage of this framework is to provide different abstraction levels from |
---|
| 36 | %a single description. |
---|
| 37 | %Finally, this description is device family independent and its hardware implementation |
---|
| 38 | %is automatically generated. |
---|
| 39 | |
---|
[12] | 40 | % Detailler les verrous scientifiques et techniques a lever par la realisation du projet. |
---|
[182] | 41 | System design is a very complicated task and in this project we will try to simplify it |
---|
[12] | 42 | as much as possible. For this purpose we have to deal with the following scientific |
---|
| 43 | and technological barriers. |
---|
| 44 | \begin{itemize} |
---|
| 45 | \item HLS tools are sensitive to the style in which the algorithm is written. |
---|
| 46 | In addition, they are are not integrated into an architecture and system |
---|
[182] | 47 | exploration tool. Consequently, engineering work is required to swap from a tool to another, |
---|
[12] | 48 | to integrate the resulting simulation model to an architectural exploration tool |
---|
| 49 | and to synthesize the generated RTL description. |
---|
| 50 | %CA Additionnal preprocessing, source-level transformations, are thus |
---|
| 51 | %CA required to improve the process. |
---|
| 52 | %CA Particularly, this includes parallelism exposure and efficient memory mapping. |
---|
| 53 | \item Most HLS tools translate a sequential algorithm into a coprocessor |
---|
| 54 | containing a single data-path and finite state machine (FSM). In this way, |
---|
| 55 | only the fine grained parallelism is exploited (ILP parallelism). |
---|
| 56 | The challenge is to identify the coarse grained parallelism and to generate, |
---|
| 57 | from a sequential algorithm, coprocessor containing multiple communicating |
---|
[33] | 58 | tasks (data-paths and FSMs). To this aim, one may adapt techniques which |
---|
| 59 | were developed in the 1990 for the construction of distributed programs. |
---|
| 60 | However, in the context of HLS, there are still several original problems |
---|
| 61 | to be solved, mainly to do with the construction of FIFO communication |
---|
| 62 | channels and with memory optimization. |
---|
[104] | 63 | \item The COACH design flow has a top-down approach. In such a case, |
---|
| 64 | the required performance of a coprocessor (clock frequency, maximum cycles for |
---|
| 65 | a given computation, power consumption, etc) are imposed by the other system |
---|
| 66 | components. The challenge is to allow user to control accurately the synthesis |
---|
| 67 | process. For instance, the clock frequency must not be a result of the RTL synthesis |
---|
| 68 | but a strict synthesis constraint. |
---|
| 69 | \item The main problem in HPC is the communication between the PC and the SoC. |
---|
| 70 | This problem has 2 aspects. The first one is the run-time efficiency. The second is |
---|
| 71 | its engineering cost, especially if one want to refine an implementation |
---|
| 72 | at several abstract levels. |
---|
[33] | 73 | |
---|
[12] | 74 | \end{itemize} |
---|
| 75 | |
---|
| 76 | %Presenter les resultats escomptes en proposant si possible des criteres de reussite |
---|
| 77 | %et d'evaluation adaptes au type de projet, permettant d'evaluer les resultats en |
---|
| 78 | %fin de projet. |
---|
| 79 | The main result is the framework. It is composed concretely of: |
---|
[99] | 80 | a communication middleware for HPC, |
---|
| 81 | 5 HAS tools (control dominated HLS, data dominated HLS, Coarse grained HLS, |
---|
[12] | 82 | Memory optimisation HLS and ASIP), |
---|
[99] | 83 | 3 architectural templates that are synthesizable and that can be prototyped, |
---|
[12] | 84 | one design space exploration tool, |
---|
[134] | 85 | 2 operating systems (DNA/OS and MUTEKH. |
---|
[12] | 86 | \\ |
---|
[99] | 87 | The framework fonctionality will be demonstrated with the demonstrators |
---|
| 88 | (see task-7 page~\pageref{task-7}) and the tutorial example (see task-8 |
---|
| 89 | page~\ref{subtask-tutorial}. |
---|