back.pysim: fix behavior of initial cycle for sync processes.
The current behavior was introduced in65702719, which was a wrong fix for an issue that was actually fixed in12e04e4e. This commit effectively reverts65702719and1782b841.
This commit is contained in:
parent
1782b841b2
commit
7b25665fde
3 changed files with 4 additions and 7 deletions
|
|
@ -279,9 +279,6 @@ class SimulatorIntegrationTestCase(FHDLTestCase):
|
|||
with self.assertSimulation(self.m) as sim:
|
||||
sim.add_clock(1e-6, domain="sync")
|
||||
def process():
|
||||
self.assertEqual((yield self.count), 4)
|
||||
self.assertEqual((yield self.sync.clk), 0)
|
||||
yield
|
||||
self.assertEqual((yield self.count), 4)
|
||||
self.assertEqual((yield self.sync.clk), 1)
|
||||
yield
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue