From d37cf25879f12f81d5f743eac788a6a5a1c2aa88 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Tue, 4 May 2021 13:34:33 +0100 Subject: [PATCH] disable some of the extreme verbose debug printing --- src/openpower/decoder/power_decoder.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/openpower/decoder/power_decoder.py b/src/openpower/decoder/power_decoder.py index 9bfac943..688806ab 100644 --- a/src/openpower/decoder/power_decoder.py +++ b/src/openpower/decoder/power_decoder.py @@ -225,7 +225,7 @@ class PowerOp: if field not in power_op_csvmap: continue csvname = power_op_csvmap[field] - print(field, ptype, csvname, row) + #print(field, ptype, csvname, row) val = row[csvname] if csvname == 'upd' and isinstance(val, int): # LDSTMode different val = ptype(val) @@ -316,7 +316,7 @@ class PowerDecoder(Elaboratable): def divide_opcodes(self, d): divided = {} mask = self.suffix_mask(d) - print("mask", hex(mask)) + #print("mask", hex(mask)) for row in d.opcodes: opcode = row['opcode'] if d.opint and '-' not in opcode: @@ -400,9 +400,9 @@ class PowerDecoder(Elaboratable): decs.append(cases) if case_does_something: eqs += eq - print("submodule eqs", self.pname, eq) + #print("submodule eqs", self.pname, eq) - print("submodules", self.pname, submodules) + #print("submodules", self.pname, submodules) gc.collect() return self.actually_does_something @@ -412,7 +412,7 @@ class PowerDecoder(Elaboratable): for dec in d.subdecoders: if isinstance(dec, list): # XXX HACK: take first pattern dec = dec[0] - print("subdec", dec.pattern, self.pname) + #print("subdec", dec.pattern, self.pname) mname = get_pname("dec%d" % dec.pattern, self.pname) subdecoder = PowerDecoder(self.width, dec, name=mname, @@ -429,7 +429,7 @@ class PowerDecoder(Elaboratable): return eqs def elaborate(self, platform): - print("decoder elaborate", self.pname, self.submodules) + #print("decoder elaborate", self.pname, self.submodules) m = Module() comb = m.d.comb -- 2.30.2