projects
/
ieee754fpu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7fc2cf
)
FPADDBasePipe derives from ControlBase, must return ControlBase.elaborate
author
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Sat, 27 Apr 2019 13:23:37 +0000
(14:23 +0100)
committer
Luke Kenneth Casson Leighton
<lkcl@lkcl.net>
Sat, 27 Apr 2019 13:23:37 +0000
(14:23 +0100)
src/add/fpadd/pipeline.py
patch
|
blob
|
history
diff --git
a/src/add/fpadd/pipeline.py
b/src/add/fpadd/pipeline.py
index 5e116b9f6262612732e13120b332e5701dec005b..e244ee60e2f373d917de6eaeaca4a6e7f74d9f32 100644
(file)
--- a/
src/add/fpadd/pipeline.py
+++ b/
src/add/fpadd/pipeline.py
@@
-26,8
+26,10
@@
class FPADDBasePipe(ControlBase):
self.pipe2 = FPAddAlignSingleAdd(width, id_wid)
self.pipe3 = FPNormToPack(width, id_wid)
+ self._eqs = self.connect([self.pipe1, self.pipe2, self.pipe3])
+
def elaborate(self, platform):
- m =
Module(
)
+ m =
ControlBase.elaborate(self, platform
)
m.submodules.scnorm = self.pipe1
m.submodules.addalign = self.pipe2
m.submodules.normpack = self.pipe3