From: Luke Kenneth Casson Leighton Date: Mon, 3 Jan 2022 14:08:19 +0000 (+0000) Subject: stop display of LDSTCompUnit debug info on every cycle X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c5e912cab0cd8fc5cbcb7d96ac35122ad34f7c13;p=soc.git stop display of LDSTCompUnit debug info on every cycle --- diff --git a/src/soc/experiment/compldst_multi.py b/src/soc/experiment/compldst_multi.py index be2c9031..bf35d23a 100644 --- a/src/soc/experiment/compldst_multi.py +++ b/src/soc/experiment/compldst_multi.py @@ -542,7 +542,8 @@ class LDSTCompUnit(RegSpecAPI, Elaboratable): comb += pi.priv_mode.eq(~oper_r.msr[MSR.PR]) comb += pi.virt_mode.eq(oper_r.msr[MSR.DR]) comb += pi.mode_32bit.eq(~oper_r.msr[MSR.SF]) - sync += Display("LDSTCompUnit: oper_r.msr %x pr=%x dr=%x sf=%x", + with m.If(self.issue_i): # display this only once + sync += Display("LDSTCompUnit: oper_r.msr %x pr=%x dr=%x sf=%x", oper_r.msr, oper_r.msr[MSR.PR], oper_r.msr[MSR.DR],