diff --git a/systemverilog-plugin/uhdmastshared.h b/systemverilog-plugin/uhdmastshared.h index 56481b7b..1dcd2601 100644 --- a/systemverilog-plugin/uhdmastshared.h +++ b/systemverilog-plugin/uhdmastshared.h @@ -3,6 +3,10 @@ #include "frontends/ast/ast.h" +// Yosys defines a 'cover' macro in implicitly included kernel/log.h +// that clashes with cover-class in UHDM +#undef cover + #include #include #include