Change plru to be combinational
authorDaniel Benusovich <flyingmonkeys1996@gmail.com>
Mon, 22 Apr 2019 01:23:38 +0000 (18:23 -0700)
committerDaniel Benusovich <flyingmonkeys1996@gmail.com>
Mon, 22 Apr 2019 01:23:38 +0000 (18:23 -0700)
TLB/src/ariane/plru.py

index ff52aace6ad3aead99092ddb6128ddca105632b2..835c4a8e83d44b6aeb2d47fbb17195e26b6cc5e9 100644 (file)
@@ -59,7 +59,7 @@ class PLRU:
                     plru_idx = idx_base + (i >> shift)
                     print ("plru", i, lvl, hex(idx_base),
                                   plru_idx, shift, new_idx)
-                    m.d.sync += self.plru_tree_o[plru_idx].eq(new_idx)
+                    m.d.comb += self.plru_tree_o[plru_idx].eq(new_idx)
 
         # Decode tree to write enable signals
         # Next for-loop basically creates the following logic for e.g.