projects
/
ieee754fpu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
268fcd9
)
whoops, self.width not self.m_width
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Mon, 18 Feb 2019 21:10:07 +0000
(21:10 +0000)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Mon, 18 Feb 2019 21:10:07 +0000
(21:10 +0000)
src/add/fmul.py
patch
|
blob
|
history
diff --git
a/src/add/fmul.py
b/src/add/fmul.py
index c5e3f9d253fc2a43382e597e30a786ef4d98fa4f..deb9ffff803c2c0fc64afa6b01acf245ace196b0 100644
(file)
--- a/
src/add/fmul.py
+++ b/
src/add/fmul.py
@@
-24,7
+24,7
@@
class FPMUL(FPBase):
b = FPNum(self.width, False)
z = FPNum(self.width, False)
- mw = (self.
m_
width)*2 - 1 + 3 # sticky/round/guard bits + (2*mant) - 1
+ mw = (self.width)*2 - 1 + 3 # sticky/round/guard bits + (2*mant) - 1
product = Signal(mw)
of = Overflow()