From abbfaf6bcf6afeb355d915881c20c386eeae23df Mon Sep 17 00:00:00 2001 From: Dolu1990 Date: Fri, 10 Apr 2020 18:58:03 +0200 Subject: [PATCH] regression : restore normal invalidation setup --- src/test/cpp/regression/main.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/test/cpp/regression/main.cpp b/src/test/cpp/regression/main.cpp index 0307778..3b5122b 100644 --- a/src/test/cpp/regression/main.cpp +++ b/src/test/cpp/regression/main.cpp @@ -2399,7 +2399,7 @@ public: #ifdef DBUS_INVALIDATE if(ws->allowInvalidate){ - if(VL_RANDOM_I(7) < 100){ + if(VL_RANDOM_I(7) < 10){ invalidationHint.push(top->dBus_cmd_payload_address + VL_RANDOM_I(5)); } } @@ -2434,8 +2434,8 @@ public: #ifdef DBUS_INVALIDATE if(ws->allowInvalidate){ if(top->dBus_inv_cmd_ready) top->dBus_inv_cmd_valid = 0; - if(top->dBus_inv_cmd_valid == 0 && VL_RANDOM_I(7) < 10){ - top->dBus_inv_cmd_valid = invalidationHint.empty() == 0; + if(top->dBus_inv_cmd_valid == 0 && VL_RANDOM_I(7) < 5){ + top->dBus_inv_cmd_valid = 1; if(!invalidationHint.empty()){ top->dBus_inv_cmd_payload_address = invalidationHint.front(); invalidationHint.pop();