source: anr/section-3.1.tex @ 117

Last change on this file since 117 was 114, checked in by coach, 15 years ago

IA: updated data from bull and navtel

File size: 14.7 KB
RevLine 
[56]1% vim:set spell:
2% vim:spell spelllang=en:
3
[12]4Our project covers several critical domains in system design in order
5to achieve high performance computing. Starting from a high level description we aim
6at generating automatically both hardware and software components of the system.
7
8\subsubsection{High Performance Computing}
[56]9% Un marché bouffé par les archi GPGPU tel que le FERMI de NvidiaCUDA programming language
10High-Performance Computing (HPC) world is composed of three main families of architectures:
11many-core, GPGPU (General Purpose computation on Graphics Unit Processing) and FPGA.
12The two first families are dominating the market by taking benefit
[66]13of the strength and influence of mass-market leaders (Intel, Nvidia).
[56]14%such as Intel for many-core CPU and Nvidia for GPGPU.
15In this market, FPGA architectures are emerging and very promising.
16By adapting architecture to the software, % (the opposite is done in the others families)
17FPGAs architectures enable better performance
18(typically between x10 and x100 accelerations)
19while using smaller size and less energy (and heat).
[12]20However, using FPGAs presents significant challenges~\cite{hpc06a}.
21First, the operating frequency of an FPGA is low compared to a high-end microprocessor.
22Second, based on Amdahl law,  HPC/FPGA application performance is unusually sensitive
23to the implementation quality~\cite{hpc06b}.
[56]24% Thus, the performance strongly relies on the detected parallelism.
25% (pour résumer les 2 derniers points)
26Finally, efficient design methodology are required in order to
27hide FPGA complexity and the underlying implantation subtleties to HPC users,
28so that they don't have to change their habits and can have equivalent design productivity
29than in others families~\cite{hpc07a}.
30
31%état de l'art FPGA
[12]32HPC/FPGA hardware is only now emerging and in early commercial stages,
33but these techniques have not yet caught up.
[56]34Industrial (Mitrionics~\cite{hpc08}, Gidel~\cite{hpc09}, Convey Computer~\cite{hpc10}) and academic (CHREC)
35researches on HPC-FPGA are mainly conducted in the USA.
36None of the approaches developed in these researches are fulfilling entirely the
37challenges described above. For example, Convey Computer proposes application-specific instruction set extension of x86 cores in FPGA accelerator,
38but extension generation is not automated and requires hardware design skills.
39Mitrionics has an elegant solution based on a compute engine specifically
40developed for high-performance execution in FPGAs. Unfortunately, the design flow
41is based on a new programming language (mitrionC) implying designer efforts and poor portability.
42% tool relying on operator libraries (XtremeData), 
43% Parle t-on de l'OPenFPGA consortium, dont le but est : "to accelerate the incorporation of reconfigurable computing technology in high-performance and enterprise applications" ?
44
[12]45Thus, much effort is required to develop design tools that translate high level
46language programs to FPGA configurations.
[56]47Moreover, as already remarked in~\cite{hpc11}, Dynamic Partial Reconfiguration~\cite{hpc12}
48(DPR, which enables changing a part of the FPGA, while the rest is still working)
49appears very interesting for improving HPC performance as well as reducing required area.
[12]50
51\subsubsection{System Synthesis}
52Today, several solutions for system design are proposed and commercialized.
[103]53The existing commercial or free tools does not
54cover the whole system synthesis process in a full automatic way. Moreover,
55they are bound to a particular device family and to IPs library.
56The most commonly used are provided by Altera and Xilinx to promote their
57FPGA devices. These two representative tools used to synthesize SoC on FPGA
58are introduced below.
[12]59\\
60The Xilinx System Generator for DSP~\cite{system-generateur-for-dsp} is a
61plug-in to Simulink that enables designers to develop high-performance DSP
62systems for Xilinx FPGAs.
63Designers can design and simulate a system using MATLAB and Simulink. The
64tool will then automatically generate synthesizable Hardware Description
65Language (HDL) code mapped to Xilinx pre-optimized algorithms.
66However, this tool targets only DSP based algorithms, Xilinx FPGAs and
[103]67cannot handle a complete SoC. Thus, it is not really a system synthesis tool.
[12]68\\
69In the opposite, SOPC Builder~\cite{spoc-builder} allows to describe a
70system, to synthesis it, to programm it into a target FPGA and to upload a
71software application.
72% FIXME(C2H from Altera, marche vite mais ressource monstrueuse)
73Nevertheless, SOPC Builder does not provide any facilities to synthesize
74coprocessors. System Designer must provide the synthesizable description
[103]75with the feasible bus interface. Design Space Exploration is thus limited
76and SystemC simulation is not possible neither at transactional nor at Cycle
77accurate level.
[12]78\\
79In addition, Xilinx System Generator and SOPC Builder are closed world
80since each one imposes their own IPs which are not interchangeable.
81
82\subsubsection{High Level Synthesis}
83High Level Synthesis translates a sequential algorithmic description and a
[66]84set of constraints (area, power, frequency, ...) to a micro-architecture at
[12]85Register Transfer Level (RTL).
86Several academic and commercial tools are today available. Most common
87tools are SPARK~\cite{spark04}, GAUT~\cite{gaut08}, UGH~\cite{ugh08} in the
88academic world and CATAPULTC~\cite{catapult-c}, PICO~\cite{pico} and
89CYNTHETIZER~\cite{cynthetizer} in commercial world.  Despite their
90maturity, their usage is restrained by:
91\begin{itemize}
[103]92\item The HLS tools are not integrated into an architecture and system exploration tool.
93Thus, a designer who needs to accelerate a software part of the system, must adapt it manually
94to the HLS input dialect and performs engineering work to exploit the synthesis result
95at the system level.
96\item HLS tools take into account only one or few constraints simultaneously while realistic
[12]97designs are multi-constrained.
98Moreover, low power consumption constraint is mandatory for embedded systems.
[103]99However, it is not yet well handled or not handle at all by the synthesis tools already available.
100\item The parallelism is extracted from initial algorithmic specification. To get more parallelism or to reduce
101the amount of required memory in the SoC, the user must re-write the algorithmic specification while there is
102techniques as polyedric transformations to increase the intrinsic parallelism.
103\item While they support limited loop transformations like loop unrolling and loop pipelining, current HLS tools
104do not provide support for design space exploration neither through automatic loop transformations nor through
105memory mapping.
[12]106\item Despite they have the same input language (C/C++), they are sensitive to the style in
107which the algorithm is written. Consequently, engineering work is required to swap from
108a tool to another.
[103]109\item They do not respect accurately the frequency constraint when they target an FPGA device.
110Their error is about 10 percent. This is annoying when the generated component is integrated
111in a SoC since it will slow down the hole system.
[12]112\end{itemize}
113Regarding these limitations, it is necessary to create a new tool generation reducing the gap
[103]114between the specification of an heterogeneous system and its hardware implementation.
[114]115\mustbecompleted {FIXME :: Ajouter ref livre + D\&T}
[12]116
117\subsubsection{Application Specific Instruction Processors}
118
119ASIP (Application-Specific Instruction-Set Processor) are programmable
120processors in which both the instruction and the micro architecture have
[103]121been tailored to a given application domain (e.g. video processing), or to a
[12]122specific application.  This specialization usually offers a good compromise
[103]123between performance (w.r.t a pure software implementation on an embedded
[12]124CPU) and flexibility (w.r.t an application specific hardware co-processor).
125In spite of their obvious advantages, using/designing ASIPs remains a
126difficult task, since it involves designing both a micro-architecture and a
127compiler for this architecture. Besides, to our knowledge, there is still
[93]128no available open-source design flow for ASIP design even if such a tool
129 would be valuable in the
[12]130context of a System Level design exploration tool.
131\par
132In this context, ASIP design based on Instruction Set Extensions (ISEs) has
133received a lot of interest~\cite{NIOS2,ST70}, as it makes micro architecture synthesis
134more tractable \footnote{ISEs rely on a template micro-architecture in which
135only a small fraction of the architecture has to be specialized}, and help ASIP
136designers to focus on compilers, for which there are still many open
[93]137problems\cite{ARC08}.
[12]138This approach however has a strong weakness, since it also significantly reduces
139opportunities for achieving good seedups (most speedup remain between 1.5x and
1402.5x), since ISEs performance is generally tied down by I/O constraints as
141they generally rely on the main CPU register file to access data.
142
143% (
144%automaticcaly extraction ISE candidates for application code \cite{CODES04},
145%performing efficient instruction selection and/or storage resource (register)
146%allocation \cite{FPGA08}). 
[93]147To cope with this issue, recent approaches~\cite{DAC09,CODES08,TVLSI06} advocate the use of
[12]148micro-architectural ISE models in which the coupling between the processor micro-architecture
149and the ISE component is thightened up so as to allow the ISE to overcome the register
[93]150I/O limitations, however these approaches generally tackle the problem for a compiler/simulation
[12]151point of view and not address the problem of generating synthesizable representations for
152these models.
153
154We therefore strongly believe that there is a need for an open-framework which
155would allow researchers and system designers to :
156\begin{itemize}
157\item Explore the various level of interactions between the original CPU micro-architecure
158and its extension (for example throught a Domain Specific Language targeted at micro-architecture
159specification and synthesis).
160\item Retarget the compiler instruction-selection (or prototype nex passes) passes so as
161to be able to take advantage of this ISEs.
162\item Provide  a complete System-level Integration for using ASIP as SoC building blocks
163(integration with application specific blocks, MPSoc, etc.)
164\end{itemize}
165
166\subsubsection{Automatic Parallelization}
167% FIXME:LIP FIXME:PF FIXME:CA
168% Paul je ne suis pas sur que ce soit vraiment un etat de l'art
169% Christophe, ce que tu m'avais envoye se trouve dans obsolete/body.tex
[30]170%\mustbecompleted{
171%Hardware is inherently parallel. On the other hand, high level languages,
172%like C or Fortran, are abstractions of the processors of the 1970s, and
173%hence are sequential. One of the aims of an HLS tool is therefore to
174%extract hidden parallelism from the source program, and to infer enough
175%hardware operators for its efficient exploitation.
176%\\
177%Present day HLS tools search for parallelism in linear pieces of code
178%acting only on scalars -- the so-called basic blocs. On the other hand,
179%it is well known that most programs, especially in the fields of signal
180%processing and image processing, spend most of their time executing loops
181%acting on arrays. Efficient use of the large amount of hardware available
182%in the next generation of FPGA chips necessitates parallelism far beyond
183%what can be extracted from basic blocs only.
[31]184
[30]185%The Compsys team of LIP has built an automatic parallelizer, Syntol, which
186%handle restricted C programs -- the well known polyhedral model --,
187%computes dependences and build a symbolic schedule. The schedule is
188%a specification for a parallel program. The parallelism itself can be
189%expressed in several ways: as a system of threads, or as data-parallel
190%operations, or as a pipeline. In the context of the COACH project, one
191%of the task will be to decide which form of parallelism is best suited
192%to hardware, and how to convey the results of Syntol to the actual
193%synthesis tools. One of the advantages of this approach is that the
194%resulting degree of parallelism can be easilly controlled, e.g. by
195%adjusting the number of threads, as a mean of exploring the
196%area / performance tradeoff of the resulting design.
[31]197
[30]198%Another point is that potentially parallel programs necessarily involve
199%arrays: two operations which write to the same location must be executed
200%in sequence. In synthesis, arrays translate to memory. However, in FPGAs,
201%the amount of on-chip memory is limited, and access to an external memory
202%has a high time penalty. Hence the importance of reducing the size of
203%temporary arrays to the minimum necessary to support the requested degree
204%of parallelism. Compsys has developped a stand-alone tool, Bee, based
205%on research by A. Darte, F. Baray and C. Alias, which can be extended
206%into a memory optimizer for COACH.
207%}
[12]208
[30]209The problem of compiling sequential programs for parallel computers
210has been studied since the advent of the first parallel architectures
211in the 1970s. The basic approach consists in applying program transformations
212which exhibit or increase the potential parallelism, while guaranteeing
213the preservation of the program semantics. Most of these transformations
214just reorder the operations of the program; some of them modify its
215data structures. Dpendences (exact or conservative) are checked to guarantee
216the legality of the transformation.
217
218This has lead to the invention of many loop transformations (loop fusion,
219loop splitting, loop skewing, loop interchange, loop unrolling, ...)
220which interact in a complicated way. More recently, it has been noticed
221that all of these are just changes of basis in the iteration domain of
222the program. This has lead to the invention of the polyhedral model, in
223which the combination of two transformation is simply a matrix product.
224
225As a side effect, it has been observed that the polytope model is a useful
226tool for many other optimization, like memory reduction and locality
227improvement. Another point is
228that the polyhedral domain \emph{stricto sensu} applies only to
229very regular programs. Its extension to more general programs is
230an active research subject.
231
[66]232%\subsubsection{High Performance Computing}
233%Accelerating high-performance computing (HPC) applications with field-programmable
234%gate arrays (FPGAs) can potentially improve performance.
235%However, using FPGAs presents significant challenges~\cite{hpc06a}.
236%First, the operating frequency of an FPGA is low compared to a high-end microprocessor.
237%Second, based on Amdahl law,  HPC/FPGA application performance is unusually sensitive
238%to the implementation quality~\cite{hpc06b}.
239%Finally, High-performance computing programmers are a highly sophisticated but scarce
240%resource. Such programmers are expected to readily use new technology but lack the time
241%to learn a completely new skill such as logic design~\cite{hpc07a} .
242%\\
243%HPC/FPGA hardware is only now emerging and in early commercial stages,
244%but these techniques have not yet caught up.
245%Thus, much effort is required to develop design tools that translate high level
246%language programs to FPGA configurations.
[12]247
Note: See TracBrowser for help on using the repository browser.