From f6f43e826a60728130a712f9157765a8da86f6ab Mon Sep 17 00:00:00 2001 From: David Harris Date: Fri, 28 Apr 2023 07:03:46 -0700 Subject: [PATCH] Removed clear from TLBLRU because there is no need to flush LRU state and it causes coverage issues --- src/mmu/tlb/tlblru.sv | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/mmu/tlb/tlblru.sv b/src/mmu/tlb/tlblru.sv index 6cdb475e..4cabb33a 100644 --- a/src/mmu/tlb/tlblru.sv +++ b/src/mmu/tlb/tlblru.sv @@ -50,7 +50,5 @@ module tlblru #(parameter TLB_ENTRIES = 8) ( assign RUBitsAccessed = AccessLines | RUBits; assign AllUsed = &RUBitsAccessed; // if all recently used, then clear to none assign RUBitsNext = AllUsed ? 0 : RUBitsAccessed; - - // enable must be ORd with TLBFlush to ensure flop fires on a flush. DH 7/8/21 - flopenrc #(TLB_ENTRIES) lrustate(clk, reset, TLBFlush, (CAMHit | TLBWrite), RUBitsNext, RUBits); + flopenr #(TLB_ENTRIES) lrustate(clk, reset, (CAMHit | TLBWrite), RUBitsNext, RUBits); endmodule