projects
/
ieee754fpu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
correct comments
[ieee754fpu.git]
/
src
/
add
/
nmigen_div_experiment.py
diff --git
a/src/add/nmigen_div_experiment.py
b/src/add/nmigen_div_experiment.py
index ddd9f671b0077bac15163f4883853ce5d5572546..12fa46897d17fea8a8df3ab58be6a8c8599fd8ee 100644
(file)
--- a/
src/add/nmigen_div_experiment.py
+++ b/
src/add/nmigen_div_experiment.py
@@
-1,4
+1,4
@@
-# IEEE Floating Point
Ad
der (Single Precision)
+# IEEE Floating Point
Divi
der (Single Precision)
# Copyright (C) Jonathan P Dawson 2013
# 2013-12-12
# Copyright (C) Jonathan P Dawson 2013
# 2013-12-12
@@
-37,7
+37,7
@@
class FPDIV(FPBase):
self.out_z = FPOp(width)
def get_fragment(self, platform=None):
self.out_z = FPOp(width)
def get_fragment(self, platform=None):
- """ creates the HDL code-fragment for FP
Add
+ """ creates the HDL code-fragment for FP
Div
"""
m = Module()
"""
m = Module()
@@
-66,7
+66,7
@@
class FPDIV(FPBase):
# ******
# special cases: NaNs, infs, zeros, denormalised
# ******
# special cases: NaNs, infs, zeros, denormalised
- # NOTE: some of these are unique to
add
. see "Special Operations"
+ # NOTE: some of these are unique to
div
. see "Special Operations"
# https://steve.hollasch.net/cgindex/coding/ieeefloat.html
with m.State("special_cases"):
# https://steve.hollasch.net/cgindex/coding/ieeefloat.html
with m.State("special_cases"):