Skip to content

Commit 128ed9c

Browse files
authored
Merge pull request #541 from hzeller/20230829-undef-clashing-macro
Undef a macro that clashes with a UHDM class.
2 parents 5661b7d + 9641539 commit 128ed9c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

systemverilog-plugin/uhdmastshared.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33

44
#include "frontends/ast/ast.h"
55

6+
// Yosys defines a 'cover' macro in implicitly included kernel/log.h
7+
// that clashes with cover-class in UHDM
8+
#undef cover
9+
610
#include <string>
711
#include <uhdm/uhdm.h>
812
#include <uhdm/vpi_user.h>

0 commit comments

Comments
 (0)