diff options
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/log.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/log.cc b/kernel/log.cc index 09673dc2e..1f0826039 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 |