projects
/
ieee754fpu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2ead31
)
Fix handling of FPPipeContext.ports()
author
Michael Nolan
<mtnolan2640@gmail.com>
Sat, 16 May 2020 15:16:29 +0000
(11:16 -0400)
committer
Michael Nolan
<mtnolan2640@gmail.com>
Sat, 16 May 2020 15:16:29 +0000
(11:16 -0400)
src/ieee754/fpcommon/getop.py
patch
|
blob
|
history
diff --git
a/src/ieee754/fpcommon/getop.py
b/src/ieee754/fpcommon/getop.py
index 117d29223d23ab8176382e76b2dd129382735721..294d6e49884b1bba0e2eb99eeffb988da19a3d17 100644
(file)
--- a/
src/ieee754/fpcommon/getop.py
+++ b/
src/ieee754/fpcommon/getop.py
@@
-74,7
+74,10
@@
class FPPipeContext:
yield self.op
def ports(self):
- return list(self)
+ if hasattr(self.op, "ports"):
+ return [self.muxid] + self.op.ports()
+ else:
+ return list(self)
class FPGet2OpMod(PrevControl):