From 60861482dcda7f752cc17477e993df063d9f2c79 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sat, 16 Feb 2019 12:14:21 +0000 Subject: [PATCH] add extra arbitrary div unit test --- src/add/test_div.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/add/test_div.py b/src/add/test_div.py index 2945f5be..6ca4c4af 100644 --- a/src/add/test_div.py +++ b/src/add/test_div.py @@ -49,6 +49,7 @@ def testbench(dut): yield from check_case(dut, 0x40000000, 0x3F800000, 0x40000000) yield from check_case(dut, 0x3F800000, 0x40000000, 0x3F000000) yield from check_case(dut, 0x3F800000, 0x40400000, 0x3EAAAAAB) + yield from check_case(dut, 0x40400000, 0x41F80000, 0x3DC6318C) if __name__ == '__main__': dut = FPDIV(width=32) -- 2.30.2