diff --git a/litedram/frontend/bist.py b/litedram/frontend/bist.py index 0dc0460..7e64f37 100644 --- a/litedram/frontend/bist.py +++ b/litedram/frontend/bist.py @@ -133,7 +133,7 @@ class _LiteDRAMBISTGenerator(Module): ashift, awidth = get_ashift_awidth(dram_port) self.start = Signal() self.done = Signal() - self.run = Signal() + self.run = Signal(reset=1) self.ready = Signal() self.base = Signal(awidth) self.end = Signal(awidth) @@ -214,7 +214,7 @@ class _LiteDRAMPatternGenerator(Module): ashift, awidth = get_ashift_awidth(dram_port) self.start = Signal() self.done = Signal() - self.run = Signal() + self.run = Signal(reset=1) self.ready = Signal() self.ticks = Signal(32) @@ -327,7 +327,7 @@ class LiteDRAMBISTGenerator(Module, AutoCSR): self.reset = CSR() self.start = CSR() self.done = CSRStatus() - self.run = CSRStorage() + self.run = CSRStorage(reset=1) self.ready = CSRStatus() self.base = CSRStorage(awidth) self.end = CSRStorage(awidth) @@ -423,7 +423,7 @@ class _LiteDRAMBISTChecker(Module, AutoCSR): ashift, awidth = get_ashift_awidth(dram_port) self.start = Signal() self.done = Signal() - self.run = Signal() + self.run = Signal(reset=1) self.ready = Signal() self.base = Signal(awidth) self.end = Signal(awidth) @@ -532,7 +532,7 @@ class _LiteDRAMPatternChecker(Module, AutoCSR): ashift, awidth = get_ashift_awidth(dram_port) self.start = Signal() self.done = Signal() - self.run = Signal() + self.run = Signal(reset=1) self.ready = Signal() self.ticks = Signal(32) self.errors = Signal(32) @@ -678,7 +678,7 @@ class LiteDRAMBISTChecker(Module, AutoCSR): self.reset = CSR() self.start = CSR() self.done = CSRStatus() - self.run = CSRStorage() + self.run = CSRStorage(reset=1) self.ready = CSRStatus() self.base = CSRStorage(awidth) self.end = CSRStorage(awidth)