add ternlogi to shiftrot
[soc.git] / src / soc / fu / bitmanip / output_stage.py
1 # This stage is intended to handle the gating of carry and overflow
2 # out, summary overflow generation, and updating the condition
3 # register
4 from soc.fu.common_output_stage import CommonOutputStage
5 from soc.fu.bitmanip.pipe_data import (BitManipOutputData,
6 BitManipOutputDataFinal)
7
8
9 class BitManipOutputStage(CommonOutputStage):
10
11 def ispec(self):
12 return BitManipOutputData(self.pspec)
13
14 def ospec(self):
15 return BitManipOutputDataFinal(self.pspec)