From: Luke Kenneth Casson Leighton Date: Mon, 11 May 2020 10:47:26 +0000 (+0100) Subject: add docstring, missing return module X-Git-Tag: div_pipeline~1291 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6021754aa0e3bf44c689657d8d3eff4beeb941fd;p=soc.git add docstring, missing return module --- diff --git a/src/soc/alu/rotator.py b/src/soc/alu/rotator.py index a763021a..05b6b19b 100644 --- a/src/soc/alu/rotator.py +++ b/src/soc/alu/rotator.py @@ -1,3 +1,6 @@ +# Manual translation and adaptation of rotator.vhdl from microwatt into nmigen +# + from soc.alu.rotl import ROTL #note BE bit numbering @@ -130,3 +133,4 @@ class Rotator(Elaboratable): with m.If(output_mode = 0b11): comb += carry_out.eq(rs & ~ml) + return m