abc9_ops: demote lack of box timing info to warning
authorEddie Hung <eddie@fpgeh.com>
Fri, 14 Feb 2020 21:26:00 +0000 (13:26 -0800)
committerEddie Hung <eddie@fpgeh.com>
Thu, 27 Feb 2020 18:17:29 +0000 (10:17 -0800)
passes/techmap/abc9_ops.cc

index dad39828a9fa9e6552a8f2a6e8573c1821d1ce5b..fc2f52157790ca48e6eebd23ee510b90a5626fa2 100644 (file)
@@ -669,8 +669,10 @@ void prep_box(RTLIL::Design *design, bool dff_mode)
                ss << std::endl;
 
                auto &t = timing.setup_module(module).comb;
-               if (t.empty())
-                       log_error("(* abc9_box *) module '%s' has no timing information.\n", log_id(module));
+               if (t.empty()) {
+                       log_warning("(* abc9_box *) module '%s' has no timing (and thus no connectivity) information.\n", log_id(module));
+                       continue;
+               }
 
                for (const auto &o : outputs) {
                        first = true;