From: Luke Kenneth Casson Leighton Date: Mon, 14 Sep 2020 13:48:29 +0000 (+0100) Subject: switch off print statements X-Git-Tag: 24jan2021_ls180~17 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=530a14e2745ce1a73f34b1606c4d8558668dea1a;p=nmutil.git switch off print statements --- 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())