1 # This stage is intended to handle the gating of carry and overflow
2 # out, summary overflow generation, and updating the condition
4 from nmigen
import (Module
, Signal
, Cat
, Repl
)
5 from nmutil
.pipemodbase
import PipeModBase
6 from soc
.fu
.common_output_stage
import CommonOutputStage
7 from soc
.fu
.logical
.pipe_data
import (LogicalInputData
, LogicalOutputData
,
8 LogicalOutputDataFinal
)
9 from ieee754
.part
.partsig
import SimdSignal
10 from openpower
.decoder
.power_enums
import MicrOp
13 class LogicalOutputStage(CommonOutputStage
):
16 return LogicalOutputData(self
.pspec
)
19 return LogicalOutputDataFinal(self
.pspec
)