Skip to content

Commit

Permalink
Merge pull request #541 from hzeller/20230829-undef-clashing-macro
Browse files Browse the repository at this point in the history
Undef a macro that clashes with a UHDM class.
  • Loading branch information
tgorochowik authored Aug 30, 2023
2 parents 5661b7d + 9641539 commit 128ed9c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions systemverilog-plugin/uhdmastshared.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 <string>
#include <uhdm/uhdm.h>
#include <uhdm/vpi_user.h>
Expand Down

0 comments on commit 128ed9c

Please sign in to comment.