diff --git a/litedram/phy/sim_utils.py b/litedram/phy/sim_utils.py index 1d4fc11..04b5b91 100644 --- a/litedram/phy/sim_utils.py +++ b/litedram/phy/sim_utils.py @@ -146,7 +146,7 @@ class SimLogger(Module, AutoCSR): def __init__(self, log_level=INFO, clk_freq=None): self.ops = [] - self.level = Signal(reset=log_level, max=self.NONE) + self.level = Signal(reset=log_level, max=self.NONE + 1) self.time_ps = None if clk_freq is not None: self.time_ps = Signal(64)