projects
/
ieee754fpu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix handling of FPPipeContext.ports()
[ieee754fpu.git]
/
src
/
ieee754
/
fpcommon
/
getop.py
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):