self.dividend_neg = Signal(reset_less=True)
self.div_by_zero = Signal(reset_less=True)
- # set if an overflow for divide extended instructions is detected because
- # `abs_dividend >= abs_divisor` for the appropriate bit width;
+ # set if an overflow for divide extended instructions is detected
+ # because `abs_dividend >= abs_divisor` for the appropriate bit width;
# 0 if the instruction is not a divide extended instruction
self.dive_abs_overflow_32 = Signal(reset_less=True)
self.dive_abs_overflow_64 = Signal(reset_less=True)
from soc.fu.alu.input_stage import ALUInputStage
from soc.fu.alu.output_stage import ALUOutputStage
from soc.fu.div.setup_stage import DivSetupStage
-from soc.fu.div.core_stages import DivCoreSetupStage, DivCoreCalculateStage, DivCoreFinalStage
+from soc.fu.div.core_stages import (DivCoreSetupStage, DivCoreCalculateStage,
+ DivCoreFinalStage)
from soc.fu.div.output_stage import DivOutputStage