mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
sim: support clock domains without sync
This commit is contained in:
parent
fd986210f8
commit
7bd72a16df
1 changed files with 21 additions and 20 deletions
|
@ -148,7 +148,6 @@ class Simulator:
|
|||
modified = self.evaluator.commit()
|
||||
|
||||
def _process_generators(self, cd):
|
||||
if cd in self.generators:
|
||||
exhausted = []
|
||||
for generator in self.generators[cd]:
|
||||
reply = None
|
||||
|
@ -178,7 +177,9 @@ class Simulator:
|
|||
while True:
|
||||
cds = self.time.tick()
|
||||
for cd in cds:
|
||||
if cd in self.fragment.sync:
|
||||
self.evaluator.execute(self.fragment.sync[cd])
|
||||
if cd in self.generators:
|
||||
self._process_generators(cd)
|
||||
self._comb_propagate(self.evaluator.commit())
|
||||
|
||||
|
|
Loading…
Reference in a new issue