Fix inv regression
This commit is contained in:
parent
f0f2cf61da
commit
c12f9a378d
|
@ -2496,12 +2496,12 @@ public:
|
||||||
if(top->dBus_inv_ready) top->dBus_inv_valid = 0;
|
if(top->dBus_inv_ready) top->dBus_inv_valid = 0;
|
||||||
if(top->dBus_inv_valid == 0 && VL_RANDOM_I(7) < 5){
|
if(top->dBus_inv_valid == 0 && VL_RANDOM_I(7) < 5){
|
||||||
top->dBus_inv_valid = 1;
|
top->dBus_inv_valid = 1;
|
||||||
top->dBus_inv_payload_enable = VL_RANDOM_I(7) < 100;
|
top->dBus_inv_payload_fragment_enable = VL_RANDOM_I(7) < 100;
|
||||||
if(!invalidationHint.empty()){
|
if(!invalidationHint.empty()){
|
||||||
top->dBus_inv_payload_address = invalidationHint.front();
|
top->dBus_inv_payload_fragment_address = invalidationHint.front();
|
||||||
invalidationHint.pop();
|
invalidationHint.pop();
|
||||||
} else {
|
} else {
|
||||||
top->dBus_inv_payload_address = VL_RANDOM_I(32);
|
top->dBus_inv_payload_fragment_address = VL_RANDOM_I(32);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue