snooping response handling fix

This commit is contained in:
Blaise Tine
2020-05-14 23:05:46 -04:00
parent bcb9514799
commit d623ef4029
13 changed files with 174 additions and 154 deletions

View File

@@ -16,7 +16,7 @@ module VX_priority_encoder #(
found_r = 0;
for (i = `NUM_WARPS-1; i >= 0; i = i - 1) begin
if (valids[i]) begin
index_r = i[`NW_BITS-1:0];
index_r = `NW_BITS'(i);
found_r = 1;
end
end