projects
/
ieee754fpu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2b07cf4
)
add extra arbitrary div unit test
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Sat, 16 Feb 2019 12:14:21 +0000
(12:14 +0000)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Sat, 16 Feb 2019 12:14:21 +0000
(12:14 +0000)
src/add/test_div.py
patch
|
blob
|
history
diff --git
a/src/add/test_div.py
b/src/add/test_div.py
index 2945f5be1911a347e0e857b17f387181db02a749..6ca4c4afa5ee61086da1b35ab7a6fa6963e35793 100644
(file)
--- 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)