Skip to content

Commit

Permalink
Add a couple of missing uhdm headers.
Browse files Browse the repository at this point in the history
  • Loading branch information
hzeller committed Nov 13, 2024
1 parent f41571a commit ec658e1
Show file tree
Hide file tree
Showing 18 changed files with 88 additions and 12 deletions.
9 changes: 6 additions & 3 deletions include/Surelog/Design/ModuleDefinition.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,15 @@
#include <functional>
#include <map>
#include <string>
#include <string_view>
#include <vector>

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

#include <string_view>
#include <vector>
#include <uhdm/gen_stmt.h>
#include <uhdm/module_array.h>
#include <uhdm/ref_module.h>
#include <uhdm/udp_defn.h>

namespace SURELOG {

Expand Down
1 change: 1 addition & 0 deletions include/Surelog/Design/ModuleInstance.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
#include <Surelog/SourceCompile/VObjectTypes.h>
#include <uhdm/Serializer.h>
#include <uhdm/expr.h>
#include <uhdm/module_array.h>

#include <cstdint>
#include <map>
Expand Down
3 changes: 3 additions & 0 deletions include/Surelog/DesignCompile/CompileClass.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@
#include <set>
#include <string>

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

namespace SURELOG {

struct FunctorCompileClass {
Expand Down
2 changes: 2 additions & 0 deletions include/Surelog/DesignCompile/CompileDesign.h
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,9 @@

// UHDM
#include <uhdm/Serializer.h>
#include <uhdm/containers.h>
#include <uhdm/sv_vpi_user.h>
#include <uhdm/typespec.h>

#include <mutex>

Expand Down
30 changes: 28 additions & 2 deletions include/Surelog/DesignCompile/CompileHelper.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@
#include <Surelog/Design/ValuedComponentI.h>
#include <Surelog/Expression/ExprBuilder.h>
#include <Surelog/SourceCompile/VObjectTypes.h>
#include <uhdm/expr.h>
#include <uhdm/uhdm_types.h>

#include <cstdint>
#include <string>
Expand All @@ -41,8 +39,36 @@
#include <vector>

// UHDM
#include <uhdm/always.h>
#include <uhdm/array_var.h>
#include <uhdm/assignment.h>
#include <uhdm/atomic_stmt.h>
#include <uhdm/attribute.h>
#include <uhdm/clocking_block.h>
#include <uhdm/constant.h>
#include <uhdm/cont_assign.h>
#include <uhdm/containers.h>
#include <uhdm/event_control.h>
#include <uhdm/expr.h>
#include <uhdm/final_stmt.h>
#include <uhdm/function.h>
#include <uhdm/hier_path.h>
#include <uhdm/initial.h>
#include <uhdm/int_typespec.h>
#include <uhdm/io_decl.h>
#include <uhdm/method_func_call.h>
#include <uhdm/module_array.h>
#include <uhdm/module_inst.h>
#include <uhdm/primitive.h>
#include <uhdm/property_decl.h>
#include <uhdm/range.h>
#include <uhdm/ref_module.h>
#include <uhdm/sequence_decl.h>
#include <uhdm/task_func.h>
#include <uhdm/typespec.h>
#include <uhdm/typespec_member.h>
#include <uhdm/uhdm_types.h>
#include <uhdm/variables.h>

namespace SURELOG {

Expand Down
3 changes: 3 additions & 0 deletions include/Surelog/DesignCompile/CompileModule.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@

#include <cstdint>

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

namespace SURELOG {

class CompileDesign;
Expand Down
3 changes: 3 additions & 0 deletions include/Surelog/DesignCompile/CompilePackage.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@

#include <cstdint>

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

namespace SURELOG {

class CompileDesign;
Expand Down
1 change: 1 addition & 0 deletions include/Surelog/DesignCompile/CompileProgram.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@

#include <Surelog/DesignCompile/CompileHelper.h>
#include <Surelog/DesignCompile/CompileToolbox.h>
#include <uhdm/containers.h>

#include <cstdint>

Expand Down
7 changes: 4 additions & 3 deletions include/Surelog/DesignCompile/ElaborationStep.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,15 @@

#include <cstdint>
#include <map>
#include <string>
#include <string_view>
#include <vector>

// UHDM
#include <uhdm/Serializer.h>
#include <uhdm/containers.h>
#include <uhdm/uhdm_forward_decl.h>

#include <string>
#include <vector>

namespace SURELOG {

class CompileDesign;
Expand Down
8 changes: 7 additions & 1 deletion include/Surelog/DesignCompile/NetlistElaboration.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,18 @@
#include <Surelog/Common/PathId.h>
#include <Surelog/DesignCompile/CompileHelper.h>
#include <Surelog/DesignCompile/TestbenchElaboration.h>
#include <uhdm/uhdm_types.h>

#include <cstdint>
#include <map>
#include <string_view>

// UHDM
#include <uhdm/interface_array.h>
#include <uhdm/interface_inst.h>
#include <uhdm/modport.h>
#include <uhdm/typespec.h>
#include <uhdm/uhdm_types.h>

namespace SURELOG {

class CompileDesign;
Expand Down
2 changes: 2 additions & 0 deletions include/Surelog/DesignCompile/UhdmWriter.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@
#include <vector>

// UHDM
#include <uhdm/Serializer.h>
#include <uhdm/containers.h>
#include <uhdm/uhdm_forward_decl.h>

#include <string>
Expand Down
2 changes: 2 additions & 0 deletions src/DesignCompile/CompileClass.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@
#include "Surelog/Utils/StringUtils.h"

// UHDM
#include <uhdm/Serializer.h>
#include <uhdm/class_defn.h>
#include <uhdm/containers.h>

#include <cstdint>
#include <stack>
Expand Down
8 changes: 8 additions & 0 deletions src/DesignCompile/CompileModule.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,23 @@
#include "Surelog/Utils/StringUtils.h"

// UHDM
#include <uhdm/Serializer.h>
#include <uhdm/always.h>
#include <uhdm/assign_stmt.h>
#include <uhdm/assignment.h>
#include <uhdm/clocking_block.h>
#include <uhdm/constant.h>
#include <uhdm/cont_assign.h>
#include <uhdm/containers.h>
#include <uhdm/final_stmt.h>
#include <uhdm/initial.h>
#include <uhdm/io_decl.h>
#include <uhdm/logic_net.h>
#include <uhdm/module_array.h>
#include <uhdm/property_decl.h>
#include <uhdm/ref_module.h>
#include <uhdm/ref_obj.h>
#include <uhdm/sequence_decl.h>
#include <uhdm/table_entry.h>
#include <uhdm/udp_defn.h>
#include <uhdm/vpi_user.h>
Expand Down
4 changes: 4 additions & 0 deletions src/DesignCompile/CompilePackage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,11 @@
#include "Surelog/Utils/StringUtils.h"

// UHDM
#include <uhdm/Serializer.h>
#include <uhdm/containers.h>
#include <uhdm/package.h>
#include <uhdm/property_decl.h>
#include <uhdm/sequence_decl.h>

#include <cstdint>
#include <stack>
Expand Down
10 changes: 7 additions & 3 deletions src/DesignCompile/CompileProgram.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@

#include "Surelog/DesignCompile/CompileProgram.h"

#include <uhdm/final_stmt.h>
#include <uhdm/initial.h>

#include <cstdint>
#include <stack>
#include <string>
Expand All @@ -47,6 +44,13 @@
#include "Surelog/Testbench/Program.h"
#include "Surelog/Utils/StringUtils.h"

// UHDM
#include <uhdm/containers.h>
#include <uhdm/final_stmt.h>
#include <uhdm/initial.h>
#include <uhdm/property_decl.h>
#include <uhdm/sequence_decl.h>

namespace SURELOG {

int32_t FunctorCompileProgram::operator()() const {
Expand Down
1 change: 1 addition & 0 deletions src/DesignCompile/ResolveSymbols.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
#include "Surelog/Utils/StringUtils.h"

// UHDM
#include <uhdm/Serializer.h>
#include <uhdm/package.h>

#include <cstdint>
Expand Down
4 changes: 4 additions & 0 deletions src/DesignCompile/TestbenchElaboration.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,14 @@
#include "Surelog/Utils/StringUtils.h"

// UHDM
#include <uhdm/Serializer.h>
#include <uhdm/class_defn.h>
#include <uhdm/class_typespec.h>
#include <uhdm/containers.h>
#include <uhdm/expr.h>
#include <uhdm/extends.h>
#include <uhdm/named_event.h>
#include <uhdm/range.h>
#include <uhdm/ref_typespec.h>
#include <uhdm/uhdm_types.h>

Expand Down
2 changes: 2 additions & 0 deletions src/Testbench/ClassDefinition.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
*/
#include "Surelog/Testbench/ClassDefinition.h"

#include <uhdm/class_defn.h>

#include <cstdint>
#include <string_view>

Expand Down

0 comments on commit ec658e1

Please sign in to comment.