move part_sig_add name
authorLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Thu, 20 Feb 2020 17:27:10 +0000 (17:27 +0000)
committerLuke Kenneth Casson Leighton <lkcl@lkcl.net>
Thu, 20 Feb 2020 17:27:10 +0000 (17:27 +0000)
examples/part_sig_add.py

index 5a868b446ded8770c42203d8acb1d4c6cf320d9f..0113e0425b5f64b306c1b592c5cb9c2d1fdae805 100644 (file)
@@ -14,15 +14,15 @@ def test():
                                 module.b.sig,
                                 module.add_output,
                                 module.eq_output],
-                               "top")
+                               "part_sig_add")
                             
 def run_yosys(test_name):
     liberty_file = os.getenv("HOME")+"/coriolis-2.x/src/alliance-check-toolkit/cells/nsxlib/nsxlib.lib"
     print("test_name:",test_name)
     cmd = [
-        "read_ilang top.il",
-        "hierarchy -check -top top",
-        "synth -top top",
+        "read_ilang part_sig_add.il",
+        "hierarchy -check -top part_sig_add",
+        "synth -top part_sig_add",
         "dfflibmap -liberty "+liberty_file,
         "abc -liberty "+liberty_file,
         "clean",
@@ -35,7 +35,7 @@ def create_ilang(dut, ports, test_name):
     vl = rtlil.convert(dut, name=test_name, ports=ports)
     with open("%s.il" % test_name, "w") as f:
         f.write(vl)
-    run_yosys(test_name)
+    #run_yosys(test_name)
 
 
 if __name__ == "__main__":