From 7da7295cace8c2be6e07e063835be6d8cf37c63b Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Thu, 22 Aug 2019 03:11:57 +0100 Subject: [PATCH] skip add clock on combinatorial tests --- src/ieee754/part_mul_add/test/test_multiply.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/ieee754/part_mul_add/test/test_multiply.py b/src/ieee754/part_mul_add/test/test_multiply.py index e50f8cce..3287cbe4 100644 --- a/src/ieee754/part_mul_add/test/test_multiply.py +++ b/src/ieee754/part_mul_add/test/test_multiply.py @@ -235,7 +235,8 @@ class TestAddReduce(unittest.TestCase): yield Tick() yield from generic_process(GenOrCheck.Check) - sim.add_clock(2e-6) + if "sync" in sim._domains: + sim.add_clock(2e-6) sim.add_process(generate_process) sim.add_process(check_process) sim.run() @@ -632,7 +633,8 @@ class TestMul8_16_32_64(unittest.TestCase): yield Tick() yield from process(GenOrCheck.Check) - sim.add_clock(2e-6) + if "sync" in sim._domains: + sim.add_clock(2e-6) sim.add_process(generate_process) sim.add_process(check_process) sim.run() -- 2.30.2