frontend/bist: fix cd on LiteDRAMBISTChecker, bist_async_tb now working
This commit is contained in:
parent
cb69561137
commit
41364dd0b1
|
@ -171,7 +171,7 @@ class _LiteDRAMBISTChecker(Module, AutoCSR):
|
|||
|
||||
|
||||
class LiteDRAMBISTChecker(Module, AutoCSR):
|
||||
def __init__(self, dram_port, cd="sys"):
|
||||
def __init__(self, dram_port):
|
||||
self.reset = CSRStorage()
|
||||
self.shoot = CSR()
|
||||
self.done = CSRStatus()
|
||||
|
@ -181,6 +181,8 @@ class LiteDRAMBISTChecker(Module, AutoCSR):
|
|||
|
||||
# # #
|
||||
|
||||
cd = dram_port.cd
|
||||
|
||||
checker = ResetInserter()(_LiteDRAMBISTChecker(dram_port))
|
||||
self.submodules += ClockDomainsRenamer(cd)(checker)
|
||||
|
||||
|
|
Loading…
Reference in New Issue