From c5e912cab0cd8fc5cbcb7d96ac35122ad34f7c13 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Mon, 3 Jan 2022 14:08:19 +0000 Subject: [PATCH] stop display of LDSTCompUnit debug info on every cycle --- src/soc/experiment/compldst_multi.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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], -- 2.30.2