projects
/
ieee754fpu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1e3a15f
)
get test_mul.py running
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Thu, 2 May 2019 17:43:00 +0000
(18:43 +0100)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Thu, 2 May 2019 17:43:00 +0000
(18:43 +0100)
src/ieee754/fpmul/fmul.py
patch
|
blob
|
history
diff --git
a/src/ieee754/fpmul/fmul.py
b/src/ieee754/fpmul/fmul.py
index e7454384f5ef1e6711db971473dd64d541ba3b41..d775671c7f685a7be8d56c240a55f77096611995 100644
(file)
--- a/
src/ieee754/fpmul/fmul.py
+++ b/
src/ieee754/fpmul/fmul.py
@@
-14,8
+14,11
@@
class FPMUL(FPBase):
self.width = width
self.in_a = FPOpIn(width)
self.width = width
self.in_a = FPOpIn(width)
+ self.in_a.data_i = Signal(width)
self.in_b = FPOpIn(width)
self.in_b = FPOpIn(width)
+ self.in_b.data_i = Signal(width)
self.out_z = FPOpOut(width)
self.out_z = FPOpOut(width)
+ self.out_z.data_o = Signal(width)
self.states = []
self.states = []
@@
-52,14
+55,14
@@
class FPMUL(FPBase):
with m.State("get_a"):
res = self.get_op(m, self.in_a, a, "get_b")
with m.State("get_a"):
res = self.get_op(m, self.in_a, a, "get_b")
- m.d.sync += eq([a, self.in_a.
ack
], res)
+ m.d.sync += eq([a, self.in_a.
ready_o
], res)
# ******
# gets operand b
with m.State("get_b"):
res = self.get_op(m, self.in_b, b, "special_cases")
# ******
# gets operand b
with m.State("get_b"):
res = self.get_op(m, self.in_b, b, "special_cases")
- m.d.sync += eq([b, self.in_b.
ack
], res)
+ m.d.sync += eq([b, self.in_b.
ready_o
], res)
# ******
# special cases
# ******
# special cases