move FU IntegerData to directory below
[soc.git] / src / soc / fu / pipe_data.py
1 from ieee754.fpcommon.getop import FPPipeContext
2
3
4 class IntegerData:
5
6 def __init__(self, pspec):
7 self.ctx = FPPipeContext(pspec)
8 self.muxid = self.ctx.muxid
9
10 def __iter__(self):
11 yield from self.ctx
12
13 def eq(self, i):
14 return [self.ctx.eq(i.ctx)]
15
16 def ports(self):
17 return self.ctx.ports()