projects
/
ieee754fpu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
create a new "MaskedFullAdder" class, which performs the partition-carry mask
[ieee754fpu.git]
/
src
/
ieee754
/
fpcommon
/
basedata.py
diff --git
a/src/ieee754/fpcommon/basedata.py
b/src/ieee754/fpcommon/basedata.py
index 056ad44ccd634102bf13c06604cfab25977f73d7..197ae96f3f0fe07199471db7f0c382ae21e7c7ef 100644
(file)
--- a/
src/ieee754/fpcommon/basedata.py
+++ b/
src/ieee754/fpcommon/basedata.py
@@
-7,8
+7,9
@@
from ieee754.fpcommon.getop import FPPipeContext
class FPBaseData:
- def __init__(self, pspec
, n_ops=2
):
+ def __init__(self, pspec):
width = pspec.width
+ n_ops = pspec.n_ops
self.ctx = FPPipeContext(pspec)
ops = []
for i in range(n_ops):