Skip to content

Commit

Permalink
Change UHDM includes to the new standard UHDM include location.
Browse files Browse the repository at this point in the history
Since the following PRs
chipsalliance/UHDM#488
chipsalliance/Surelog#1827
... the new location of uhdm headers is prefixed with
uhdm, such as <uhdm/foo.h>

Signed-off-by: Henner Zeller <[email protected]>
  • Loading branch information
hzeller authored and tpagarani committed Nov 23, 2021
1 parent 224dd22 commit 4f0d953
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
4 changes: 1 addition & 3 deletions uhdm-plugin/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ SOURCES = UhdmAst.cc \

include ../Makefile_plugin.common

CPPFLAGS += -std=c++17 -I${UHDM_INSTALL_DIR}/include/uhdm \
-I${UHDM_INSTALL_DIR}/include/uhdm/include \
-I${UHDM_INSTALL_DIR}/include/uhdm/headers \
CPPFLAGS += -std=c++17 -I${UHDM_INSTALL_DIR}/include \
-I${UHDM_INSTALL_DIR}/include/surelog

CXXFLAGS += -Wno-inconsistent-missing-override -Wno-unused-parameter
Expand Down
6 changes: 4 additions & 2 deletions uhdm-plugin/UhdmAst.cc
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,11 @@
#include "UhdmAst.h"
#include "frontends/ast/ast.h"
#include "frontends/verilog/verilog_frontend.h"
#include "headers/uhdm.h"
#include "libs/sha1/sha1.h"
#include "vpi_user.h"

// UHDM
#include <uhdm/uhdm.h>
#include <uhdm/vpi_user.h>

YOSYS_NAMESPACE_BEGIN

Expand Down
2 changes: 1 addition & 1 deletion uhdm-plugin/UhdmAst.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
#include <vector>
#undef cover

#include "uhdm.h"
#include "uhdmastshared.h"
#include <uhdm/uhdm.h>

YOSYS_NAMESPACE_BEGIN

Expand Down
2 changes: 1 addition & 1 deletion uhdm-plugin/uhdmastreport.cc
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#include "uhdmastreport.h"
#include "BaseClass.h"
#include "frontends/ast/ast.h"
#include <fstream>
#include <sys/stat.h>
#include <uhdm/BaseClass.h>
#include <unordered_set>

YOSYS_NAMESPACE_BEGIN
Expand Down
2 changes: 1 addition & 1 deletion uhdm-plugin/uhdmastreport.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#include <string>
#include <unordered_map>
#undef cover
#include "headers/uhdm.h"
#include <uhdm/uhdm.h>

YOSYS_NAMESPACE_BEGIN

Expand Down
4 changes: 2 additions & 2 deletions uhdm-plugin/uhdmsurelogastfrontend.cc
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
#include <unistd.h>
#endif

#include "ErrorReporting/Report.h"
#include "surelog.h"
#include "surelog/ErrorReporting/Report.h"
#include "surelog/surelog.h"

namespace UHDM
{
Expand Down

0 comments on commit 4f0d953

Please sign in to comment.