summaryrefslogtreecommitdiff
path: root/kernel/log.cc
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/log.cc')
-rw-r--r--kernel/log.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/log.cc b/kernel/log.cc
index 09673dc2..1f082603 100644
--- a/kernel/log.cc
+++ b/kernel/log.cc
@@ -238,6 +238,7 @@ void log_cell(RTLIL::Cell *cell, std::string indent)
// ---------------------------------------------------
// This is the magic behind the code coverage counters
// ---------------------------------------------------
+#ifdef COVER_ACTIVE
std::map<std::string, std::pair<std::string, int>> extra_coverage_data;
@@ -283,5 +284,7 @@ std::map<std::string, std::pair<std::string, int>> get_coverage_data()
return coverage_data;
}
+#endif
+
YOSYS_NAMESPACE_END