From: Luke Kenneth Casson Leighton Date: Thu, 22 Aug 2019 02:11:57 +0000 (+0100) Subject: skip add clock on combinatorial tests X-Git-Tag: ls180-24jan2020~426 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7da7295cace8c2be6e07e063835be6d8cf37c63b;p=ieee754fpu.git skip add clock on combinatorial tests --- 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()