frontend/bist: set run to 1 by default to keep similar default behaviour than before adding run/ready.
This commit is contained in:
parent
8a46b71411
commit
e0b4278e6f
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue