Minor cleanup of comments
authorMichael Nolan <mtnolan2640@gmail.com>
Mon, 25 May 2020 18:12:01 +0000 (14:12 -0400)
committerMichael Nolan <mtnolan2640@gmail.com>
Mon, 25 May 2020 18:12:01 +0000 (14:12 -0400)
src/soc/fu/compunits/formal/proof_fu.py

index 0944fbaaca87dacf6853bbb746f5bd4ab3935729..0644587b6f3a5ff8473c1199437ba6c4d5e37899 100644 (file)
@@ -45,17 +45,18 @@ class Driver(Elaboratable):
         with m.Else():
             comb += Assume(rst == 0)
 
-            # Property One: Rd_rel should never be asserted before issue
-
             # detect when issue has been raised and remember it
             with m.If(issue):
                 sync += has_issued.eq(1)
                 comb += Cover(has_issued)
-            # If issue has never been raised, then rd_rel should never be raised
+
+            # Property One: Rd_rel should never be asserted before issue
+
+            # If issue has never been raised, then rd_rel should never
+            # be raised
             with m.If(rd_rel != 0):
                 comb += Assert(has_issued)
 
-
             # Property Two: when rd_rel is asserted, it should stay
             # that way until a go_rd
             with m.If((Past(go_rd) == 0) & ~Past(go_die)):
@@ -75,8 +76,6 @@ class Driver(Elaboratable):
                 with m.If(Past(go_die)):
                     comb += Assert(rd_rel == 0)
 
-            # Property 
-
             comb += Cover(Fell(rd_rel))
 
             # Assume no instruction is issued until rd_rel is
@@ -84,10 +83,6 @@ class Driver(Elaboratable):
 
             with m.If((rd_rel != 0) | (Past(rd_rel) != 0)):
                 comb += Assume(issue == 0)
-        
-
-
-
 
         return m