Middleware Based Executive for Embedded Reconfigurable Platforms Amel Khiar, Nicolas Knecht, Laurent Gantel, Soufyane Lkad, Benoit Miramond
To cite this version:
Amel Khiar, Nicolas Knecht, Laurent Gantel, Soufyane Lkad, Benoit Miramond. Middleware Based Executive for Embedded Reconfigurable Platforms. DASIP, Oct 2012, Germany. pp.6. hal-00781983
HAL Id: hal-00781983 https://hal.archives-ouvertes.fr/hal-00781983 Submitted on 29 Jan 2013
HAL is a multi-disciplinary open access L’archive ouverte pluridisciplinaire HAL, est archive for the deposit and dissemination of sci- destinée au dépôt et à la diffusion de documents entific research documents, whether they are pub- scientifiques de niveau recherche, publiés ou non, lished or not. The documents may come from émanant des établissements d’enseignement et de teaching and research institutions in France or recherche français ou étrangers, des laboratoires abroad, or from public or private research centers. publics ou privés. Middleware Based Executive for Embedded Reconfigurable Platforms
A. Khiar∗ and N.Knecht∗ and L.Gantel∗† and S.Lkad∗ and B. Miramond∗
∗ ETIS Laboratory – UMR CNRS 8051 † Embedded System Lab University of Cergy-Pontoise / ENSEA Thales Research and Technology 6, avenue du Ponceau 1, avenue Augustin Fresnel 95014 Cergy-Pontoise, FRANCE 91767 Palaiseau, FRANCE Email {firstname.name}@ensea.fr Email {firstname.name}@thalesgroup.com
Abstract—This paper presents a method to virtualize the In the literature, there are different middleware definitions. communications into a distributed heterogeneous embedded The most popular is the following: “The middleware is the Multiprocessor Systems-on-Chip (MPSoC) platform containing software which allows an application to interact or commu- reconfigurable hardware computing units. We propose a new concept of middleware, implemented in software and in hard- nicate with other applications, networks, hardware, and/or ware to provide the designer a single programming interface. operating systems. This piece of software assists program- The middleware offers some mechanisms like the accesses to mers by relieving them of complex connections needed in a distant operating system (OS) services and the interprocess distributed system. It provides tools for improving quality of communication. It abstracts both implementation and mapping. service (QoS), security, message passing, directory services, The embedded application then executes regardless of where or how processes are implemented. We are currently validating the etc. that can being visible to the user” [2]. Middleware concept on a real-time image processing application. provides a higher-level abstraction layer for programmers than Application Programming Interfaces (APIs) such as sockets Index Terms—FPGA, Partial and dynamic reconfiguration, that are provided by the operating system. It reduces signif- virtualization, RTOS, Middleware. icantly the burden on application programmers by relieving them of this kind of tedious and error-prone programming. I.INTRODUCTION Middleware is designed to mask some of the of heterogeneity A MPSoC is an integrated circuit customized for an applica- that programmers of distributed systems must deal with [1], tion domain. It contains most hardware components of general- such as networks heterogeneity and hardware processing units. purpose computing system such as processors, memories, The rest of the paper is organized as follow: section II buses, inputs-outputs (I/Os) and specialized hardware devices. describes the architecture of the FOSFOR platform. The MPSoCs are composed of heterogeneous processing elements related works are introduced in section III. In section IV we which are more and more complex to integrate and program. present the middleware dedicated to this platform. Finally, In fact, they have different specifications and implementation the last section introduces the results on an image processing languages, simulation/execution environments, interaction se- application. We conclude our work in section V. mantics and communication protocols. II.THE FOSFOR ARCHITECTURE This work takes place in the case of the french ANR FOSFOR (Flexible Operating System FOr Reconfigurable The goal of the FOSFOR project is to define an architecture platforms) [1] project, the objective of FOSFOR project is supporting a new kind of OS more flexible and more scalable. to lay the groundwork for a Real Time Operating System Unlike classical approaches, this OS can be totally distributed (RTOS) to a new kind of more flexible and scalable OS and the associated middleware makes the whole platform for software and hardware tasks. In the first break with homogeneous from the application point of view. Moreover conventional approaches, this OS will be fully distributed and it allows application tasks to be deployed either in software appear homogeneous in terms of the application on the whole (on processors) or in hardware (on reconfigurable units) [3]. platform. Although application tasks are deployed either on hardware or software processing unit, they can equally access The architecture of the platform is depicted in Figure 1, and to every services on the platform. This solution offers to the is composed of: developer an embedded platform which is more scalable and • A set of general purpose processors (GPP) : a processor flexible. The OS will be deployed in a modular architecture: can support the execution of OS services and is in an operating system kernel and a middleware (MW) instance charge, on decision of the OS scheduler, of the execution for each execution unit. With the proposed virtualization of software threads. All the GPPs are not necessarily mechanisms application tasks run and communicate without homogeneous in terms of instruction set architecture and a priori knowledge on their assignment. number of offered services. a solution to face the management of tasks in a homogeneous DEF E DD B E way, is proposed by [7]. BORPH is a Linux based operating F E FE system which provides software drivers allowing to execute