Title :
Scandal: Systemc analysis for nondeterminism anomalies
Author :
Schumacher, Christoph ; Weinstock, Jan Henrik ; Leupers, Rainer ; Ascheid, Gerd
Author_Institution :
Inst. for Commun. Technol. & Embedded Syst., RWTH Aachen Univ., Aachen, Germany
Abstract :
SystemC is the de facto standard language for electronic system level design and simulation. SystemC simulations may contain nondeterminism caused by dependencies on the process execution order (PEO) due to data dependencies of SystemC logical processes (LP) within delta-cycles. In practice, often this is not an issue, since simulation execution appears to be deterministic due to deterministic SystemC scheduler implementations. However, to satisfy the increasing need for simulation speed, parallel SystemC engines are being researched: With no fixed strict total order among LPs executed in parallel, nondeterministic behavior is more likely to surface and more difficult to debug, threatening the viability to use simulation especially for debugging use-cases. This work presents a new method to test for nondeterminism: Anomalies are detected by running a simulation twice in sequential simulation mode while systematically varying the PEO, and without the need for source code analysis. Feasibility is demonstrated with several case studies.
Keywords :
C++ language; discrete event simulation; hardware description languages; logic design; logic simulation; parallel processing; source coding; PEO; SCANDAL; SystemC analysis; SystemC logical processes; SystemC simulation; anomaly detection; data dependencies; de facto standard language; delta-cycle; deterministic SystemC scheduler implementation; electronic system level design; electronic system level simulation; nondeterminism anomalies; parallel SystemC engines; process execution order; sequential simulation mode; simulation execution; source code analysis; Analytical models; Engines; Hardware; Scheduling; Software; Standards; Testing;
Conference_Titel :
Specification and Design Languages (FDL), 2012 Forum on
Conference_Location :
Vienna
Print_ISBN :
978-1-4673-1240-0