From: Luke Kenneth Casson Leighton Date: Sat, 9 May 2020 13:56:02 +0000 (+0100) Subject: remove unneeded class X-Git-Tag: div_pipeline~1320 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ee6b62124278d63b2cd67bad3b4fba9890e16c4f;p=soc.git remove unneeded class --- diff --git a/src/soc/alu/pipe_data.py b/src/soc/alu/pipe_data.py index fe76aeb7..083ca105 100644 --- a/src/soc/alu/pipe_data.py +++ b/src/soc/alu/pipe_data.py @@ -17,25 +17,6 @@ class IntegerData: return [self.ctx.eq(i.ctx)] -class ALUFirstInputData(IntegerData): - def __init__(self, pspec): - super().__init__(pspec) - self.a = Signal(64, reset_less=True) - self.b = Signal(64, reset_less=True) - self.so = Signal(reset_less=True) - - def __iter__(self): - yield from super().__iter__() - yield self.a - yield self.b - yield self.so - - def eq(self, i): - lst = super().eq(i) - return lst + [self.a.eq(i.a), self.b.eq(i.b), - self.so.eq(i.so)] - - class ALUInputData(IntegerData): def __init__(self, pspec): super().__init__(pspec)