gen/sim/core: do not use reset_less clock_domains for the one that are created (logic may need to access reset signal)
This commit is contained in:
parent
456cce3ec6
commit
0daeff8689
|
@ -271,7 +271,7 @@ class Simulator:
|
||||||
self.time = TimeManager(clocks)
|
self.time = TimeManager(clocks)
|
||||||
for clock in clocks.keys():
|
for clock in clocks.keys():
|
||||||
if clock not in self.fragment.clock_domains:
|
if clock not in self.fragment.clock_domains:
|
||||||
cd = ClockDomain(name=clock, reset_less=True)
|
cd = ClockDomain(name=clock)
|
||||||
cd.clk.reset = C(self.time.clocks[clock].high)
|
cd.clk.reset = C(self.time.clocks[clock].high)
|
||||||
self.fragment.clock_domains.append(cd)
|
self.fragment.clock_domains.append(cd)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue