from soc.fu.trap.pipe_data import TrapPipeSpec
from soc.fu.div.pipeline import DivBasePipe
-from soc.fu.div.pipe_data import DivPipeSpecDivPipeCore
+from soc.fu.div.pipe_data import DivPipeSpecFSMDivCore
from soc.fu.mul.pipeline import MulBasePipe
from soc.fu.mul.pipe_data import MulPipeSpec
fnunit = Function.DIV
def __init__(self, idx):
- super().__init__(DivPipeSpecDivPipeCore, DivBasePipe, idx)
+ super().__init__(DivPipeSpecFSMDivCore, DivBasePipe, idx)
class MulFunctionUnit(FunctionUnitBaseSingle):
if __name__ == '__main__':
units = {'alu': 1, 'cr': 1, 'branch': 1, 'trap': 1, 'logical': 1,
'spr': 1,
+ 'div': 1,
'mul': 1,
'shiftrot': 1}
pspec = TestMemPspec(ldst_ifacetype='bare_wb',
if __name__ == '__main__':
units = {'alu': 1, 'cr': 1, 'branch': 1, 'trap': 1, 'logical': 1,
'spr': 1,
+ 'div': 1,
'mul': 1,
'shiftrot': 1}
pspec = TestMemPspec(ldst_ifacetype='bare_wb',