new attempt for deadlock and token fault detection
This commit is contained in:
parent
28d095cb4e
commit
fa0ce2f321
1 changed files with 1 additions and 3 deletions
|
|
@ -96,10 +96,8 @@ void LogParser::finalize() {
|
|||
if (has_reference) {
|
||||
|
||||
// model has not sent all tokens yet
|
||||
if (artifact->get_output_token_timings().size() < reference->get_output_token_timings().size()) {
|
||||
if (dut_output_tokens_ < (reference->get_output_token_timings().size() -1)) {
|
||||
|
||||
std::cout << "Token count based deadlock, reference had " << reference->get_output_token_timings().size() << " dut had " << artifact->get_output_token_timings().size() << std::endl;
|
||||
|
||||
// a deadlock must have occured
|
||||
artifact->set_fault_deadlock(true);
|
||||
failure_mode = true;
|
||||
|
|
|
|||
Loading…
Reference in a new issue