move Logical over to use CompLogicalOpSubset
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Thu, 21 May 2020 19:35:33 +0000 (20:35 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Thu, 21 May 2020 19:35:36 +0000 (20:35 +0100)
src/soc/fu/logical/pipe_data.py

index 27e2a694efd3beb0f8b4f5540c4590deb917208f..332fd60e5db4ec434dd3423c7105dd15c94f7b67 100644 (file)
@@ -2,7 +2,7 @@ from nmigen import Signal, Const
 from ieee754.fpcommon.getop import FPPipeContext
 from soc.fu.pipe_data import IntegerData
 from soc.fu.alu.pipe_data import ALUOutputData, CommonPipeSpec
-from soc.fu.alu.alu_input_record import CompALUOpSubset # TODO: replace
+from soc.fu.logical.logical_input_record import CompLogicalOpSubset
 
 
 class LogicalInputData(IntegerData):
@@ -31,7 +31,6 @@ class LogicalInputData(IntegerData):
                       self.xer_so.eq(i.xer_so)]
 
 
-# TODO: replace CompALUOpSubset with CompLogicalOpSubset
 class LogicalPipeSpec(CommonPipeSpec):
     regspec = (LogicalInputData.regspec, ALUOutputData.regspec)
-    opsubsetkls = CompALUOpSubset
+    opsubsetkls = CompLogicalOpSubset