From c55136c17ae13a026097c9da2b88143fd1276eab Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Tue, 14 Apr 2020 18:14:05 +0200 Subject: [PATCH] test/test_bist: enable test_bist_csr_cdc (now passing with refactored CDC). --- test/test_bist.py | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/test/test_bist.py b/test/test_bist.py index ff3de3b..e158286 100644 --- a/test/test_bist.py +++ b/test/test_bist.py @@ -308,23 +308,23 @@ class TestBIST(MemoryTestDataMixin, unittest.TestCase): def bist_test(self, generator, checker, mem): # write yield from generator.reset() - yield from generator.configure(16, 64) + yield from generator.configure(base=16, length=64) yield from generator.run() # Read (no errors) yield from checker.reset() - yield from checker.configure(16, 64) + yield from checker.configure(base=16, length=64) yield from checker.run() self.assertEqual(checker.errors, 0) # Corrupt memory (using generator) yield from generator.reset() - yield from generator.configure(16 + 48, 64) + yield from generator.configure(base=16 + 48, length=64) yield from generator.run() # Read (errors) yield from checker.reset() - yield from checker.configure(16, 64) + yield from checker.configure(base=16, length=64) yield from checker.run() # Errors for words: # from (16 + 48) / 4 = 16 (corrupting generator start) @@ -333,7 +333,7 @@ class TestBIST(MemoryTestDataMixin, unittest.TestCase): # Read (no errors) yield from checker.reset() - yield from checker.configure(16 + 48, 64) + yield from checker.configure(base=16 + 48, length=64) yield from checker.run() self.assertEqual(checker.errors, 0) @@ -387,8 +387,6 @@ class TestBIST(MemoryTestDataMixin, unittest.TestCase): ] run_simulation(dut, generators) - # FIXME: synchronization between CSRs: `start` and `base`, `done` and `errors` - @unittest.skip("CSRs CDC synchronization problem (issue #167)") def test_bist_csr_cdc(self): class DUT(Module): def __init__(self):