Remove code for hybrid formal proof, unused
authorJean THOMAS <git0@pub.jeanthomas.me>
Mon, 22 Jun 2020 15:51:31 +0000 (17:51 +0200)
committerJean THOMAS <git0@pub.jeanthomas.me>
Mon, 22 Jun 2020 15:51:31 +0000 (17:51 +0200)
gram/test/utils/formal.py

index dfbd63e03c650529fe447c485964f64b8ce26cec..cc3b87a078c62e886f3c2b40477efa36e2558ae1 100644 (file)
@@ -66,14 +66,6 @@ class FHDLTestCase(unittest.TestCase):
         if os.path.exists(os.path.join(spec_dir, spec_name)):
             shutil.rmtree(os.path.join(spec_dir, spec_name))
 
-        if mode == "hybrid":
-            # A mix of BMC and k-induction, as per personal
-            # communication with Clifford Wolf.
-            script = "setattr -unset init w:* a:nmigen.sample_reg %d"
-            mode   = "bmc"
-        else:
-            script = ""
-
         config = textwrap.dedent("""\
         [options]
         mode {mode}
@@ -86,7 +78,6 @@ class FHDLTestCase(unittest.TestCase):
         [script]
         read_ilang top.il
         prep
-        {script}
 
         [file top.il]
         {rtlil}