Deterministic reversible MPSoC debugger based on virtual platform execution traces.

Autor: Cunha, Marcos, Fournel, Nicolas, Pétrot, Frédéric
Předmět:
Zdroj: Design Automation for Embedded Systems; Mar2016, Vol. 20 Issue 1, p47-63, 17p
Abstrakt: The increasing complexity of multiprocessor system on chip (MPSoC) makes the software developers life harder when chasing bugs. The debugging process is particularly tedious as it involves analyzing parallel execution flows. Executing a program many times is an integral part of the process in conventional debugging, but the non-determinism due to parallel execution often leads to different execution paths and different behaviors. In this paper, we propose an approach based on simulation, as it is nowadays an integral part of the MPSoC design flow, to ease pin-pointing bugs in a parallel execution. To that aim, we collect traces using a virtual platform, and when an execution fails, re-execute the traces, in either forward or reverse direction. We define a trace model suitable for this task, and detail a strategy for providing forward and reverse execution features to avoid long simulation times during a debug session. We demonstrate experimentally that re-execution is a deterministic process which, when debugging using the usual trial and error developer approach, is much faster than simulation. [ABSTRACT FROM AUTHOR]
Databáze: Complementary Index