Hi,
I am new to migen and trying something with it. I have a question about submodule.
As far as I know, clock and reset signal is implicit defined for a module. If I use that module as a submodule, how can I make reset that submodule from my module.
example:
class BAR(Module):
init(self):
foo_submodule = FOO()
self.submodules += foo_submodule
self.sync += [
If(some condition,
reset foo_submodule
)
]