splitnets: skip modules with processes.
authorwhitequark <whitequark@whitequark.org>
Wed, 11 Dec 2019 02:14:23 +0000 (02:14 +0000)
committerwhitequark <whitequark@whitequark.org>
Fri, 3 Apr 2020 11:27:19 +0000 (11:27 +0000)
passes/cmds/splitnets.cc

index bf693e3d468b4a03e810b229fb23805a4040a5a0..1e7dedd7088650a8aa92e9445760531aa5335869 100644 (file)
@@ -141,6 +141,9 @@ struct SplitnetsPass : public Pass {
 
                for (auto module : design->selected_modules())
                {
+                       if (module->has_processes_warn())
+                               continue;
+
                        SplitnetsWorker worker;
 
                        if (flag_ports)