Skip to content

Commit

Permalink
Include vpi_user.h and sv_vpi_user.h in files using constants from th…
Browse files Browse the repository at this point in the history
…ere.
  • Loading branch information
hzeller committed Nov 11, 2024
1 parent 3fc8ee5 commit 5d7d05e
Show file tree
Hide file tree
Showing 14 changed files with 22 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/DesignCompile/CompileExpression.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,9 @@
#include <uhdm/ElaboratorListener.h>
#include <uhdm/ExprEval.h>
#include <uhdm/clone_tree.h>
#include <uhdm/sv_vpi_user.h>
#include <uhdm/uhdm.h>
#include <uhdm/vpi_user.h>
#include <uhdm/vpi_visitor.h>

namespace SURELOG {
Expand Down
2 changes: 2 additions & 0 deletions src/DesignCompile/CompileHelper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,9 @@
#include <uhdm/ExprEval.h>
#include <uhdm/VpiListener.h>
#include <uhdm/clone_tree.h>
#include <uhdm/sv_vpi_user.h>
#include <uhdm/uhdm.h>
#include <uhdm/vpi_user.h>

#include <climits>
#include <cstdint>
Expand Down
1 change: 1 addition & 0 deletions src/DesignCompile/CompileHelper_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
#include <gtest/gtest.h>
#include <uhdm/Serializer.h>
#include <uhdm/constant.h>
#include <uhdm/vpi_user.h>

#include <cstdint>
#include <limits>
Expand Down
1 change: 1 addition & 0 deletions src/DesignCompile/CompileModule.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
#include <uhdm/ref_obj.h>
#include <uhdm/table_entry.h>
#include <uhdm/udp_defn.h>
#include <uhdm/vpi_user.h>

#include <cstdint>
#include <stack>
Expand Down
2 changes: 2 additions & 0 deletions src/DesignCompile/CompileStmt.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,9 @@

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

#include <cstdint>
#include <functional>
Expand Down
1 change: 1 addition & 0 deletions src/DesignCompile/CompileType.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
#include <uhdm/ExprEval.h>
#include <uhdm/clone_tree.h>
#include <uhdm/uhdm.h>
#include <uhdm/vpi_user.h>

#include <cstdint>
#include <stack>
Expand Down
2 changes: 2 additions & 0 deletions src/DesignCompile/DesignElaboration.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@
#include <uhdm/ElaboratorListener.h>
#include <uhdm/ExprEval.h>
#include <uhdm/clone_tree.h>
#include <uhdm/sv_vpi_user.h>
#include <uhdm/uhdm.h>
#include <uhdm/vpi_user.h>

#include <cstdint>
#include <cstring>
Expand Down
1 change: 1 addition & 0 deletions src/DesignCompile/ElaborationStep.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@
#include <uhdm/ElaboratorListener.h>
#include <uhdm/ExprEval.h>
#include <uhdm/clone_tree.h>
#include <uhdm/sv_vpi_user.h>
#include <uhdm/uhdm.h>
#include <uhdm/vpi_visitor.h>

Expand Down
2 changes: 2 additions & 0 deletions src/DesignCompile/NetlistElaboration.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,9 @@
#include <uhdm/ElaboratorListener.h>
#include <uhdm/ExprEval.h>
#include <uhdm/clone_tree.h>
#include <uhdm/sv_vpi_user.h>
#include <uhdm/uhdm.h>
#include <uhdm/vpi_user.h>

namespace SURELOG {

Expand Down
3 changes: 3 additions & 0 deletions src/DesignCompile/UhdmWriter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,10 @@
#include <uhdm/UhdmLint.h>
#include <uhdm/VpiListener.h>
#include <uhdm/clone_tree.h>
#include <uhdm/sv_vpi_user.h>
#include <uhdm/uhdm.h>
#include <uhdm/vpi_uhdm.h>
#include <uhdm/vpi_user.h>
#include <uhdm/vpi_visitor.h>

namespace SURELOG {
Expand Down
1 change: 1 addition & 0 deletions src/DesignCompile/Uhdm_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
// UHDM
#include <uhdm/design.h>
#include <uhdm/uhdm.h>
#include <uhdm/vpi_user.h>

namespace SURELOG {

Expand Down
1 change: 1 addition & 0 deletions src/hellodesign.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
#include <uhdm/ElaboratorListener.h>
#include <uhdm/VpiListener.h>
#include <uhdm/uhdm.h>
#include <uhdm/vpi_user.h>

class DesignListener final : public UHDM::VpiListener {
void enterModule_inst(const UHDM::module_inst *object,
Expand Down
1 change: 1 addition & 0 deletions src/hellouhdm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
#include <uhdm/ElaboratorListener.h>
#include <uhdm/VpiListener.h>
#include <uhdm/uhdm.h>
#include <uhdm/vpi_user.h>

int main(int argc, const char** argv) {
// Read command line, compile a design, use -parse argument
Expand Down
2 changes: 2 additions & 0 deletions src/roundtrip.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,9 @@
#include <uhdm/ElaboratorListener.h>
#include <uhdm/UhdmListener.h>
#include <uhdm/VpiListener.h>
#include <uhdm/sv_vpi_user.h>
#include <uhdm/uhdm.h>
#include <uhdm/vpi_user.h>

#include <algorithm>
#include <cstdint>
Expand Down

0 comments on commit 5d7d05e

Please sign in to comment.