From 530a14e2745ce1a73f34b1606c4d8558668dea1a Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Mon, 14 Sep 2020 14:48:29 +0100 Subject: [PATCH] switch off print statements --- src/nmutil/plru.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/nmutil/plru.py b/src/nmutil/plru.py index e99d56d..4ed1537 100644 --- a/src/nmutil/plru.py +++ b/src/nmutil/plru.py @@ -62,8 +62,8 @@ class PLRU(Elaboratable): shift = LOG_TLB - lvl new_idx = Const(~((i >> (shift-1)) & 1), 1) plru_idx = idx_base + (i >> shift) - print("plru", i, lvl, hex(idx_base), - plru_idx, shift, new_idx) + #print("plru", i, lvl, hex(idx_base), + # plru_idx, shift, new_idx) m.d.sync += plru_tree[plru_idx].eq(new_idx) # Decode tree to write enable signals @@ -96,7 +96,7 @@ class PLRU(Elaboratable): en.append(~plru) # yes inverted (using bool() below) else: en.append(plru) # yes inverted (using bool() below) - print("plru replace", i, en) + #print("plru replace", i, en) # boolean logic manipulation: # plru0 & plru1 & plru2 == ~(~plru0 | ~plru1 | ~plru2) replace.append(~Cat(*en).bool()) -- 2.30.2