aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/log.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/log.h')
-rw-r--r--kernel/log.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/kernel/log.h b/kernel/log.h
index 2c3597c9a..f6dcc0ac2 100644
--- a/kernel/log.h
+++ b/kernel/log.h
@@ -57,6 +57,8 @@ template<typename T> static inline const char *log_id(T *obj) {
return log_id(obj->name);
}
+void log_cell(RTLIL::Cell *cell, std::string indent = "");
+
#define log_abort() log_error("Abort in %s:%d.\n", __FILE__, __LINE__)
#define log_assert(_assert_expr_) do { if (_assert_expr_) break; log_error("Assert `%s' failed in %s:%d.\n", #_assert_expr_, __FILE__, __LINE__); } while (0)