\documentclass[11pt,a4paper]{article}

\usepackage[french,english]{babel}
\usepackage[utf8x]{inputenc}
\usepackage{times}
\usepackage[T1]{fontenc}
\usepackage{aeguill}
\usepackage{verbatim}
\usepackage{algorithm,algorithmic}
\usepackage{xmpmulti}
\usepackage{graphicx}
\usepackage{color}
\usepackage{xspace}
\usepackage{geometry}
\usepackage{textcomp}
\usepackage{multirow}
\usepackage{lscape}
\geometry{verbose,a4paper,tmargin=3cm,bmargin=2cm,lmargin=2cm,rmargin=2cm}
\usepackage{hyperref}
\hypersetup{
    %backref=true,
    %pagebackref=true,
    %hyperindex=true,
    colorlinks=true, %colorise les liens
    breaklinks=true, %permet le retour à la ligne dans les lien
    urlcolor= blue,  %couleur des hyperliens
    linkcolor= blue  %couleur des liens internes
}
\usepackage{fancybox}
\usepackage{marginnote}
    \reversemarginpar
    \renewcommand*{\raggedrightmarginnote}{\centering}
    \renewcommand*{\marginfont}{\color{blue}\sffamily}
    \def\note#1{\marginnote{#1}\label{note:#1}}
    \def\seenote#1{#1 (page~\pageref{note:#1})\xspace}
%\usepackage{array}
\usepackage{anr}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{fancyhdr}
\usepackage{lastpage}
\pagestyle{fancy}
\lhead{\begin{minipage}{1.5cm}\includegraphics[width=\linewidth]{logo-anr}\vspace*{1mm}\end{minipage}}
\chead{\begin{minipage}{8cm}\small\center Programme Ing\'enierie num\'erique
\& s\'ecurit\'e\\Edition 2011\vspace*{1mm}\end{minipage}}
\rhead{\begin{minipage}{5cm}\small\raggedleft Project COACH\\Document
scientifique\vspace*{1mm}\end{minipage}}
\lfoot{\begin{minipage}{7cm}\small ANR-GUI-AAP-04 – Doc Scientifique 2011\end{minipage}}
\cfoot{\begin{minipage}{5cm}\end{minipage}}
\rfoot{\begin{minipage}{2cm}\small\center\thepage/\pageref{LastPage}\end{minipage}}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\def\xcoach{\texttt{xcoach}\xspace}
\def\xcoachplus{\texttt{xcoach+}\xspace}
\def\backbone{backbone infrastructure\xspace}
\def\Backbone{Backbone infrastructure\xspace}
\def\hommemoislong{men$\ast$months\xspace}
\def\hommemois{m.m\xspace}
\def\xilinxcpu{ARM\xspace}
\def\xilinxbus{AMBA\xspace}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\def\anrdoc#1{}
\let\pagefeed\relax
\def\euro{\mbox{\raisebox{.25ex}{{\it =}}\hspace{-.5em}{\sf C}}}
\definecolor{gris}{gray}{0.55}
\definecolor{rouge}{rgb}{1.0,0.2,0.2}
\def\mustbecompleted#1{}
\def\parlf{\mbox{}\vspace*{1.0ex}\\}
\def\ADDED#1{\textcolor{blue}{#1}}
\newenvironment{ADDEDENV}{\color{blue}}{}
\def\SUPPRESSED#1{\textcolor{gris}{#1}}
\newenvironment{SUPPRESSEDENV}{\color{gris}}{}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\def\Sformat#1{\begin{small}\textsc{#1}\end{small}}
\def\inria{INRIA\xspace}          \def\Sinria{\Sformat{INRIA}\xspace}
%\def\irisa{INRIA/\-CAIRN\xspace}    \def\Sirisa{\Sformat{INRI}\xspace}
\def\liplong{ENS Lyon/LIP/Compsys\xspace}
\def\lip{ENS Lyon\xspace}         \def\Slip{\Sformat{LIP}\xspace}
\def\tima{TIMA\xspace}            \def\Stima{\Sformat{TIMA}\xspace}
\def\ubs{LAB-STICC\xspace}        \def\Subs{\Sformat{UBS}\xspace}
\def\upmc{LIP6\xspace}            \def\Supmc{\Sformat{LIP6}\xspace}
\def\bull{BULL\xspace}            \def\Sbull{\Sformat{BULL}\xspace}
\def\thales{THALES\xspace}        \def\Sthales{\Sformat{TRT}\xspace} \let\TRT\thales
\def\mdslong{MAGILLEM DESIGN SERVICES\xspace}
\def\mds{MAGILLEM\xspace}         \def\Smds{\Sformat{MDS}\xspace}

\def\altera{ALTERA\xspace}        \def\Saltera{\Sformat{ALTE}\xspace}
\def\xilinx{XILINX\xspace}        \def\Sxilinx{\Sformat{XILX}\xspace}

\def\alllabs{\inria \citi \lip \tima \ubs \upmc}
\def\allcompagnies{\bull \thales \mds\xspace}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\def\ST{sub-task\xspace}
\def\STs{sub-tasks\xspace}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% DEBUT CONFIG
% Comment next marcro to suppress the printing of anr directives
% \def\anrdoc#1{\noindent\begin{scriptsize}\textcolor{red}{#1}\end{scriptsize}\ifhmode\par\fi}
% Comment the next macro to suppress the pagefeed
%\let\pagefeed\newpage
% Comment the next macro to suppress it
\def\mustbecompleted#1{\textcolor{red}{#1}}
% FIN CONFIG
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\sloppy

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\begin{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 1
\anrdoc{
Ce document, hors annexes, ne doit pas dépasser 40 pages, corps de texte en
police de taille 11. Ce point constitue un critère de recevabilité de la
proposition de projet. Les propositions de projets ne satisfaisant pas aux
critères de recevabilité ne seront pas évaluées.
}

\def\boitecochee{\fcolorbox{black}{black}{\makebox(0.20,0.20){}}}
\noindent
\begin{tabular}{|p{5cm}|p{10cm}|}\hline
Acronym of the proposal & COACH \\\hline
Title of the proposal in French &
        \textbf{C}onception d'\textbf{A}rchitecture sur FPGA par
        \textbf{C}ompilation et synt\textbf{H}\`{e}se\\\hline
\begin{minipage}{\linewidth}Title of the proposal in\\ English\end{minipage}
       & Architecture Design on FPGA by Compilation and Synthesis \\\hline
\begin{minipage}{\linewidth}Theme\\\end{minipage}
       & \setlength{\unitlength}{5.0mm}\begin{picture}(20,2)
        \put( 0.5,0.9){\framebox(0.6,0.6){ }}         \put( 1.5,0.9){1}
        \put( 3.5,1.1){\boitecochee}                  \put( 4.5,0.9){2}
        \put( 6.5,0.9){\framebox(0.6,0.6){}}          \put( 7.5,0.9){3}
        \put( 9.5,0.9){\framebox(0.6,0.6){ }}         \put(10.5,0.9){4}
        \put(12.5,0.9){\framebox(0.6,0.6){$\bullet$}} \put(13.5,0.9){5}
        \put( 0.5,0){\mbox{{\scriptsize $\bullet$: secondary theme}}}
        \end{picture}\\\hline
\begin{minipage}{\linewidth}\mbox{}\\Type of research\\\end{minipage}
       & \begin{minipage}{\linewidth}
             \setlength{\unitlength}{5.0mm}\begin{picture}(20,3.2)
        \put(0.5,0.2){\framebox(0.6,0.6){ }} \put(1.5,0.2){Basic Research}
        \put(0.5,1.4){\boitecochee}          \put(1.5,1.2){Industrial Research}
        \put(0.5,2.2){\framebox(0.6,0.6){ }} \put(1.5,2.2){Experimental Development}
        \end{picture}\end{minipage}\\\hline
%Type of scientific project & \setlength{\unitlength}{5.0mm}\begin{picture}(20,1)
%        \put(0.5,0){\framebox(0.6,0.6){ }} \put(1.5,0){Platform}
%        \end{picture}\\\hline
\end{tabular}\vspace{.5ex}\\
\begin{tabular}{|c|c|c|c|}\hline
  \begin{minipage}{4cm}\center
    \vspace*{0.5ex}Total requested \\ funding
  \end{minipage}
    & \makebox[3cm]{ \mustbecompleted{???} \euro}
      & \begin{minipage}{4.15cm}\center Project Duration \end{minipage}
        & \begin{minipage}{3cm}\center 36 months \end{minipage} \\\hline
\end{tabular}
%
\setcounter{tocdepth}{2}
\tableofcontents

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 1
\section{Executive summary}
\anrdoc{Recopier le résumé utilisé dans le document administratif et financier
(dit document de soumission)\\
De memoire, la taille etait donnee en mot nots, et on avait ete oblige
de raccourcir enormement.}
\input{section-1}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 2
\pagefeed\section{Context and relevance to the call }
\anrdoc{A titre indicatif: de 5 à 10 pages pour ce chapitre\\
Présentation générale du problème qu¿il est proposé de traiter dans le
projet et du cadre de travail (recherche fondamentale, industrielle ou
développement expérimental).}
\input{section-2}

% 2.1
\pagefeed\subsection{Context, social and economic issues}\input{section-issues}

% 2.2
\pagefeed\subsection{Position of the project}\input{section-position.tex}

% 2.3
\pagefeed\subsection{State of the Art}\input{section-etat-de-art}

% 2.4
\pagefeed\subsection{Objectives, originality and novelty of the project}
\input{section-objectif.tex}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% 3
\section{Scientific and technical objectives / project description}
\anrdoc{A titre indicatif: de 8 à 12 pages pour ce chapitre, en fonction
du nombre de taches.}

% 3.1
\pagefeed\subsection{Scientific programme, project structure}
\input{section-project-description.tex}

% 3.2
\pagefeed\subsection{Project management}
\input{section-project-management.tex}

% 3.3
\pagefeed\subsection{Description by task}
\label{task-description}
\anrdoc{Pour chaque tâche, décrire:\begin{itemize}
\item les objectifs  de la tâche et éventuels indicateurs de succès,
\item le responsable de la tâche et les partenaires impliqués (possibilité
de l'indiquer sous forme graphique),
\item le programme détaillé des travaux par tâche,
\item les livrables de la tâche,
\item les contributions des partenaires (le «qui fait quoi»),
\item la description des méthodes et des choix techniques et de la manière
dont les solutions seront apportées,
\item les risques de la tâche et les solutions de repli envisagées.
\end{itemize}}
In this document, we use the following abbreviations in the tables and Gantt diagrams:
\begin{description}
  \item[partner]
    \Sinria for \inria, \Slip for \liplong, \Stima for \tima, \Subs for \ubs, 
    \Supmc for \upmc, \Sbull for \bull, \Sthales for \thales, 
    and \Smds for \mds.
  \item[kind of the deliverable]
    \texttt{x} for a software, \texttt{d} for a document and \texttt{h} for a hardware
    component.
  \item[task contribution]
    "{\color{red}lead.}" for leader and
    "{\color{blue}part.}" for participant.
  \item[other abbreviations] "resp." for responsible patrner, "kd" for kind of
    deliverable.
\end{description}

\subsubsection{Task 1: \textit{Project management}}              \input{task-management.tex}
\subsubsection{Task 2: \textit{\Backbone}}                       \input{task-backbone.tex}
\subsubsection{Task 3: \textit{System generation}}               \input{task-csg.tex}
\subsubsection{Task 4: \textit{HAS front-end}}                   \input{task-frontend}
\subsubsection{Task 5: \textit{HAS back-end}}                    \input{task-backend.tex}
\subsubsection{Task 6: \textit{PC/FPGA communication middleware}}\input{task-hpc}
\subsubsection{Task 7: \textit{Industrial demonstrators}}        \input{task-demonstrator.tex}
\subsubsection{Task 8: \textit{Dissemination}}                   \input{task-dissemination.tex}

% 3.4
\subsection{Tasks schedule, deliverables and milestones}
\input{section-project-task-schedule.tex}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{Dissemination and exploitation of results. Intellectual property}
\input{section-dissemination.tex}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{Consortium Description}
\anrdoc{A titre indicatif: de 2 à 5 pages pour ce chapitre, en fonction du
nombre de partenaires}

\subsection{Partners description \& relevance, complementarity}
\input{section-consortium-desc.tex}

\subsection{Relevant experience of the project coordinator}
\input{section-consortium-leader.tex}

\subsection{Qualification and contribution of each partner}
\input{section-consortium-people.tex}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\section{Scientific justification for the mobilisation of the  resources}
\input{section-ressources.tex}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%\appendix
\newpage
\section{Annexes}
% % % % % % % % % % % % % % % % % % % % % % % % 
\subsection{Bibliography}
%\subsection{References}
\anrdoc{Inclure la liste des références bibliographiques utilisées dans la
partie \og état de l'art\fg et les références bibliographiques des
partenaires ayant trait au projet.}
\bibliographystyle{plain}
\bibliography{anr}

% % % % % % % % % % % % % % % % % % % % % % % % 
\newpage\subsection{CV, resume}\input{annexe-cv.tex}
\begin{landscape}
\newpage\subsection{Staff involvement in other contracts}\input{annexe-autre-participation.tex}
\end{landscape}
\newpage\subsection{Man power by partners and by deliverables}
\label{effort:by:partner:livrable}
  \subsubsection{Partner 1: \mds}      \label{table-livrables-mds}            \input{table_mds_full.tex}
  \subsubsection{Partner 2: \upmc}     \label{table-livrables-upmc}           \input{table_upmc_full.tex}
  \subsubsection{Partner 3: \ubs}      \label{table-livrables-ubs}            \input{table_ubs_full.tex}
  \subsubsection{Partner 4: \liplong}  \label{table-livrables-inria_compsys}  \input{table_inria_compsys_full.tex}
  \subsubsection{Partner 5: \tima}     \label{table-livrables-tima}           \input{table_tima_full.tex}
  \subsubsection{Partner 6: \inria}    \label{table-livrables-inria_cairn}    \input{table_inria_cairn_full.tex}
  \subsubsection{Partner 7: \bull}     \label{table-livrables-bull}           \input{table_bull_full.tex}
  \subsubsection{Partner 8: \thales}   \label{table-livrables-thales}         \input{table_thales_full.tex}
\newpage\subsection{Effort tables}
\label{effort:by:livrable}
%\begin{small}
\noindent\input{tmp/effort-par-livrable-1.tex}
\newpage\noindent\input{tmp/effort-par-livrable-2.tex}
\newpage\noindent\input{tmp/effort-par-livrable-3.tex}
\newpage\noindent\input{tmp/effort-par-livrable-4.tex}
%\end{small}

\newpage\subsection{Letters of interest}
\label{lettre-soutien}
\input{tmp/anr-supporter.tex}

\newpage\subsection{Prise en compte de l'évaluation 2010}
\input{annexe-reponse.tex}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\end{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
