From e0b4278e6fdfd50d7923af5bcecef200a4a4e36d Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Sat, 15 Feb 2020 16:03:29 +0100 Subject: [PATCH] frontend/bist: set run to 1 by default to keep similar default behaviour than before adding run/ready. --- litedram/frontend/bist.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) 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)