tlb assign zero
This commit is contained in:
parent
fbfd7c87a1
commit
22888616ad
@ -211,8 +211,9 @@ module TLB_Lookup (
|
||||
& (TLB_entries[i].G | TLB_entries[i].ASID == ASID);
|
||||
|
||||
// assume: hit is unique
|
||||
assign hit = |{hitWay};
|
||||
assign index.P = ~hit;
|
||||
assign hit = |{hitWay};
|
||||
assign index.P = ~hit;
|
||||
assign index.zero = 0;
|
||||
onehot_bin4 index_decoder(hitWay, index.Index);
|
||||
// always_comb for (int i = 0; i < 32; i++) index.Index |= hitWay[i] ? i : 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user