Title :
CADRE: Cycle-Accurate Deterministic Replay for Hardware Debugging
Author :
Sarangi, Smruti R. ; Greskamp, Brian ; Torrellas, Josep
Author_Institution :
Dept. of Comput. Sci., Illinois Univ., IL
Abstract :
One of the main reasons for the difficulty of hardware verification is that hardware platforms are typically nondeterministic at clock-cycle granularity. Uninitialized state elements, I/O, and timing variations on high-speed buses all introduce nondeterminism that causes different behavior on different runs starting from the same initial state. To improve our ability to debug hardware, we would like to completely eliminate nondeterminism. This paper introduces the cycle-accurate deterministic replay (CADRE) architecture, which cost-effectively makes a board-level computer cycle-accurate deterministic. We characterize the sources of nondeterminism in computers and show how to address them. In particular, we introduce a novel scheme to ensure deterministic communication on source-synchronous buses that cross clock-domain boundaries. Experiments show that CADRE on a 4-way multiprocessor server enables cycle-accurate deterministic execution of one-second intervals with modest buffering requirements (around 200MB) and minimal performance loss (around 1%). Moreover, CADRE has modest hardware requirements
Keywords :
computer architecture; computer debugging; 4-way multiprocessor server; clock-cycle granularity; cycle-accurate deterministic replay architecture; deterministic communication; hardware debugging; hardware verification; source-synchronous bus; Clocks; Computational modeling; Computer architecture; Computer science; Control systems; Debugging; Hardware; Performance loss; Process design; Timing;
Conference_Titel :
Dependable Systems and Networks, 2006. DSN 2006. International Conference on
Conference_Location :
Philadelphia, PA
Print_ISBN :
0-7695-2607-1
DOI :
10.1109/DSN.2006.19