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 from ieee754
.part
.partsig
import PartitionedSignal
9 from soc
.decoder
.power_enums
import MicrOp
12 class LogicalOutputStage(CommonOutputStage
):
15 return LogicalOutputData(self
.pspec
)
18 return LogicalOutputData(self
.pspec
)