litedram/common/tXXDController: only set reset to 1 when txxd is None.
This avoids triggering a warning/error with Yosys.
This commit is contained in:
parent
e95af3f15b
commit
3c1ab76bbc
|
@ -315,7 +315,7 @@ class LiteDRAMNativeReadPort(LiteDRAMNativePort):
|
||||||
class tXXDController(Module):
|
class tXXDController(Module):
|
||||||
def __init__(self, txxd):
|
def __init__(self, txxd):
|
||||||
self.valid = valid = Signal()
|
self.valid = valid = Signal()
|
||||||
self.ready = ready = Signal(reset=1)
|
self.ready = ready = Signal(reset=txxd is None)
|
||||||
ready.attr.add("no_retiming")
|
ready.attr.add("no_retiming")
|
||||||
|
|
||||||
# # #
|
# # #
|
||||||
|
|
Loading…
Reference in New Issue