SystemC and OO-Synthesis

Slides:



Advertisements
Similar presentations
© 2004 Wayne Wolf Topics Task-level partitioning. Hardware/software partitioning.  Bus-based systems.
Advertisements

ECOE 560 Design Methodologies and Tools for Software/Hardware Systems Spring 2004 Serdar Taşıran.
Courseware Scheduling of Distributed Real-Time Systems Jan Madsen Informatics and Mathematical Modelling Technical University of Denmark Richard Petersens.
Synthesis of Embedded Software Using Free-Choice Petri Nets.
Figure 2.8 Compiler phases Compiling. Figure 2.9 Object module Linking.
Design Flow – Computation Flow. 2 Computation Flow For both run-time and compile-time For some applications, must iterate.
Embedded and Real Time Systems Lecture #4 David Andrews
Context Switch in Reconfigurable System Sun, Yuan-Ling ESL of CSIE, CCU
1 Quasi-Static Scheduling of Embedded Software Using Free-Choice Petri Nets Marco Sgroi, Alberto Sangiovanni-Vincentelli Luciano Lavagno University of.
Models of Computation for Embedded System Design Alvise Bonivento.
1 Oct 2, 2003 Design Optimization of Mixed Time/Event-Triggered Distributed Embedded Systems Traian Pop, Petru Eles, Zebo Peng Embedded Systems Laboratory.
Courseware Basics of Real-Time Scheduling Jan Madsen Informatics and Mathematical Modelling Technical University of Denmark Richard Petersens Plads, Building.
A Platform-based Design Flow for Kahn Process Networks Abhijit Davare Qi Zhu December 10, 2004.
Trend towards Embedded Multiprocessors Popular Examples –Network processors (Intel, Motorola, etc.) –Graphics (NVIDIA) –Gaming (IBM, Sony, and Toshiba)
Misconceptions About Real-time Computing : A Serious Problem for Next-generation Systems J. A. Stankovic, Misconceptions about Real-Time Computing: A Serious.
HW/SW Co-Synthesis of Dynamically Reconfigurable Embedded Systems HW/SW Partitioning and Scheduling Algorithms.
1 A survey on Reconfigurable Computing for Signal Processing Applications Anne Pratoomtong Spring2002.
Tabu Search-Based Synthesis of Dynamically Reconfigurable Digital Microfluidic Biochips Elena Maftei, Paul Pop, Jan Madsen Technical University of Denmark.
Reconfigurable Hardware in Wearable Computing Nodes Christian Plessl 1 Rolf Enzler 2 Herbert Walder 1 Jan Beutel 1 Marco Platzner 1 Lothar Thiele 1 1 Computer.
Networking Virtualization Using FPGAs Russell Tessier, Deepak Unnikrishnan, Dong Yin, and Lixin Gao Reconfigurable Computing Group Department of Electrical.
1 Operating Systems for Reconfigurable Computing Systems Xuequn(Robin) Li Instructor: Prof. Shawki Areibi School of Engineering School of Engineering.
系統晶片設計 - 論文報告 指導老師:陳朝烈老師 學生: 陳宗廷 向崇羽 Monot, A.; Navet, N.; Bavoux, B.; Simonot-Lion, F.,” Multisource Software on Multicore Automotive.
LOPASS: A Low Power Architectural Synthesis for FPGAs with Interconnect Estimation and Optimization Harikrishnan K.C. University of Massachusetts Amherst.
Real-Time Operating Systems for Embedded Computing 李姿宜 R ,06,10.
GRECO - CIn - UFPE1 A Reconfigurable Architecture for Multi-context Application Remy Eskinazi Sant´Anna Federal University of Pernambuco – UFPE GRECO.
DIPARTIMENTO DI ELETTRONICA E INFORMAZIONE Novel, Emerging Computing System Technologies Smart Technologies for Effective Reconfiguration: The FASTER approach.
1 SYNTHESIS of PIPELINED SYSTEMS for the CONTEMPORANEOUS EXECUTION of PERIODIC and APERIODIC TASKS with HARD REAL-TIME CONSTRAINTS Paolo Palazzari Luca.
Task Graph Scheduling for RTR Paper Review By Gregor Scott.
Operating Systems for Reconfigurable Embedded Platforms: Online Scheduling of Real-Time Tasks Jinxu Ding Ramón Mercado.
Operating Systems for Reconfigurable Embedded Platforms: Online Scheduling of Real-Time Tasks -Ramkumar Shankar.
System-level power analysis and estimation September 20, 2006 Chong-Min Kyung.
Modeling Mobile-Agent-based Collaborative Processing in Sensor Networks Using Generalized Stochastic Petri Nets Hongtao Du, Hairong Qi, Gregory Peterson.
High Performance Embedded Computing © 2007 Elsevier Chapter 7, part 3: Hardware/Software Co-Design High Performance Embedded Computing Wayne Wolf.
Martin Kruliš by Martin Kruliš (v1.1)1.
MAPLD 2005Ardini1 Demand and Penalty-Based Resource Allocation for Reconfigurable Systems with Runtime Partitioning John Ardini.
POLITECNICO DI MILANO A SystemC-based methodology for the simulation of dynamically reconfigurable embedded systems Dynamic Reconfigurability in Embedded.
Runtime Temporal Partitioning Assembly to Reduce FPGA Reconfiguration Time Abelardo Jara-Berrocal, Ann Gordon-Ross HCS Research Laboratory College of Engineering.
Embedded System Scheduling
CHaRy Software Synthesis for Hard Real-Time Systems
By M.M. Bassiri and H. S. Shahhoseini Elisha Colmenar
Some Topics in OR.
Dynamo: A Runtime Codesign Environment
Process Management Process Concept Why only the global variables?
Ph.D. in Computer Science
Parallel Algorithm Design
FPGA: Real needs and limits
Real-time Software Design
Period Optimization for Hard Real-time Distributed Automotive Systems
Anne Pratoomtong ECE734, Spring2002
Embedded System Design Specifications and Modeling
Introduction to cosynthesis Rabi Mahapatra CSCE617
Reconfigurable Computing
Dynamically Reconfigurable Architectures: An Overview
Intro. To Operating Systems
Processor Fundamentals
An Embedded Systems Course and Course
Packet Classification with Evolvable Hardware Hash Functions
Networked Real-Time Systems: Routing and Scheduling
Architecture Synthesis
HIGH LEVEL SYNTHESIS.
Richard Anderson Lecture 6 Greedy Algorithms
ICS 252 Introduction to Computer Design
Richard Anderson Autumn 2016 Lecture 7
Richard Anderson Lecture 7 Greedy Algorithms
Department of Electrical Engineering Joint work with Jiong Luo
Petri Net :Abstract formal model of information flow Major use:
Richard Anderson Winter 2019 Lecture 7
Parallel Programming in C with MPI and OpenMP
Anand Bhat*, Soheil Samii†, Raj Rajkumar* *Carnegie Mellon University
Richard Anderson Autumn 2019 Lecture 7
Presentation transcript:

SystemC and OO-Synthesis 26.11.2018 Greco – Engineering Computation Group Informatics Center - Federal University of Pernambuco “ A Timed Petri Net Approach for Pre-Runtime Scheduling in Partial and Dynamic Reconfigurable Systems” Remy Eskinazi <res@cin.ufpe.br> Tobias Oppold

Scheduling Why RC? RC Challenges Definitions and objectives Resolution method TPN Mapping Design Flow System Synthesis Left-Edge allocation of tasks Simulation results Conclusions 11/26/2018 RAW 2005

Why RC? Low Tooling Cost TTM Non NRE Product Flexibility Improvement of Paradigm Time x Area Functional Density 11/26/2018 RAW 2005

Some Challenges in RC Scheduling Area and timing constraints Better area utilization Temporal performance Minimize application time High Level System Models Current abstraction is register-level Formal Methodologies Performance analysis and optimization 11/26/2018 RAW 2005

Definitions and Objectives Problem Definition Let A be a hardware application that is composed by the followin elements: A = (TS, tmax, D), where, TS = a set of hardware tasks, TS = {T1,T2,T3,…Tn} tmax = Maxime computational time, tmax  +  {0} D a set of precedence between tasks, D  TS X TS 11/26/2018 RAW 2005

Definitions and Objectives Problem Definition The set of tasks TS must be represented in the following form, TS = {T1,T2,T3,…Tn}, where ech Ti  TS must be represented in the following form, Ti = {Ri, Ci, Di} where, Ri = Task releasing time Ci = Task computational time Di = Task maxime computational time (Deadline) 11/26/2018 RAW 2005

Definitions and Objectives Execute all tasks that compose A considering the application and architecture constraints Considering  as the execution time of A we have,  = Tti + Tr, where Tti = scheduled tasks computation time and Tr = reconfiguration time Find the most appropriate sequence for loading the tasks in the reconfigurable architecture () in order minimize  and so obtain 0 = f (E0) = Tti + Tr0 11/26/2018 RAW 2005

Resolution Method 1 - Mapping of the application characteristics in a TPN # of reconfigurable areas Individual tasks characteristics Ti = {Ri, Ci, Di} Tasks precedence Application Deadline 11/26/2018 RAW 2005

Resolution Method 2 – Estructural analysis of the TPN generated, in order to obtain: A final rechability State graph for a final marcation Set the transitions firing sequence in order obtain the minor time elapsed for the final marcation 11/26/2018 RAW 2005

State Graph for a final marcation (Covering tree) 11/26/2018 RAW 2005

TPN Application Mapping Mapping Models: Tasks model; Tasks Precedence model; Application model 11/26/2018 RAW 2005

TPN Tasks Model Let Tmp = (P, T, F, W, m0,  ) be a Timed Petri Net model which represents a particular task Ti where, P represents a ordered set of places; T represents a ordered set of transitions; F  (P X T)  (T X P) represents the edges of the net and the flow relation; W: F  represents the weigh of the flow relation; m0: P, represents the initial marking of the net ;  : T  , is a function that maps each transition to a bounded time delay 11/26/2018 RAW 2005

TPN Tasks Model  ti Pa TDi Dti End Process Ti Tt PDi N 11/26/2018 RAW 2005

Tasks Precedence Model Let be Tm1 = (P1, T1, F1, W1, m01, 1 ) and Tm2 = (P2, T2, F2, W2, m02, 2 ) two tasks models. Tmd = (Pd, Td, Fd, Wd, m0d, d ) = Tm1 [ Tm1 is the resulting Petri Net obtained by the precedence composition between Tm1 and Tm2. 11/26/2018 RAW 2005

Tasks Precedence Model 11/26/2018 RAW 2005

TPN Application Model 11/26/2018 RAW 2005

Design Flow 11/26/2018 RAW 2005

System Synthesis 11/26/2018 RAW 2005

System Synthesis Reconfigurable OS O.S. Level 1 (SW) O.S. Level 2 (HW) Placer O.S. Bridge O.S. Level 1 (SW) Context Manager Task Deadline Timer Reconfigurable OS Task Controller O.S. Level 2 (HW) I/O Bridge Temporary Memory 11/26/2018 RAW 2005

System Synthesis Placer Module Placer (Dispatch) Deadline Task Timer Context manager Placer Module Initial configuration (initial dispath); Configure DTT (Deadline Task Timer); Receive end-task signal; Check timeout flag; Save task results in a repository OS Bridge 11/26/2018 RAW 2005

System Synthesis Deadline Tasks Timer (DTT) Module Placer (Dispatch) Deadline Task Timer Context Repository OS Bridge Deadline Tasks Timer (DTT) Module Tasks timing control Signalizes to placer the tasks deadline 11/26/2018 RAW 2005

System Synthesis Context Manager Module Save the tasks contexts; Placer (Dispatch) Deadline Task Timer Context Manager OS Bridge Context Manager Module Save the tasks contexts; Reboots Context Repository cyclically 11/26/2018 RAW 2005

System Synthesis OS Bridge Module Placer (Dispatch) Deadline Task Timer Context Manager OS Bridge OS Bridge Module Provides communication between SO level1 e SO level2 11/26/2018 RAW 2005

Left-Edge Allocation of Tasks Example: Tasks A through G, Reconfigurable areas A1, A2, A3 11/26/2018 RAW 2005

Simulation Results Example: Tasks = Multipliers Reconfigurable areas A1, A2, A3 11/26/2018 RAW 2005

Simulation Results Resulting TPN Model 11/26/2018 RAW 2005

Simulation Results Resulting Scheduling for Minimize the application time execution 11/26/2018 RAW 2005

Simulation Results Tasks sorting and assigning for reconfigurable slots 11/26/2018 RAW 2005

Conclusions We presented an methodology to determinate the static scheduling of hardware tasks using a Timed Petri Net model applicable to reconfigurable FPGAs; The Methodology seeks minimize the application timing optimizing the tasks scheduling; The methodology disregards the fragmentation problem in the reconfigurables areas Future works regards the optimization of reconfigurable areas with the tasks of application 11/26/2018 RAW 2005