moved to div pipe temporarily in compunits
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sat, 22 Aug 2020 15:07:22 +0000 (16:07 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Sat, 22 Aug 2020 15:07:22 +0000 (16:07 +0100)
src/soc/fu/compunits/compunits.py

index 9cf44a9924faafd76eb5649b3978e7f656a9785a..c5756fbae0daa46d97d3bdece800e1132c3af591 100644 (file)
@@ -73,6 +73,7 @@ from soc.fu.trap.pipe_data import TrapPipeSpec
 
 from soc.fu.div.pipeline import DivBasePipe
 from soc.fu.div.pipe_data import DivPipeSpecFSMDivCore
+from soc.fu.div.pipe_data import DivPipeSpecDivPipeCore
 
 from soc.fu.mul.pipeline import MulBasePipe
 from soc.fu.mul.pipe_data import MulPipeSpec
@@ -162,7 +163,8 @@ class DivFunctionUnit(FunctionUnitBaseSingle):
     fnunit = Function.DIV
 
     def __init__(self, idx):
-        super().__init__(DivPipeSpecFSMDivCore, DivBasePipe, idx)
+        #super().__init__(DivPipeSpecFSMDivCore, DivBasePipe, idx)
+        super().__init__(DivPipeSpecDivPipeCore, DivBasePipe, idx)
 
 
 class MulFunctionUnit(FunctionUnitBaseSingle):