add TODO and link to SHIFT_ROT formal bugreport
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 22 May 2020 20:37:46 +0000 (21:37 +0100)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Fri, 22 May 2020 20:37:46 +0000 (21:37 +0100)
src/soc/fu/shift_rot/formal/proof_main_stage.py

index 8ae7b62940691a13988f4d111d92d9e80cc8fdf6..6f03f1a678250afa2e9190368440bdabf3e69ae3 100644 (file)
@@ -1,5 +1,9 @@
 # Proof of correctness for partitioned equal signal combiner
 # Copyright (C) 2020 Michael Nolan <mtnolan2640@gmail.com>
+"""
+Links:
+* https://bugs.libre-soc.org/show_bug.cgi?id=340
+"""
 
 from nmigen import (Module, Signal, Elaboratable, Mux, Cat, Repl,
                     signed)
@@ -86,6 +90,10 @@ class Driver(Elaboratable):
                         comb += Assert(o[32:64] == Repl(a[31], 32))
                     with m.Else():
                         comb += Assert(o == (a_signed >> b[0:7]))
+            #TODO 
+            #with m.Case(InternalOp.OP_RLC):
+            #with m.Case(InternalOp.OP_RLCR):
+            #with m.Case(InternalOp.OP_RLCL):
 
         return m