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