Call log_error() instead of log_warning() on unsupported cell type in FIRRTL backend.
authorJim Lawson <ucbjrl@berkeley.edu>
Wed, 24 Jul 2019 20:33:16 +0000 (13:33 -0700)
committerJim Lawson <ucbjrl@berkeley.edu>
Wed, 24 Jul 2019 20:33:16 +0000 (13:33 -0700)
backends/firrtl/firrtl.cc

index 1c7a7351fba0157fbefb7445159fe2d718d006c5..b7a798b85254e59b493d5c1231d326f03f2e8f0d 100644 (file)
@@ -833,7 +833,7 @@ struct FirrtlWorker
                                register_reverse_wire_map(y_id, cell->getPort("\\Y"));
                                continue;
                        }
-                       log_warning("Cell type not supported: %s (%s.%s)\n", log_id(cell->type), log_id(module), log_id(cell));
+                       log_error("Cell type not supported: %s (%s.%s)\n", log_id(cell->type), log_id(module), log_id(cell));
                }
 
                for (auto conn : module->connections())