frontend/bist: set run to 1 by default to keep similar default behaviour than before adding run/ready.

This commit is contained in:
Florent Kermarrec 2020-02-15 16:03:29 +01:00
parent 8a46b71411
commit e0b4278e6f
1 changed files with 6 additions and 6 deletions

View File

@ -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)