build.plat: don't create default sync domain as reset-less.

This commit is contained in:
whitequark 2019-10-09 20:44:07 +00:00
parent b9e57fd67b
commit 27a32f0218

View file

@ -101,7 +101,7 @@ class Platform(ResourceManager, metaclass=ABCMeta):
rst_i = Const(0)
m = Module()
m.domains += ClockDomain("sync", reset_less=self.default_rst is None)
m.domains += ClockDomain("sync")
m.d.comb += ClockSignal("sync").eq(clk_i)
m.submodules.reset_sync = ResetSynchronizer(rst_i, domain="sync")
return m