From 1458310ec8786740e3d49fc833742ff338ac42d3 Mon Sep 17 00:00:00 2001 From: Henner Zeller Date: Sun, 10 Nov 2024 10:07:48 -0800 Subject: [PATCH 1/4] Include cstdint for all files that use u?int.._t. --- include/Surelog/API/PythonAPI.h | 1 + include/Surelog/API/SLAPI.h | 1 + include/Surelog/Cache/Cache.h | 1 + include/Surelog/Cache/PPCache.h | 2 ++ include/Surelog/CommandLine/CommandLineParser.h | 1 + include/Surelog/Common/PlatformFileSystem.h | 1 + include/Surelog/Design/Design.h | 1 + include/Surelog/Design/DesignComponent.h | 1 + include/Surelog/Design/DesignElement.h | 1 + include/Surelog/Design/Enum.h | 1 + include/Surelog/Design/FileContent.h | 1 + include/Surelog/Design/ModuleDefinition.h | 1 + include/Surelog/Design/ModuleInstance.h | 1 + include/Surelog/Design/TimeInfo.h | 1 + include/Surelog/Design/VObject.h | 1 + include/Surelog/Design/ValuedComponentI.h | 1 + include/Surelog/DesignCompile/CompileClass.h | 1 + include/Surelog/DesignCompile/CompileDesign.h | 1 + include/Surelog/DesignCompile/CompileFileContent.h | 2 ++ include/Surelog/DesignCompile/CompileHelper.h | 1 + include/Surelog/DesignCompile/CompileModule.h | 2 ++ include/Surelog/DesignCompile/CompilePackage.h | 2 ++ include/Surelog/DesignCompile/CompileProgram.h | 2 ++ include/Surelog/DesignCompile/CompileStep.h | 1 + include/Surelog/DesignCompile/DesignElaboration.h | 1 + include/Surelog/DesignCompile/ElaborationStep.h | 1 + include/Surelog/DesignCompile/NetlistElaboration.h | 1 + include/Surelog/DesignCompile/ResolveSymbols.h | 1 + include/Surelog/DesignCompile/UhdmChecker.h | 1 + include/Surelog/DesignCompile/UhdmWriter.h | 1 + include/Surelog/ErrorReporting/ErrorContainer.h | 1 + include/Surelog/ErrorReporting/Location.h | 1 + include/Surelog/ErrorReporting/LogListener.h | 1 + include/Surelog/Expression/ExprBuilder.h | 1 + include/Surelog/Package/Package.h | 1 + include/Surelog/SourceCompile/AnalyzeFile.h | 1 + include/Surelog/SourceCompile/AntlrParserErrorListener.h | 1 + include/Surelog/SourceCompile/CommonListenerHelper.h | 1 + include/Surelog/SourceCompile/CompilationUnit.h | 1 + include/Surelog/SourceCompile/CompileSourceFile.h | 1 + include/Surelog/SourceCompile/IncludeFileInfo.h | 2 ++ include/Surelog/SourceCompile/MacroInfo.h | 1 + include/Surelog/SourceCompile/ParseFile.h | 1 + include/Surelog/SourceCompile/PreprocessFile.h | 1 + include/Surelog/SourceCompile/SV3_1aPpTreeListenerHelper.h | 1 + include/Surelog/SourceCompile/SV3_1aTreeShapeHelper.h | 1 + include/Surelog/Testbench/ClassDefinition.h | 1 + include/Surelog/Testbench/Program.h | 1 + include/Surelog/Utils/ParseUtils.h | 1 + include/Surelog/Utils/StringUtils.h | 1 + src/API/PythonAPI.cpp | 1 + src/API/SLAPI.cpp | 1 + src/API/SV3_1aPythonListener.cpp | 2 ++ src/Cache/Cache.cpp | 1 + src/Cache/PPCache.cpp | 1 + src/Cache/ParseCache.cpp | 1 + src/Cache/PythonAPICache.cpp | 1 + src/CommandLine/CommandLineParser.cpp | 1 + src/Common/FileSystem.cpp | 1 + src/Common/PlatformFileSystem.cpp | 1 + src/Common/PlatformFileSystem_test.cpp | 1 + src/Design/DefParam.cpp | 1 + src/Design/Design.cpp | 1 + src/Design/DesignElement.cpp | 1 + src/Design/FileContent.cpp | 1 + src/Design/ModuleDefinition.cpp | 1 + src/Design/ModuleInstance.cpp | 1 + src/Design/TimeInfo.cpp | 1 + src/Design/ValuedComponentI.cpp | 1 + src/DesignCompile/CompileAssertion.cpp | 1 + src/DesignCompile/CompileClass.cpp | 1 + src/DesignCompile/CompileDesign.cpp | 1 + src/DesignCompile/CompileExpression.cpp | 1 + src/DesignCompile/CompileFileContent.cpp | 1 + src/DesignCompile/CompileHelper.cpp | 1 + src/DesignCompile/CompileHelper_test.cpp | 1 + src/DesignCompile/CompileModule.cpp | 1 + src/DesignCompile/CompilePackage.cpp | 1 + src/DesignCompile/CompileProgram.cpp | 1 + src/DesignCompile/CompileStmt.cpp | 1 + src/DesignCompile/CompileType.cpp | 1 + src/DesignCompile/DesignElaboration.cpp | 1 + src/DesignCompile/ElaborationStep.cpp | 1 + src/DesignCompile/Elaboration_test.cpp | 1 + src/DesignCompile/EvalFunc.cpp | 1 + src/DesignCompile/NetlistElaboration.cpp | 1 + src/DesignCompile/ResolveSymbols.cpp | 1 + src/DesignCompile/TestbenchElaboration.cpp | 1 + src/DesignCompile/UhdmChecker.cpp | 1 + src/DesignCompile/UhdmWriter.cpp | 1 + src/ErrorReporting/Error.cpp | 1 + src/ErrorReporting/ErrorContainer.cpp | 1 + src/ErrorReporting/ErrorDefinition.cpp | 1 + src/ErrorReporting/LogListener.cpp | 1 + src/ErrorReporting/Report.cpp | 1 + src/ErrorReporting/Waiver.cpp | 1 + src/Expression/ExprBuilder.cpp | 1 + src/Expression/ExprBuilder_test.cpp | 1 + src/Expression/Value.cpp | 1 + src/Package/Package.cpp | 1 + src/SourceCompile/AnalyzeFile.cpp | 1 + src/SourceCompile/AntlrParserErrorListener.cpp | 1 + src/SourceCompile/CommonListenerHelper.cpp | 1 + src/SourceCompile/CompilationUnit.cpp | 1 + src/SourceCompile/CompileSourceFile.cpp | 1 + src/SourceCompile/Compiler.cpp | 1 + src/SourceCompile/MacroInfo.cpp | 1 + src/SourceCompile/ParseFile.cpp | 1 + src/SourceCompile/PreprocessFile.cpp | 1 + src/SourceCompile/SV3_1aPpTreeListenerHelper.cpp | 1 + src/SourceCompile/SV3_1aPpTreeShapeListener.cpp | 1 + src/SourceCompile/SV3_1aTreeShapeHelper.cpp | 1 + src/SourceCompile/SV3_1aTreeShapeListener.cpp | 1 + src/SourceCompile/SymbolTable_test.cpp | 1 + src/Testbench/ClassDefinition.cpp | 1 + src/Testbench/Program.cpp | 1 + src/Utils/NumUtils.cpp | 1 + src/Utils/NumUtils_test.cpp | 2 ++ src/Utils/ParseUtils.cpp | 1 + src/hellodesign.cpp | 1 + src/hellosureworld.cpp | 1 + src/main.cpp | 1 + src/roundtrip.cpp | 1 + 123 files changed, 131 insertions(+) diff --git a/include/Surelog/API/PythonAPI.h b/include/Surelog/API/PythonAPI.h index 5302d560d6..e382a4d6e5 100644 --- a/include/Surelog/API/PythonAPI.h +++ b/include/Surelog/API/PythonAPI.h @@ -25,6 +25,7 @@ #define SURELOG_PYTHONAPI_H #pragma once +#include #include #include #include diff --git a/include/Surelog/API/SLAPI.h b/include/Surelog/API/SLAPI.h index 720ae5cfd4..bdc6bf9c3d 100644 --- a/include/Surelog/API/SLAPI.h +++ b/include/Surelog/API/SLAPI.h @@ -28,6 +28,7 @@ #include #include +#include #include #include diff --git a/include/Surelog/Cache/Cache.h b/include/Surelog/Cache/Cache.h index b11b89ea93..d666ae8286 100644 --- a/include/Surelog/Cache/Cache.h +++ b/include/Surelog/Cache/Cache.h @@ -29,6 +29,7 @@ #include #include +#include #include #include diff --git a/include/Surelog/Cache/PPCache.h b/include/Surelog/Cache/PPCache.h index 44bafc9d58..a1544fa549 100644 --- a/include/Surelog/Cache/PPCache.h +++ b/include/Surelog/Cache/PPCache.h @@ -28,6 +28,8 @@ #include #include +#include + namespace SURELOG { class PreprocessFile; diff --git a/include/Surelog/CommandLine/CommandLineParser.h b/include/Surelog/CommandLine/CommandLineParser.h index 75a8f19b24..ca76b41804 100644 --- a/include/Surelog/CommandLine/CommandLineParser.h +++ b/include/Surelog/CommandLine/CommandLineParser.h @@ -28,6 +28,7 @@ #include #include +#include #include #include #include diff --git a/include/Surelog/Common/PlatformFileSystem.h b/include/Surelog/Common/PlatformFileSystem.h index f76420ffa9..057f862303 100644 --- a/include/Surelog/Common/PlatformFileSystem.h +++ b/include/Surelog/Common/PlatformFileSystem.h @@ -27,6 +27,7 @@ #include +#include #include #include #include diff --git a/include/Surelog/Design/Design.h b/include/Surelog/Design/Design.h index 8bb8cfff86..84c93df77f 100644 --- a/include/Surelog/Design/Design.h +++ b/include/Surelog/Design/Design.h @@ -29,6 +29,7 @@ #include #include +#include #include #include #include diff --git a/include/Surelog/Design/DesignComponent.h b/include/Surelog/Design/DesignComponent.h index 4c22f949fc..e347c611b6 100644 --- a/include/Surelog/Design/DesignComponent.h +++ b/include/Surelog/Design/DesignComponent.h @@ -34,6 +34,7 @@ #include #include +#include #include #include #include diff --git a/include/Surelog/Design/DesignElement.h b/include/Surelog/Design/DesignElement.h index 768abd860a..c722b5927b 100644 --- a/include/Surelog/Design/DesignElement.h +++ b/include/Surelog/Design/DesignElement.h @@ -30,6 +30,7 @@ #include #include +#include #include namespace SURELOG { diff --git a/include/Surelog/Design/Enum.h b/include/Surelog/Design/Enum.h index 28775b7b32..9eb217c83c 100644 --- a/include/Surelog/Design/Enum.h +++ b/include/Surelog/Design/Enum.h @@ -28,6 +28,7 @@ #include #include +#include #include #include #include diff --git a/include/Surelog/Design/FileContent.h b/include/Surelog/Design/FileContent.h index 1491fa1e4d..8ae61d523a 100644 --- a/include/Surelog/Design/FileContent.h +++ b/include/Surelog/Design/FileContent.h @@ -30,6 +30,7 @@ #include #include +#include #include #include #include diff --git a/include/Surelog/Design/ModuleDefinition.h b/include/Surelog/Design/ModuleDefinition.h index 558decd145..b65e99592a 100644 --- a/include/Surelog/Design/ModuleDefinition.h +++ b/include/Surelog/Design/ModuleDefinition.h @@ -31,6 +31,7 @@ #include #include +#include #include #include #include diff --git a/include/Surelog/Design/ModuleInstance.h b/include/Surelog/Design/ModuleInstance.h index ee6dfbb6ac..77208a2b44 100644 --- a/include/Surelog/Design/ModuleInstance.h +++ b/include/Surelog/Design/ModuleInstance.h @@ -32,6 +32,7 @@ #include #include +#include #include #include #include diff --git a/include/Surelog/Design/TimeInfo.h b/include/Surelog/Design/TimeInfo.h index 09a6e039a7..5996cfaddd 100644 --- a/include/Surelog/Design/TimeInfo.h +++ b/include/Surelog/Design/TimeInfo.h @@ -28,6 +28,7 @@ #include #include +#include #include namespace SURELOG { diff --git a/include/Surelog/Design/VObject.h b/include/Surelog/Design/VObject.h index c7bde4015b..e1d56d1db0 100644 --- a/include/Surelog/Design/VObject.h +++ b/include/Surelog/Design/VObject.h @@ -30,6 +30,7 @@ #include #include +#include #include #include #include diff --git a/include/Surelog/Design/ValuedComponentI.h b/include/Surelog/Design/ValuedComponentI.h index 520a95aa93..0954da3df0 100644 --- a/include/Surelog/Design/ValuedComponentI.h +++ b/include/Surelog/Design/ValuedComponentI.h @@ -28,6 +28,7 @@ #include #include +#include #include // UHDM diff --git a/include/Surelog/DesignCompile/CompileClass.h b/include/Surelog/DesignCompile/CompileClass.h index fdd72f132c..12a7ad77b6 100644 --- a/include/Surelog/DesignCompile/CompileClass.h +++ b/include/Surelog/DesignCompile/CompileClass.h @@ -28,6 +28,7 @@ #include #include +#include #include #include diff --git a/include/Surelog/DesignCompile/CompileDesign.h b/include/Surelog/DesignCompile/CompileDesign.h index 3038559bb7..907567609b 100644 --- a/include/Surelog/DesignCompile/CompileDesign.h +++ b/include/Surelog/DesignCompile/CompileDesign.h @@ -27,6 +27,7 @@ #include +#include #include #include diff --git a/include/Surelog/DesignCompile/CompileFileContent.h b/include/Surelog/DesignCompile/CompileFileContent.h index 035084f7be..b550770a63 100644 --- a/include/Surelog/DesignCompile/CompileFileContent.h +++ b/include/Surelog/DesignCompile/CompileFileContent.h @@ -27,6 +27,8 @@ #include +#include + namespace SURELOG { class CompileDesign; diff --git a/include/Surelog/DesignCompile/CompileHelper.h b/include/Surelog/DesignCompile/CompileHelper.h index d4ce370d0c..0179523245 100644 --- a/include/Surelog/DesignCompile/CompileHelper.h +++ b/include/Surelog/DesignCompile/CompileHelper.h @@ -30,6 +30,7 @@ #include #include +#include #include #include #include diff --git a/include/Surelog/DesignCompile/CompileModule.h b/include/Surelog/DesignCompile/CompileModule.h index b2b3c66229..0487a2bc05 100644 --- a/include/Surelog/DesignCompile/CompileModule.h +++ b/include/Surelog/DesignCompile/CompileModule.h @@ -27,6 +27,8 @@ #include +#include + namespace SURELOG { class CompileDesign; diff --git a/include/Surelog/DesignCompile/CompilePackage.h b/include/Surelog/DesignCompile/CompilePackage.h index f96716875f..3577d16fba 100644 --- a/include/Surelog/DesignCompile/CompilePackage.h +++ b/include/Surelog/DesignCompile/CompilePackage.h @@ -27,6 +27,8 @@ #include +#include + namespace SURELOG { class CompileDesign; diff --git a/include/Surelog/DesignCompile/CompileProgram.h b/include/Surelog/DesignCompile/CompileProgram.h index 6deeb4e81f..68197b4966 100644 --- a/include/Surelog/DesignCompile/CompileProgram.h +++ b/include/Surelog/DesignCompile/CompileProgram.h @@ -28,6 +28,8 @@ #include #include +#include + namespace SURELOG { class CompileDesign; diff --git a/include/Surelog/DesignCompile/CompileStep.h b/include/Surelog/DesignCompile/CompileStep.h index e0f2c6431f..fa04116458 100644 --- a/include/Surelog/DesignCompile/CompileStep.h +++ b/include/Surelog/DesignCompile/CompileStep.h @@ -29,6 +29,7 @@ #include #include +#include #include #include diff --git a/include/Surelog/DesignCompile/DesignElaboration.h b/include/Surelog/DesignCompile/DesignElaboration.h index 7b668312c2..451e3d8892 100644 --- a/include/Surelog/DesignCompile/DesignElaboration.h +++ b/include/Surelog/DesignCompile/DesignElaboration.h @@ -28,6 +28,7 @@ #include #include +#include #include #include #include diff --git a/include/Surelog/DesignCompile/ElaborationStep.h b/include/Surelog/DesignCompile/ElaborationStep.h index 33a47c8f6f..e5417350bf 100644 --- a/include/Surelog/DesignCompile/ElaborationStep.h +++ b/include/Surelog/DesignCompile/ElaborationStep.h @@ -29,6 +29,7 @@ #include #include +#include #include #include diff --git a/include/Surelog/DesignCompile/NetlistElaboration.h b/include/Surelog/DesignCompile/NetlistElaboration.h index 5fd78c7e2d..368c3f1c78 100644 --- a/include/Surelog/DesignCompile/NetlistElaboration.h +++ b/include/Surelog/DesignCompile/NetlistElaboration.h @@ -27,6 +27,7 @@ #include +#include #include #include diff --git a/include/Surelog/DesignCompile/ResolveSymbols.h b/include/Surelog/DesignCompile/ResolveSymbols.h index da58aa0404..aea6101614 100644 --- a/include/Surelog/DesignCompile/ResolveSymbols.h +++ b/include/Surelog/DesignCompile/ResolveSymbols.h @@ -28,6 +28,7 @@ #include #include +#include #include #include #include diff --git a/include/Surelog/DesignCompile/UhdmChecker.h b/include/Surelog/DesignCompile/UhdmChecker.h index 7ba160661d..9eb1b6018d 100644 --- a/include/Surelog/DesignCompile/UhdmChecker.h +++ b/include/Surelog/DesignCompile/UhdmChecker.h @@ -27,6 +27,7 @@ #include +#include #include #include #include diff --git a/include/Surelog/DesignCompile/UhdmWriter.h b/include/Surelog/DesignCompile/UhdmWriter.h index 27d2b2945e..5d7592e272 100644 --- a/include/Surelog/DesignCompile/UhdmWriter.h +++ b/include/Surelog/DesignCompile/UhdmWriter.h @@ -29,6 +29,7 @@ #include #include +#include #include #include #include diff --git a/include/Surelog/ErrorReporting/ErrorContainer.h b/include/Surelog/ErrorReporting/ErrorContainer.h index 711481bf6c..1deeb0f359 100644 --- a/include/Surelog/ErrorReporting/ErrorContainer.h +++ b/include/Surelog/ErrorReporting/ErrorContainer.h @@ -27,6 +27,7 @@ #include +#include #include #include #include diff --git a/include/Surelog/ErrorReporting/Location.h b/include/Surelog/ErrorReporting/Location.h index 9d73ea9686..a3fdfc451c 100644 --- a/include/Surelog/ErrorReporting/Location.h +++ b/include/Surelog/ErrorReporting/Location.h @@ -28,6 +28,7 @@ #include #include +#include #include namespace SURELOG { diff --git a/include/Surelog/ErrorReporting/LogListener.h b/include/Surelog/ErrorReporting/LogListener.h index 761b553850..b95b79011e 100644 --- a/include/Surelog/ErrorReporting/LogListener.h +++ b/include/Surelog/ErrorReporting/LogListener.h @@ -27,6 +27,7 @@ #include +#include #include #include #include diff --git a/include/Surelog/Expression/ExprBuilder.h b/include/Surelog/Expression/ExprBuilder.h index db32798555..9f61f2a69d 100644 --- a/include/Surelog/Expression/ExprBuilder.h +++ b/include/Surelog/Expression/ExprBuilder.h @@ -27,6 +27,7 @@ #include +#include #include namespace SURELOG { diff --git a/include/Surelog/Package/Package.h b/include/Surelog/Package/Package.h index 3936d715e2..f8308ceceb 100644 --- a/include/Surelog/Package/Package.h +++ b/include/Surelog/Package/Package.h @@ -29,6 +29,7 @@ #include #include +#include #include // UHDM diff --git a/include/Surelog/SourceCompile/AnalyzeFile.h b/include/Surelog/SourceCompile/AnalyzeFile.h index 9727d827b6..80902edae0 100644 --- a/include/Surelog/SourceCompile/AnalyzeFile.h +++ b/include/Surelog/SourceCompile/AnalyzeFile.h @@ -29,6 +29,7 @@ #include #include +#include #include #include #include diff --git a/include/Surelog/SourceCompile/AntlrParserErrorListener.h b/include/Surelog/SourceCompile/AntlrParserErrorListener.h index 121707d41c..a4741b9b66 100644 --- a/include/Surelog/SourceCompile/AntlrParserErrorListener.h +++ b/include/Surelog/SourceCompile/AntlrParserErrorListener.h @@ -28,6 +28,7 @@ #include #include +#include #include #include diff --git a/include/Surelog/SourceCompile/CommonListenerHelper.h b/include/Surelog/SourceCompile/CommonListenerHelper.h index 2d343c9ec8..8da22848aa 100644 --- a/include/Surelog/SourceCompile/CommonListenerHelper.h +++ b/include/Surelog/SourceCompile/CommonListenerHelper.h @@ -29,6 +29,7 @@ #include #include +#include #include #include #include diff --git a/include/Surelog/SourceCompile/CompilationUnit.h b/include/Surelog/SourceCompile/CompilationUnit.h index 4c183ae3b3..8563fa2f73 100644 --- a/include/Surelog/SourceCompile/CompilationUnit.h +++ b/include/Surelog/SourceCompile/CompilationUnit.h @@ -29,6 +29,7 @@ #include #include +#include #include #include diff --git a/include/Surelog/SourceCompile/CompileSourceFile.h b/include/Surelog/SourceCompile/CompileSourceFile.h index 2c1bcd14e1..c318fb6e27 100644 --- a/include/Surelog/SourceCompile/CompileSourceFile.h +++ b/include/Surelog/SourceCompile/CompileSourceFile.h @@ -28,6 +28,7 @@ #include #include +#include #include #include #include diff --git a/include/Surelog/SourceCompile/IncludeFileInfo.h b/include/Surelog/SourceCompile/IncludeFileInfo.h index b4e0b622b1..5ee58ef986 100644 --- a/include/Surelog/SourceCompile/IncludeFileInfo.h +++ b/include/Surelog/SourceCompile/IncludeFileInfo.h @@ -28,6 +28,8 @@ #include #include +#include + namespace SURELOG { class IncludeFileInfo { diff --git a/include/Surelog/SourceCompile/MacroInfo.h b/include/Surelog/SourceCompile/MacroInfo.h index f6c5d67ad2..50cd67a9fe 100644 --- a/include/Surelog/SourceCompile/MacroInfo.h +++ b/include/Surelog/SourceCompile/MacroInfo.h @@ -27,6 +27,7 @@ #include +#include #include #include #include diff --git a/include/Surelog/SourceCompile/ParseFile.h b/include/Surelog/SourceCompile/ParseFile.h index 579b749c44..26e3beb391 100644 --- a/include/Surelog/SourceCompile/ParseFile.h +++ b/include/Surelog/SourceCompile/ParseFile.h @@ -27,6 +27,7 @@ #include +#include #include #include #include diff --git a/include/Surelog/SourceCompile/PreprocessFile.h b/include/Surelog/SourceCompile/PreprocessFile.h index d490ccb931..5276131cd1 100644 --- a/include/Surelog/SourceCompile/PreprocessFile.h +++ b/include/Surelog/SourceCompile/PreprocessFile.h @@ -31,6 +31,7 @@ #include #include +#include #include #include #include diff --git a/include/Surelog/SourceCompile/SV3_1aPpTreeListenerHelper.h b/include/Surelog/SourceCompile/SV3_1aPpTreeListenerHelper.h index f6bca88e0a..05a4de108f 100644 --- a/include/Surelog/SourceCompile/SV3_1aPpTreeListenerHelper.h +++ b/include/Surelog/SourceCompile/SV3_1aPpTreeListenerHelper.h @@ -31,6 +31,7 @@ #include #include +#include #include #include #include diff --git a/include/Surelog/SourceCompile/SV3_1aTreeShapeHelper.h b/include/Surelog/SourceCompile/SV3_1aTreeShapeHelper.h index 13497cb5c3..a69eeb1eda 100644 --- a/include/Surelog/SourceCompile/SV3_1aTreeShapeHelper.h +++ b/include/Surelog/SourceCompile/SV3_1aTreeShapeHelper.h @@ -32,6 +32,7 @@ #include #include +#include #include #include #include diff --git a/include/Surelog/Testbench/ClassDefinition.h b/include/Surelog/Testbench/ClassDefinition.h index 594ebffe33..bc040e06b5 100644 --- a/include/Surelog/Testbench/ClassDefinition.h +++ b/include/Surelog/Testbench/ClassDefinition.h @@ -30,6 +30,7 @@ #include #include +#include #include #include #include diff --git a/include/Surelog/Testbench/Program.h b/include/Surelog/Testbench/Program.h index cd7c44fcb1..5b0a8942ee 100644 --- a/include/Surelog/Testbench/Program.h +++ b/include/Surelog/Testbench/Program.h @@ -30,6 +30,7 @@ #include #include +#include #include // UHDM diff --git a/include/Surelog/Utils/ParseUtils.h b/include/Surelog/Utils/ParseUtils.h index e18c319c0d..fb08dffc23 100644 --- a/include/Surelog/Utils/ParseUtils.h +++ b/include/Surelog/Utils/ParseUtils.h @@ -27,6 +27,7 @@ #include +#include #include #include #include diff --git a/include/Surelog/Utils/StringUtils.h b/include/Surelog/Utils/StringUtils.h index b26a0a7bee..2638ca8fe4 100644 --- a/include/Surelog/Utils/StringUtils.h +++ b/include/Surelog/Utils/StringUtils.h @@ -25,6 +25,7 @@ #define SURELOG_STRINGUTILS_H #pragma once +#include #include #include #include diff --git a/src/API/PythonAPI.cpp b/src/API/PythonAPI.cpp index 3941b97abd..5f69513e2f 100644 --- a/src/API/PythonAPI.cpp +++ b/src/API/PythonAPI.cpp @@ -25,6 +25,7 @@ #include +#include #include #include diff --git a/src/API/SLAPI.cpp b/src/API/SLAPI.cpp index f950025395..ef315dc311 100644 --- a/src/API/SLAPI.cpp +++ b/src/API/SLAPI.cpp @@ -30,6 +30,7 @@ #include +#include #include #include #include diff --git a/src/API/SV3_1aPythonListener.cpp b/src/API/SV3_1aPythonListener.cpp index 452a77f4ec..da25c90ffb 100644 --- a/src/API/SV3_1aPythonListener.cpp +++ b/src/API/SV3_1aPythonListener.cpp @@ -23,6 +23,8 @@ #include "Surelog/API/SV3_1aPythonListener.h" +#include + #include "Surelog/ErrorReporting/ErrorContainer.h" #include "Surelog/SourceCompile/PythonListen.h" #include "Surelog/SourceCompile/SymbolTable.h" diff --git a/src/Cache/Cache.cpp b/src/Cache/Cache.cpp index fa0f3bd915..f85c816a73 100644 --- a/src/Cache/Cache.cpp +++ b/src/Cache/Cache.cpp @@ -25,6 +25,7 @@ #include +#include #include #include #include diff --git a/src/Cache/PPCache.cpp b/src/Cache/PPCache.cpp index dced474aa0..d384b3faca 100644 --- a/src/Cache/PPCache.cpp +++ b/src/Cache/PPCache.cpp @@ -28,6 +28,7 @@ #include #include +#include #include #include #include diff --git a/src/Cache/ParseCache.cpp b/src/Cache/ParseCache.cpp index fa58904e6e..f4ddbb8b82 100644 --- a/src/Cache/ParseCache.cpp +++ b/src/Cache/ParseCache.cpp @@ -28,6 +28,7 @@ #include #include +#include #include #include #include diff --git a/src/Cache/PythonAPICache.cpp b/src/Cache/PythonAPICache.cpp index 219b241893..cd3e9cb83c 100644 --- a/src/Cache/PythonAPICache.cpp +++ b/src/Cache/PythonAPICache.cpp @@ -28,6 +28,7 @@ #include #include +#include #include #include #include diff --git a/src/CommandLine/CommandLineParser.cpp b/src/CommandLine/CommandLineParser.cpp index 78cf950580..570ec4fb0e 100644 --- a/src/CommandLine/CommandLineParser.cpp +++ b/src/CommandLine/CommandLineParser.cpp @@ -23,6 +23,7 @@ #include "Surelog/CommandLine/CommandLineParser.h" +#include #include #include #include diff --git a/src/Common/FileSystem.cpp b/src/Common/FileSystem.cpp index 01a551ddd9..b373347d1d 100644 --- a/src/Common/FileSystem.cpp +++ b/src/Common/FileSystem.cpp @@ -29,6 +29,7 @@ #define NOMINMAX #include +#include #include #include #include diff --git a/src/Common/PlatformFileSystem.cpp b/src/Common/PlatformFileSystem.cpp index 2d1f6d0f69..913846b13d 100644 --- a/src/Common/PlatformFileSystem.cpp +++ b/src/Common/PlatformFileSystem.cpp @@ -23,6 +23,7 @@ #include "Surelog/Common/PlatformFileSystem.h" +#include #include #include #include diff --git a/src/Common/PlatformFileSystem_test.cpp b/src/Common/PlatformFileSystem_test.cpp index 7cef6c2aeb..9e8416bae0 100644 --- a/src/Common/PlatformFileSystem_test.cpp +++ b/src/Common/PlatformFileSystem_test.cpp @@ -25,6 +25,7 @@ #include +#include #include #include #include diff --git a/src/Design/DefParam.cpp b/src/Design/DefParam.cpp index bb213be762..ad2181b6a9 100644 --- a/src/Design/DefParam.cpp +++ b/src/Design/DefParam.cpp @@ -23,6 +23,7 @@ * Created on January 7, 2018, 8:55 PM */ +#include #include #include diff --git a/src/Design/Design.cpp b/src/Design/Design.cpp index 86c48504c2..a100990d52 100644 --- a/src/Design/Design.cpp +++ b/src/Design/Design.cpp @@ -22,6 +22,7 @@ * Created on July 1, 2017, 1:23 PM */ +#include #include #include #include diff --git a/src/Design/DesignElement.cpp b/src/Design/DesignElement.cpp index 6ba400ef5a..5b09d92340 100644 --- a/src/Design/DesignElement.cpp +++ b/src/Design/DesignElement.cpp @@ -22,6 +22,7 @@ * Created on June 8, 2017, 8:05 PM */ +#include #include namespace SURELOG { diff --git a/src/Design/FileContent.cpp b/src/Design/FileContent.cpp index 0036fb8117..cca5c9da64 100644 --- a/src/Design/FileContent.cpp +++ b/src/Design/FileContent.cpp @@ -23,6 +23,7 @@ * Created on June 8, 2017, 8:22 PM */ +#include #include #include #include diff --git a/src/Design/ModuleDefinition.cpp b/src/Design/ModuleDefinition.cpp index a727e8db46..2d8768c9f9 100644 --- a/src/Design/ModuleDefinition.cpp +++ b/src/Design/ModuleDefinition.cpp @@ -23,6 +23,7 @@ * Created on October 20, 2017, 10:29 PM */ +#include #include #include diff --git a/src/Design/ModuleInstance.cpp b/src/Design/ModuleInstance.cpp index 1f8450e22b..fa9a66ee96 100644 --- a/src/Design/ModuleInstance.cpp +++ b/src/Design/ModuleInstance.cpp @@ -22,6 +22,7 @@ * Created on October 16, 2017, 10:48 PM */ +#include #include #include #include diff --git a/src/Design/TimeInfo.cpp b/src/Design/TimeInfo.cpp index de75f9d331..cdcb4ccb39 100644 --- a/src/Design/TimeInfo.cpp +++ b/src/Design/TimeInfo.cpp @@ -22,6 +22,7 @@ * * Created on June 8, 2017, 8:27 PM */ +#include #include namespace SURELOG { diff --git a/src/Design/ValuedComponentI.cpp b/src/Design/ValuedComponentI.cpp index bf49422635..3b98f782b4 100644 --- a/src/Design/ValuedComponentI.cpp +++ b/src/Design/ValuedComponentI.cpp @@ -22,6 +22,7 @@ * Created on May 20, 2019, 21:03 PM */ +#include #include #include #include diff --git a/src/DesignCompile/CompileAssertion.cpp b/src/DesignCompile/CompileAssertion.cpp index 208ea550fa..f1dfaf46e0 100644 --- a/src/DesignCompile/CompileAssertion.cpp +++ b/src/DesignCompile/CompileAssertion.cpp @@ -30,6 +30,7 @@ #include #include +#include #include #include diff --git a/src/DesignCompile/CompileClass.cpp b/src/DesignCompile/CompileClass.cpp index 7087bc3379..ea5623d400 100644 --- a/src/DesignCompile/CompileClass.cpp +++ b/src/DesignCompile/CompileClass.cpp @@ -40,6 +40,7 @@ // UHDM #include +#include #include #include #include diff --git a/src/DesignCompile/CompileDesign.cpp b/src/DesignCompile/CompileDesign.cpp index 9ca467e502..2968d5f2a9 100644 --- a/src/DesignCompile/CompileDesign.cpp +++ b/src/DesignCompile/CompileDesign.cpp @@ -55,6 +55,7 @@ #include #include +#include #include #include #include diff --git a/src/DesignCompile/CompileExpression.cpp b/src/DesignCompile/CompileExpression.cpp index 27ba8e13d3..34d51918ad 100644 --- a/src/DesignCompile/CompileExpression.cpp +++ b/src/DesignCompile/CompileExpression.cpp @@ -23,6 +23,7 @@ #include #include +#include #include #include #include diff --git a/src/DesignCompile/CompileFileContent.cpp b/src/DesignCompile/CompileFileContent.cpp index 06129ec325..933b0f26be 100644 --- a/src/DesignCompile/CompileFileContent.cpp +++ b/src/DesignCompile/CompileFileContent.cpp @@ -23,6 +23,7 @@ #include "Surelog/DesignCompile/CompileFileContent.h" +#include #include #include diff --git a/src/DesignCompile/CompileHelper.cpp b/src/DesignCompile/CompileHelper.cpp index 6759d4b787..6f3f2fd023 100644 --- a/src/DesignCompile/CompileHelper.cpp +++ b/src/DesignCompile/CompileHelper.cpp @@ -63,6 +63,7 @@ #include #include +#include #include #include #include diff --git a/src/DesignCompile/CompileHelper_test.cpp b/src/DesignCompile/CompileHelper_test.cpp index 77366165c0..a5f900a626 100644 --- a/src/DesignCompile/CompileHelper_test.cpp +++ b/src/DesignCompile/CompileHelper_test.cpp @@ -20,6 +20,7 @@ #include #include +#include #include #include diff --git a/src/DesignCompile/CompileModule.cpp b/src/DesignCompile/CompileModule.cpp index 0f90341662..4f35fbf707 100644 --- a/src/DesignCompile/CompileModule.cpp +++ b/src/DesignCompile/CompileModule.cpp @@ -48,6 +48,7 @@ #include #include +#include #include #include #include diff --git a/src/DesignCompile/CompilePackage.cpp b/src/DesignCompile/CompilePackage.cpp index 209017e800..034d05a13d 100644 --- a/src/DesignCompile/CompilePackage.cpp +++ b/src/DesignCompile/CompilePackage.cpp @@ -37,6 +37,7 @@ // UHDM #include +#include #include #include #include diff --git a/src/DesignCompile/CompileProgram.cpp b/src/DesignCompile/CompileProgram.cpp index 00c913a8a3..6058c69b69 100644 --- a/src/DesignCompile/CompileProgram.cpp +++ b/src/DesignCompile/CompileProgram.cpp @@ -26,6 +26,7 @@ #include #include +#include #include #include #include diff --git a/src/DesignCompile/CompileStmt.cpp b/src/DesignCompile/CompileStmt.cpp index 7caf277791..de235e8ada 100644 --- a/src/DesignCompile/CompileStmt.cpp +++ b/src/DesignCompile/CompileStmt.cpp @@ -53,6 +53,7 @@ #include #include +#include #include #include #include diff --git a/src/DesignCompile/CompileType.cpp b/src/DesignCompile/CompileType.cpp index c3bbb6eb80..03a5a706b2 100644 --- a/src/DesignCompile/CompileType.cpp +++ b/src/DesignCompile/CompileType.cpp @@ -54,6 +54,7 @@ #include #include +#include #include #include #include diff --git a/src/DesignCompile/DesignElaboration.cpp b/src/DesignCompile/DesignElaboration.cpp index 0ac390c4eb..503192c779 100644 --- a/src/DesignCompile/DesignElaboration.cpp +++ b/src/DesignCompile/DesignElaboration.cpp @@ -50,6 +50,7 @@ #include #include +#include #include #include #include diff --git a/src/DesignCompile/ElaborationStep.cpp b/src/DesignCompile/ElaborationStep.cpp index 89c6ec836e..6a4ac3b064 100644 --- a/src/DesignCompile/ElaborationStep.cpp +++ b/src/DesignCompile/ElaborationStep.cpp @@ -23,6 +23,7 @@ #include "Surelog/DesignCompile/ElaborationStep.h" +#include #include #include #include diff --git a/src/DesignCompile/Elaboration_test.cpp b/src/DesignCompile/Elaboration_test.cpp index ee12b5184f..700aa0ca2f 100644 --- a/src/DesignCompile/Elaboration_test.cpp +++ b/src/DesignCompile/Elaboration_test.cpp @@ -17,6 +17,7 @@ #include #include +#include #include #include #include diff --git a/src/DesignCompile/EvalFunc.cpp b/src/DesignCompile/EvalFunc.cpp index f365a3f282..3757be1d3c 100644 --- a/src/DesignCompile/EvalFunc.cpp +++ b/src/DesignCompile/EvalFunc.cpp @@ -36,6 +36,7 @@ #include #include +#include #include #include #include diff --git a/src/DesignCompile/NetlistElaboration.cpp b/src/DesignCompile/NetlistElaboration.cpp index ab43ccef51..86e486dc1d 100644 --- a/src/DesignCompile/NetlistElaboration.cpp +++ b/src/DesignCompile/NetlistElaboration.cpp @@ -24,6 +24,7 @@ #include "Surelog/DesignCompile/NetlistElaboration.h" #include +#include #include #include #include diff --git a/src/DesignCompile/ResolveSymbols.cpp b/src/DesignCompile/ResolveSymbols.cpp index 1bb10396a0..e0c1ffefb6 100644 --- a/src/DesignCompile/ResolveSymbols.cpp +++ b/src/DesignCompile/ResolveSymbols.cpp @@ -37,6 +37,7 @@ // UHDM #include +#include #include #include #include diff --git a/src/DesignCompile/TestbenchElaboration.cpp b/src/DesignCompile/TestbenchElaboration.cpp index 0b6362186f..f14a74e0a9 100644 --- a/src/DesignCompile/TestbenchElaboration.cpp +++ b/src/DesignCompile/TestbenchElaboration.cpp @@ -43,6 +43,7 @@ #include #include +#include #include #include #include diff --git a/src/DesignCompile/UhdmChecker.cpp b/src/DesignCompile/UhdmChecker.cpp index 6ad6c05230..1e15a15c1a 100644 --- a/src/DesignCompile/UhdmChecker.cpp +++ b/src/DesignCompile/UhdmChecker.cpp @@ -40,6 +40,7 @@ #include #include +#include #include #include #include diff --git a/src/DesignCompile/UhdmWriter.cpp b/src/DesignCompile/UhdmWriter.cpp index 966519a463..f0f686bd2b 100644 --- a/src/DesignCompile/UhdmWriter.cpp +++ b/src/DesignCompile/UhdmWriter.cpp @@ -23,6 +23,7 @@ #include "Surelog/DesignCompile/UhdmWriter.h" +#include #include #include #include diff --git a/src/ErrorReporting/Error.cpp b/src/ErrorReporting/Error.cpp index f9b6aeb397..b288587c7a 100644 --- a/src/ErrorReporting/Error.cpp +++ b/src/ErrorReporting/Error.cpp @@ -23,6 +23,7 @@ #include "Surelog/ErrorReporting/Error.h" +#include #include namespace SURELOG { diff --git a/src/ErrorReporting/ErrorContainer.cpp b/src/ErrorReporting/ErrorContainer.cpp index 8fc33c5f08..a00395c2ea 100644 --- a/src/ErrorReporting/ErrorContainer.cpp +++ b/src/ErrorReporting/ErrorContainer.cpp @@ -23,6 +23,7 @@ #include "Surelog/ErrorReporting/ErrorContainer.h" +#include #include #include #include diff --git a/src/ErrorReporting/ErrorDefinition.cpp b/src/ErrorReporting/ErrorDefinition.cpp index 785da0f1eb..e6bc035584 100644 --- a/src/ErrorReporting/ErrorDefinition.cpp +++ b/src/ErrorReporting/ErrorDefinition.cpp @@ -22,6 +22,7 @@ */ #include "Surelog/ErrorReporting/ErrorDefinition.h" +#include #include #include diff --git a/src/ErrorReporting/LogListener.cpp b/src/ErrorReporting/LogListener.cpp index a0e44d752b..95c5932807 100644 --- a/src/ErrorReporting/LogListener.cpp +++ b/src/ErrorReporting/LogListener.cpp @@ -23,6 +23,7 @@ #include "Surelog/ErrorReporting/LogListener.h" +#include #include #include diff --git a/src/ErrorReporting/Report.cpp b/src/ErrorReporting/Report.cpp index 1a679d15b4..43063da498 100644 --- a/src/ErrorReporting/Report.cpp +++ b/src/ErrorReporting/Report.cpp @@ -24,6 +24,7 @@ #include "Surelog/ErrorReporting/Report.h" #include +#include #include #include #include diff --git a/src/ErrorReporting/Waiver.cpp b/src/ErrorReporting/Waiver.cpp index 55847b39dd..812df81ff9 100644 --- a/src/ErrorReporting/Waiver.cpp +++ b/src/ErrorReporting/Waiver.cpp @@ -23,6 +23,7 @@ #include "Surelog/ErrorReporting/Waiver.h" +#include #include #include #include diff --git a/src/Expression/ExprBuilder.cpp b/src/Expression/ExprBuilder.cpp index 908de03b37..43c5f2056b 100644 --- a/src/Expression/ExprBuilder.cpp +++ b/src/Expression/ExprBuilder.cpp @@ -23,6 +23,7 @@ #include "Surelog/Expression/ExprBuilder.h" #include +#include #include #include #include diff --git a/src/Expression/ExprBuilder_test.cpp b/src/Expression/ExprBuilder_test.cpp index e3cffee720..acf3d78118 100644 --- a/src/Expression/ExprBuilder_test.cpp +++ b/src/Expression/ExprBuilder_test.cpp @@ -18,6 +18,7 @@ #include +#include #include #include diff --git a/src/Expression/Value.cpp b/src/Expression/Value.cpp index 4445815d63..552d777061 100644 --- a/src/Expression/Value.cpp +++ b/src/Expression/Value.cpp @@ -24,6 +24,7 @@ #include "Surelog/Expression/Value.h" #include +#include #include #include "Surelog/Utils/NumUtils.h" diff --git a/src/Package/Package.cpp b/src/Package/Package.cpp index 2d13e0c75a..78c21ecd28 100644 --- a/src/Package/Package.cpp +++ b/src/Package/Package.cpp @@ -23,6 +23,7 @@ #include "Surelog/Package/Package.h" +#include #include #include "Surelog/Design/FileContent.h" diff --git a/src/SourceCompile/AnalyzeFile.cpp b/src/SourceCompile/AnalyzeFile.cpp index ec4d877baf..780b0b7be3 100644 --- a/src/SourceCompile/AnalyzeFile.cpp +++ b/src/SourceCompile/AnalyzeFile.cpp @@ -23,6 +23,7 @@ #include "Surelog/SourceCompile/AnalyzeFile.h" +#include #include #include #include diff --git a/src/SourceCompile/AntlrParserErrorListener.cpp b/src/SourceCompile/AntlrParserErrorListener.cpp index 0245fa258e..34284f8efa 100644 --- a/src/SourceCompile/AntlrParserErrorListener.cpp +++ b/src/SourceCompile/AntlrParserErrorListener.cpp @@ -23,6 +23,7 @@ #include "Surelog/SourceCompile/AntlrParserErrorListener.h" +#include #include #include "Surelog/Common/FileSystem.h" diff --git a/src/SourceCompile/CommonListenerHelper.cpp b/src/SourceCompile/CommonListenerHelper.cpp index a8ef4cb376..d35222c499 100644 --- a/src/SourceCompile/CommonListenerHelper.cpp +++ b/src/SourceCompile/CommonListenerHelper.cpp @@ -25,6 +25,7 @@ #include +#include #include #include diff --git a/src/SourceCompile/CompilationUnit.cpp b/src/SourceCompile/CompilationUnit.cpp index 51c26e0b70..98397465f5 100644 --- a/src/SourceCompile/CompilationUnit.cpp +++ b/src/SourceCompile/CompilationUnit.cpp @@ -22,6 +22,7 @@ */ #include "Surelog/SourceCompile/CompilationUnit.h" +#include #include #include diff --git a/src/SourceCompile/CompileSourceFile.cpp b/src/SourceCompile/CompileSourceFile.cpp index c3ad5601f4..87f4b6c4ba 100644 --- a/src/SourceCompile/CompileSourceFile.cpp +++ b/src/SourceCompile/CompileSourceFile.cpp @@ -36,6 +36,7 @@ #ifdef SURELOG_WITH_PYTHON #include +#include #include #include diff --git a/src/SourceCompile/Compiler.cpp b/src/SourceCompile/Compiler.cpp index cf369763ae..cb0e6d7ab0 100644 --- a/src/SourceCompile/Compiler.cpp +++ b/src/SourceCompile/Compiler.cpp @@ -24,6 +24,7 @@ #include "Surelog/SourceCompile/Compiler.h" #include +#include #include #include #include diff --git a/src/SourceCompile/MacroInfo.cpp b/src/SourceCompile/MacroInfo.cpp index 23eb78793a..dd64612ff3 100644 --- a/src/SourceCompile/MacroInfo.cpp +++ b/src/SourceCompile/MacroInfo.cpp @@ -23,6 +23,7 @@ #include "Surelog/SourceCompile/MacroInfo.h" +#include #include #include #include diff --git a/src/SourceCompile/ParseFile.cpp b/src/SourceCompile/ParseFile.cpp index f6e097b188..a442e11082 100644 --- a/src/SourceCompile/ParseFile.cpp +++ b/src/SourceCompile/ParseFile.cpp @@ -27,6 +27,7 @@ #include #include +#include #include #include diff --git a/src/SourceCompile/PreprocessFile.cpp b/src/SourceCompile/PreprocessFile.cpp index c70b80a39e..f8e86fa701 100644 --- a/src/SourceCompile/PreprocessFile.cpp +++ b/src/SourceCompile/PreprocessFile.cpp @@ -27,6 +27,7 @@ #include #include +#include #include #include #include diff --git a/src/SourceCompile/SV3_1aPpTreeListenerHelper.cpp b/src/SourceCompile/SV3_1aPpTreeListenerHelper.cpp index 5ecc6e9134..31c7e31be1 100644 --- a/src/SourceCompile/SV3_1aPpTreeListenerHelper.cpp +++ b/src/SourceCompile/SV3_1aPpTreeListenerHelper.cpp @@ -23,6 +23,7 @@ #include "Surelog/SourceCompile/SV3_1aPpTreeListenerHelper.h" +#include #include #include diff --git a/src/SourceCompile/SV3_1aPpTreeShapeListener.cpp b/src/SourceCompile/SV3_1aPpTreeShapeListener.cpp index 4b55bfcf0e..e4553db309 100644 --- a/src/SourceCompile/SV3_1aPpTreeShapeListener.cpp +++ b/src/SourceCompile/SV3_1aPpTreeShapeListener.cpp @@ -16,6 +16,7 @@ #include "Surelog/SourceCompile/SV3_1aPpTreeShapeListener.h" +#include #include #include #include diff --git a/src/SourceCompile/SV3_1aTreeShapeHelper.cpp b/src/SourceCompile/SV3_1aTreeShapeHelper.cpp index 2ef1129815..571b4973ce 100644 --- a/src/SourceCompile/SV3_1aTreeShapeHelper.cpp +++ b/src/SourceCompile/SV3_1aTreeShapeHelper.cpp @@ -23,6 +23,7 @@ #include "Surelog/SourceCompile/SV3_1aTreeShapeHelper.h" +#include #include #include #include diff --git a/src/SourceCompile/SV3_1aTreeShapeListener.cpp b/src/SourceCompile/SV3_1aTreeShapeListener.cpp index fe8e95f28c..f3f37c0bb4 100644 --- a/src/SourceCompile/SV3_1aTreeShapeListener.cpp +++ b/src/SourceCompile/SV3_1aTreeShapeListener.cpp @@ -23,6 +23,7 @@ #include "Surelog/SourceCompile/SV3_1aTreeShapeListener.h" +#include #include #include #include diff --git a/src/SourceCompile/SymbolTable_test.cpp b/src/SourceCompile/SymbolTable_test.cpp index 791189016d..90ac77e309 100644 --- a/src/SourceCompile/SymbolTable_test.cpp +++ b/src/SourceCompile/SymbolTable_test.cpp @@ -19,6 +19,7 @@ #include #include +#include #include #include #include diff --git a/src/Testbench/ClassDefinition.cpp b/src/Testbench/ClassDefinition.cpp index 6478835da4..e5b8c328ab 100644 --- a/src/Testbench/ClassDefinition.cpp +++ b/src/Testbench/ClassDefinition.cpp @@ -22,6 +22,7 @@ */ #include "Surelog/Testbench/ClassDefinition.h" +#include #include #include "Surelog/Design/FileContent.h" diff --git a/src/Testbench/Program.cpp b/src/Testbench/Program.cpp index 0e6eeec1a1..eff5e5b39a 100644 --- a/src/Testbench/Program.cpp +++ b/src/Testbench/Program.cpp @@ -23,6 +23,7 @@ #include "Surelog/Testbench/Program.h" +#include #include #include "Surelog/Design/DesignComponent.h" diff --git a/src/Utils/NumUtils.cpp b/src/Utils/NumUtils.cpp index 9c7d4eff7b..15bb30996f 100644 --- a/src/Utils/NumUtils.cpp +++ b/src/Utils/NumUtils.cpp @@ -24,6 +24,7 @@ #include "Surelog/Utils/NumUtils.h" #include +#include #include #include #include diff --git a/src/Utils/NumUtils_test.cpp b/src/Utils/NumUtils_test.cpp index b37a54bcc2..2eeca58434 100644 --- a/src/Utils/NumUtils_test.cpp +++ b/src/Utils/NumUtils_test.cpp @@ -18,6 +18,8 @@ #include +#include + namespace SURELOG { TEST(NumUtilsTest, ParseDecimalInt) { int64_t value; diff --git a/src/Utils/ParseUtils.cpp b/src/Utils/ParseUtils.cpp index a8dcfddf39..97243ea04a 100644 --- a/src/Utils/ParseUtils.cpp +++ b/src/Utils/ParseUtils.cpp @@ -25,6 +25,7 @@ #include +#include #include #include diff --git a/src/hellodesign.cpp b/src/hellodesign.cpp index 34aeb36e78..b16f9dd21f 100644 --- a/src/hellodesign.cpp +++ b/src/hellodesign.cpp @@ -25,6 +25,7 @@ // cd tests/UnitElabBlock // hellodesign top.v -parse -mutestdout +#include #include #include #include diff --git a/src/hellosureworld.cpp b/src/hellosureworld.cpp index a22655fb83..57b0d7d239 100644 --- a/src/hellosureworld.cpp +++ b/src/hellosureworld.cpp @@ -24,6 +24,7 @@ // Example of usage: // cd tests/UnitElabBlock // hellouhdm top.v -parse -mutestdout +#include #include #include diff --git a/src/main.cpp b/src/main.cpp index bf4aa6dfd2..f00453c216 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -25,6 +25,7 @@ #include #include +#include #include #include #else diff --git a/src/roundtrip.cpp b/src/roundtrip.cpp index e4e58c022f..b13033d685 100644 --- a/src/roundtrip.cpp +++ b/src/roundtrip.cpp @@ -30,6 +30,7 @@ #include #include +#include #include #include #include From 7e1953ea3cec897db5f3f52928981e5071a15b06 Mon Sep 17 00:00:00 2001 From: Henner Zeller Date: Sun, 10 Nov 2024 10:20:53 -0800 Subject: [PATCH 2/4] Include NodeId for all files using SURELOG::NodeId --- include/Surelog/Design/DesignComponent.h | 1 + include/Surelog/Design/DummyType.h | 1 + include/Surelog/Design/Enum.h | 1 + include/Surelog/Design/Function.h | 1 + include/Surelog/Design/ModPort.h | 1 + include/Surelog/Design/ModuleDefinition.h | 1 + include/Surelog/Design/Parameter.h | 1 + include/Surelog/Design/SimpleType.h | 1 + include/Surelog/Design/Task.h | 1 + include/Surelog/Design/TfPortItem.h | 1 + include/Surelog/Design/Union.h | 1 + include/Surelog/DesignCompile/DesignElaboration.h | 1 + include/Surelog/DesignCompile/NetlistElaboration.h | 1 + include/Surelog/DesignCompile/ResolveSymbols.h | 1 + include/Surelog/SourceCompile/SV3_1aTreeShapeHelper.h | 1 + include/Surelog/Testbench/ClassDefinition.h | 1 + include/Surelog/Testbench/FunctionMethod.h | 1 + include/Surelog/Testbench/Program.h | 1 + include/Surelog/Testbench/Property.h | 1 + include/Surelog/Testbench/TaskMethod.h | 1 + include/Surelog/Testbench/TypeDef.h | 1 + src/API/SLAPI.cpp | 1 + src/Cache/Cache.cpp | 1 + src/Cache/ParseCache.cpp | 1 + src/Design/BindStmt.cpp | 2 ++ src/Design/Design.cpp | 1 + src/Design/DesignComponent.cpp | 1 + src/Design/DesignElement.cpp | 2 ++ src/Design/DummyType.cpp | 1 + src/Design/Enum.cpp | 1 + src/Design/Parameter.cpp | 1 + src/Design/Signal.cpp | 1 + src/Design/SimpleType.cpp | 1 + src/Design/Statement.cpp | 1 + src/Design/Struct.cpp | 1 + src/Design/Union.cpp | 1 + src/Design/VObject.cpp | 1 + src/DesignCompile/CompileClass.cpp | 1 + src/DesignCompile/CompileFileContent.cpp | 1 + src/DesignCompile/CompileModule.cpp | 1 + src/DesignCompile/CompilePackage.cpp | 1 + src/DesignCompile/CompileProgram.cpp | 1 + src/DesignCompile/ElaborationStep.cpp | 1 + src/DesignCompile/NetlistElaboration.cpp | 1 + src/DesignCompile/ResolveSymbols.cpp | 1 + src/DesignCompile/TestbenchElaboration.cpp | 1 + src/DesignCompile/UhdmChecker.cpp | 1 + src/DesignCompile/UhdmWriter.cpp | 1 + src/Library/ParseLibraryDef.cpp | 1 + src/Package/Package.cpp | 1 + src/SourceCompile/CheckCompile.cpp | 1 + src/SourceCompile/CommonListenerHelper.cpp | 1 + src/SourceCompile/ParseFile_test.cpp | 1 + src/SourceCompile/SV3_1aTreeShapeHelper.cpp | 1 + src/Testbench/ClassDefinition.cpp | 1 + src/Testbench/Program.cpp | 1 + src/Testbench/TypeDef.cpp | 1 + 57 files changed, 59 insertions(+) diff --git a/include/Surelog/Design/DesignComponent.h b/include/Surelog/Design/DesignComponent.h index e347c611b6..205e4dd63d 100644 --- a/include/Surelog/Design/DesignComponent.h +++ b/include/Surelog/Design/DesignComponent.h @@ -26,6 +26,7 @@ #pragma once #include +#include #include #include #include diff --git a/include/Surelog/Design/DummyType.h b/include/Surelog/Design/DummyType.h index d9c28d6ddd..ce2cdeaafa 100644 --- a/include/Surelog/Design/DummyType.h +++ b/include/Surelog/Design/DummyType.h @@ -25,6 +25,7 @@ #define SURELOG_DUMMY_TYPE_H #pragma once +#include #include #include diff --git a/include/Surelog/Design/Enum.h b/include/Surelog/Design/Enum.h index 9eb217c83c..9048ac5ebe 100644 --- a/include/Surelog/Design/Enum.h +++ b/include/Surelog/Design/Enum.h @@ -25,6 +25,7 @@ #define SURELOG_ENUM_H #pragma once +#include #include #include diff --git a/include/Surelog/Design/Function.h b/include/Surelog/Design/Function.h index 49bc7db834..f06abe00ba 100644 --- a/include/Surelog/Design/Function.h +++ b/include/Surelog/Design/Function.h @@ -25,6 +25,7 @@ #define SURELOG_FUNCTION_H #pragma once +#include #include #include #include diff --git a/include/Surelog/Design/ModPort.h b/include/Surelog/Design/ModPort.h index 35ef9ba625..e1f565deab 100644 --- a/include/Surelog/Design/ModPort.h +++ b/include/Surelog/Design/ModPort.h @@ -25,6 +25,7 @@ #define SURELOG_MODPORT_H #pragma once +#include #include #include diff --git a/include/Surelog/Design/ModuleDefinition.h b/include/Surelog/Design/ModuleDefinition.h index b65e99592a..80295ce4c6 100644 --- a/include/Surelog/Design/ModuleDefinition.h +++ b/include/Surelog/Design/ModuleDefinition.h @@ -27,6 +27,7 @@ #include #include +#include #include #include #include diff --git a/include/Surelog/Design/Parameter.h b/include/Surelog/Design/Parameter.h index 7e52ee5bf6..36774db19e 100644 --- a/include/Surelog/Design/Parameter.h +++ b/include/Surelog/Design/Parameter.h @@ -25,6 +25,7 @@ #define SURELOG_PARAMETER_H #pragma once +#include #include #include diff --git a/include/Surelog/Design/SimpleType.h b/include/Surelog/Design/SimpleType.h index f32cb5b421..2f75d6bd46 100644 --- a/include/Surelog/Design/SimpleType.h +++ b/include/Surelog/Design/SimpleType.h @@ -25,6 +25,7 @@ #define SURELOG_SIMPLE_TYPE_H #pragma once +#include #include #include diff --git a/include/Surelog/Design/Task.h b/include/Surelog/Design/Task.h index e3105326c6..3996f2d792 100644 --- a/include/Surelog/Design/Task.h +++ b/include/Surelog/Design/Task.h @@ -25,6 +25,7 @@ #define SURELOG_TASK_H #pragma once +#include #include #include diff --git a/include/Surelog/Design/TfPortItem.h b/include/Surelog/Design/TfPortItem.h index 86e08cc7ff..cd431901a3 100644 --- a/include/Surelog/Design/TfPortItem.h +++ b/include/Surelog/Design/TfPortItem.h @@ -25,6 +25,7 @@ #define SURELOG_TFPORTITEM_H #pragma once +#include #include #include diff --git a/include/Surelog/Design/Union.h b/include/Surelog/Design/Union.h index a1064974ad..5c201edd18 100644 --- a/include/Surelog/Design/Union.h +++ b/include/Surelog/Design/Union.h @@ -25,6 +25,7 @@ #define SURELOG_UNION_H #pragma once +#include #include #include diff --git a/include/Surelog/DesignCompile/DesignElaboration.h b/include/Surelog/DesignCompile/DesignElaboration.h index 451e3d8892..d139944efd 100644 --- a/include/Surelog/DesignCompile/DesignElaboration.h +++ b/include/Surelog/DesignCompile/DesignElaboration.h @@ -25,6 +25,7 @@ #define SURELOG_DESIGNELABORATION_H #pragma once +#include #include #include diff --git a/include/Surelog/DesignCompile/NetlistElaboration.h b/include/Surelog/DesignCompile/NetlistElaboration.h index 368c3f1c78..5a53c6550d 100644 --- a/include/Surelog/DesignCompile/NetlistElaboration.h +++ b/include/Surelog/DesignCompile/NetlistElaboration.h @@ -25,6 +25,7 @@ #define SURELOG_NETLISTELABORATION_H #pragma once +#include #include #include diff --git a/include/Surelog/DesignCompile/ResolveSymbols.h b/include/Surelog/DesignCompile/ResolveSymbols.h index aea6101614..0d37e94516 100644 --- a/include/Surelog/DesignCompile/ResolveSymbols.h +++ b/include/Surelog/DesignCompile/ResolveSymbols.h @@ -25,6 +25,7 @@ #define SURELOG_RESOLVESYMBOLS_H #pragma once +#include #include #include diff --git a/include/Surelog/SourceCompile/SV3_1aTreeShapeHelper.h b/include/Surelog/SourceCompile/SV3_1aTreeShapeHelper.h index a69eeb1eda..05360b1282 100644 --- a/include/Surelog/SourceCompile/SV3_1aTreeShapeHelper.h +++ b/include/Surelog/SourceCompile/SV3_1aTreeShapeHelper.h @@ -25,6 +25,7 @@ #define SURELOG_SV3_1ATREESHAPEHELPER_H #pragma once +#include #include #include #include diff --git a/include/Surelog/Testbench/ClassDefinition.h b/include/Surelog/Testbench/ClassDefinition.h index bc040e06b5..aae9251419 100644 --- a/include/Surelog/Testbench/ClassDefinition.h +++ b/include/Surelog/Testbench/ClassDefinition.h @@ -26,6 +26,7 @@ #pragma once #include +#include #include #include #include diff --git a/include/Surelog/Testbench/FunctionMethod.h b/include/Surelog/Testbench/FunctionMethod.h index 8c05c11fa9..e162da6b48 100644 --- a/include/Surelog/Testbench/FunctionMethod.h +++ b/include/Surelog/Testbench/FunctionMethod.h @@ -25,6 +25,7 @@ #define SURELOG_FUNCTIONMETHOD_H #pragma once +#include #include #include diff --git a/include/Surelog/Testbench/Program.h b/include/Surelog/Testbench/Program.h index 5b0a8942ee..5d41cf247a 100644 --- a/include/Surelog/Testbench/Program.h +++ b/include/Surelog/Testbench/Program.h @@ -27,6 +27,7 @@ #include #include +#include #include #include diff --git a/include/Surelog/Testbench/Property.h b/include/Surelog/Testbench/Property.h index 6d3c574653..6078f18c23 100644 --- a/include/Surelog/Testbench/Property.h +++ b/include/Surelog/Testbench/Property.h @@ -25,6 +25,7 @@ #define SURELOG_PROPERTY_H #pragma once +#include #include #include diff --git a/include/Surelog/Testbench/TaskMethod.h b/include/Surelog/Testbench/TaskMethod.h index 9235b2afe1..15f2214904 100644 --- a/include/Surelog/Testbench/TaskMethod.h +++ b/include/Surelog/Testbench/TaskMethod.h @@ -25,6 +25,7 @@ #define SURELOG_TASKMETHOD_H #pragma once +#include #include #include diff --git a/include/Surelog/Testbench/TypeDef.h b/include/Surelog/Testbench/TypeDef.h index 2148ac6f6a..f6a2db004f 100644 --- a/include/Surelog/Testbench/TypeDef.h +++ b/include/Surelog/Testbench/TypeDef.h @@ -25,6 +25,7 @@ #define SURELOG_TYPEDEF_H #pragma once +#include #include #include diff --git a/src/API/SLAPI.cpp b/src/API/SLAPI.cpp index ef315dc311..e8671e3101 100644 --- a/src/API/SLAPI.cpp +++ b/src/API/SLAPI.cpp @@ -25,6 +25,7 @@ #ifdef SURELOG_WITH_PYTHON #include "Surelog/API/SV3_1aPythonListener.h" +#include "Surelog/Common/NodeId.h" #include "Surelog/SourceCompile/PythonListen.h" #endif diff --git a/src/Cache/Cache.cpp b/src/Cache/Cache.cpp index f85c816a73..4095ce31e7 100644 --- a/src/Cache/Cache.cpp +++ b/src/Cache/Cache.cpp @@ -35,6 +35,7 @@ #include "Surelog/CommandLine/CommandLineParser.h" #include "Surelog/Common/FileSystem.h" +#include "Surelog/Common/NodeId.h" #include "Surelog/Design/FileContent.h" #include "Surelog/ErrorReporting/ErrorContainer.h" #include "Surelog/SourceCompile/SymbolTable.h" diff --git a/src/Cache/ParseCache.cpp b/src/Cache/ParseCache.cpp index f4ddbb8b82..447b0d2a3a 100644 --- a/src/Cache/ParseCache.cpp +++ b/src/Cache/ParseCache.cpp @@ -35,6 +35,7 @@ #include "Surelog/CommandLine/CommandLineParser.h" #include "Surelog/Common/FileSystem.h" +#include "Surelog/Common/NodeId.h" #include "Surelog/Design/Design.h" #include "Surelog/Design/DesignElement.h" #include "Surelog/Design/FileContent.h" diff --git a/src/Design/BindStmt.cpp b/src/Design/BindStmt.cpp index cdef4bb84e..958ce6dd8b 100644 --- a/src/Design/BindStmt.cpp +++ b/src/Design/BindStmt.cpp @@ -23,6 +23,8 @@ #include "Surelog/Design/BindStmt.h" +#include "Surelog/Common/NodeId.h" + namespace SURELOG { BindStmt::BindStmt(const FileContent* fC, NodeId stmtId, NodeId targetModId, diff --git a/src/Design/Design.cpp b/src/Design/Design.cpp index a100990d52..a1886cb0f7 100644 --- a/src/Design/Design.cpp +++ b/src/Design/Design.cpp @@ -32,6 +32,7 @@ #include #include +#include "Surelog/Common/NodeId.h" #include "Surelog/Design/DefParam.h" #include "Surelog/Design/DesignComponent.h" #include "Surelog/Design/FileContent.h" diff --git a/src/Design/DesignComponent.cpp b/src/Design/DesignComponent.cpp index 93d3c3ab7b..d7e546152d 100644 --- a/src/Design/DesignComponent.cpp +++ b/src/Design/DesignComponent.cpp @@ -27,6 +27,7 @@ #include #include +#include "Surelog/Common/NodeId.h" #include "Surelog/Design/FileContent.h" #include "Surelog/Design/Parameter.h" #include "Surelog/Testbench/FunctionMethod.h" diff --git a/src/Design/DesignElement.cpp b/src/Design/DesignElement.cpp index 5b09d92340..77f345872d 100644 --- a/src/Design/DesignElement.cpp +++ b/src/Design/DesignElement.cpp @@ -15,6 +15,8 @@ */ #include "Surelog/Design/DesignElement.h" +#include "Surelog/Common/NodeId.h" + /* * File: DesignElement.cpp * Author: alain diff --git a/src/Design/DummyType.cpp b/src/Design/DummyType.cpp index 1474af3830..5a776758ec 100644 --- a/src/Design/DummyType.cpp +++ b/src/Design/DummyType.cpp @@ -23,6 +23,7 @@ #include "Surelog/Design/DummyType.h" +#include "Surelog/Common/NodeId.h" #include "Surelog/Design/FileContent.h" // UHDM diff --git a/src/Design/Enum.cpp b/src/Design/Enum.cpp index 3f8420fc6a..5ee47409e8 100644 --- a/src/Design/Enum.cpp +++ b/src/Design/Enum.cpp @@ -25,6 +25,7 @@ #include +#include "Surelog/Common/NodeId.h" #include "Surelog/Design/FileContent.h" namespace SURELOG { diff --git a/src/Design/Parameter.cpp b/src/Design/Parameter.cpp index e04e655a9a..f6961095da 100644 --- a/src/Design/Parameter.cpp +++ b/src/Design/Parameter.cpp @@ -24,6 +24,7 @@ #include +#include "Surelog/Common/NodeId.h" #include "Surelog/Design/FileContent.h" namespace SURELOG { diff --git a/src/Design/Signal.cpp b/src/Design/Signal.cpp index e60075e281..404fec3642 100644 --- a/src/Design/Signal.cpp +++ b/src/Design/Signal.cpp @@ -25,6 +25,7 @@ #include #include +#include "Surelog/Common/NodeId.h" #include "Surelog/Design/FileContent.h" #include "Surelog/Utils/StringUtils.h" diff --git a/src/Design/SimpleType.cpp b/src/Design/SimpleType.cpp index b98f65b9a4..497ae0957f 100644 --- a/src/Design/SimpleType.cpp +++ b/src/Design/SimpleType.cpp @@ -24,6 +24,7 @@ #include "Surelog/Design/SimpleType.h" +#include "Surelog/Common/NodeId.h" #include "Surelog/Design/FileContent.h" // UHDM diff --git a/src/Design/Statement.cpp b/src/Design/Statement.cpp index 8ea5729042..e3806d67e9 100644 --- a/src/Design/Statement.cpp +++ b/src/Design/Statement.cpp @@ -25,6 +25,7 @@ #include #include +#include "Surelog/Common/NodeId.h" #include "Surelog/Design/FileContent.h" namespace SURELOG { diff --git a/src/Design/Struct.cpp b/src/Design/Struct.cpp index 11c3121852..5f54517104 100644 --- a/src/Design/Struct.cpp +++ b/src/Design/Struct.cpp @@ -23,6 +23,7 @@ #include "Surelog/Design/Struct.h" +#include "Surelog/Common/NodeId.h" #include "Surelog/Design/FileContent.h" // UHDM diff --git a/src/Design/Union.cpp b/src/Design/Union.cpp index e6df64ea2f..5e804dc90e 100644 --- a/src/Design/Union.cpp +++ b/src/Design/Union.cpp @@ -23,6 +23,7 @@ #include "Surelog/Design/Union.h" +#include "Surelog/Common/NodeId.h" #include "Surelog/Design/FileContent.h" namespace SURELOG { diff --git a/src/Design/VObject.cpp b/src/Design/VObject.cpp index 6969173ea0..8f93b84409 100644 --- a/src/Design/VObject.cpp +++ b/src/Design/VObject.cpp @@ -25,6 +25,7 @@ #include #include +#include "Surelog/Common/NodeId.h" #include "Surelog/SourceCompile/SymbolTable.h" #include "Surelog/Utils/StringUtils.h" diff --git a/src/DesignCompile/CompileClass.cpp b/src/DesignCompile/CompileClass.cpp index ea5623d400..c8e95518ee 100644 --- a/src/DesignCompile/CompileClass.cpp +++ b/src/DesignCompile/CompileClass.cpp @@ -25,6 +25,7 @@ #include "Surelog/CommandLine/CommandLineParser.h" #include "Surelog/Common/FileSystem.h" +#include "Surelog/Common/NodeId.h" #include "Surelog/Design/FileContent.h" #include "Surelog/DesignCompile/CompileDesign.h" #include "Surelog/ErrorReporting/ErrorContainer.h" diff --git a/src/DesignCompile/CompileFileContent.cpp b/src/DesignCompile/CompileFileContent.cpp index 933b0f26be..642b549a5b 100644 --- a/src/DesignCompile/CompileFileContent.cpp +++ b/src/DesignCompile/CompileFileContent.cpp @@ -27,6 +27,7 @@ #include #include +#include "Surelog/Common/NodeId.h" #include "Surelog/Design/FileContent.h" namespace SURELOG { diff --git a/src/DesignCompile/CompileModule.cpp b/src/DesignCompile/CompileModule.cpp index 4f35fbf707..482ad09bd1 100644 --- a/src/DesignCompile/CompileModule.cpp +++ b/src/DesignCompile/CompileModule.cpp @@ -25,6 +25,7 @@ #include "Surelog/CommandLine/CommandLineParser.h" #include "Surelog/Common/FileSystem.h" +#include "Surelog/Common/NodeId.h" #include "Surelog/Design/FileContent.h" #include "Surelog/Design/ModuleDefinition.h" #include "Surelog/Design/ModuleInstance.h" diff --git a/src/DesignCompile/CompilePackage.cpp b/src/DesignCompile/CompilePackage.cpp index 034d05a13d..b7f7b0b0b7 100644 --- a/src/DesignCompile/CompilePackage.cpp +++ b/src/DesignCompile/CompilePackage.cpp @@ -24,6 +24,7 @@ #include "Surelog/DesignCompile/CompilePackage.h" #include "Surelog/CommandLine/CommandLineParser.h" +#include "Surelog/Common/NodeId.h" #include "Surelog/Design/FileContent.h" #include "Surelog/Design/VObject.h" #include "Surelog/DesignCompile/CompileDesign.h" diff --git a/src/DesignCompile/CompileProgram.cpp b/src/DesignCompile/CompileProgram.cpp index 6058c69b69..31c882d121 100644 --- a/src/DesignCompile/CompileProgram.cpp +++ b/src/DesignCompile/CompileProgram.cpp @@ -33,6 +33,7 @@ #include #include "Surelog/CommandLine/CommandLineParser.h" +#include "Surelog/Common/NodeId.h" #include "Surelog/Design/FileContent.h" #include "Surelog/DesignCompile/CompileDesign.h" #include "Surelog/ErrorReporting/Error.h" diff --git a/src/DesignCompile/ElaborationStep.cpp b/src/DesignCompile/ElaborationStep.cpp index 6a4ac3b064..2dbb6adf37 100644 --- a/src/DesignCompile/ElaborationStep.cpp +++ b/src/DesignCompile/ElaborationStep.cpp @@ -35,6 +35,7 @@ #include "Surelog/CommandLine/CommandLineParser.h" #include "Surelog/Common/FileSystem.h" +#include "Surelog/Common/NodeId.h" #include "Surelog/Design/DataType.h" #include "Surelog/Design/DummyType.h" #include "Surelog/Design/Enum.h" diff --git a/src/DesignCompile/NetlistElaboration.cpp b/src/DesignCompile/NetlistElaboration.cpp index 86e486dc1d..084b1baddf 100644 --- a/src/DesignCompile/NetlistElaboration.cpp +++ b/src/DesignCompile/NetlistElaboration.cpp @@ -32,6 +32,7 @@ #include "Surelog/CommandLine/CommandLineParser.h" #include "Surelog/Common/FileSystem.h" +#include "Surelog/Common/NodeId.h" #include "Surelog/Design/DesignComponent.h" #include "Surelog/Design/DesignElement.h" #include "Surelog/Design/DummyType.h" diff --git a/src/DesignCompile/ResolveSymbols.cpp b/src/DesignCompile/ResolveSymbols.cpp index e0c1ffefb6..bbd8dfebde 100644 --- a/src/DesignCompile/ResolveSymbols.cpp +++ b/src/DesignCompile/ResolveSymbols.cpp @@ -23,6 +23,7 @@ #include "Surelog/DesignCompile/ResolveSymbols.h" +#include "Surelog/Common/NodeId.h" #include "Surelog/Design/FileContent.h" #include "Surelog/Design/ModuleDefinition.h" #include "Surelog/DesignCompile/CompileDesign.h" diff --git a/src/DesignCompile/TestbenchElaboration.cpp b/src/DesignCompile/TestbenchElaboration.cpp index f14a74e0a9..e7c47358b7 100644 --- a/src/DesignCompile/TestbenchElaboration.cpp +++ b/src/DesignCompile/TestbenchElaboration.cpp @@ -24,6 +24,7 @@ #include "Surelog/DesignCompile/TestbenchElaboration.h" #include "Surelog/Common/FileSystem.h" +#include "Surelog/Common/NodeId.h" #include "Surelog/Design/Design.h" #include "Surelog/Design/FileContent.h" #include "Surelog/Design/Parameter.h" diff --git a/src/DesignCompile/UhdmChecker.cpp b/src/DesignCompile/UhdmChecker.cpp index 1e15a15c1a..4fdfad6442 100644 --- a/src/DesignCompile/UhdmChecker.cpp +++ b/src/DesignCompile/UhdmChecker.cpp @@ -25,6 +25,7 @@ #include "Surelog/CommandLine/CommandLineParser.h" #include "Surelog/Common/FileSystem.h" +#include "Surelog/Common/NodeId.h" #include "Surelog/Design/FileContent.h" #include "Surelog/Design/ModuleInstance.h" #include "Surelog/Design/VObject.h" diff --git a/src/DesignCompile/UhdmWriter.cpp b/src/DesignCompile/UhdmWriter.cpp index f0f686bd2b..a89f0f7ed7 100644 --- a/src/DesignCompile/UhdmWriter.cpp +++ b/src/DesignCompile/UhdmWriter.cpp @@ -36,6 +36,7 @@ #include "Surelog/CommandLine/CommandLineParser.h" #include "Surelog/Common/FileSystem.h" +#include "Surelog/Common/NodeId.h" #include "Surelog/Design/DesignElement.h" #include "Surelog/Design/FileContent.h" #include "Surelog/Design/ModPort.h" diff --git a/src/Library/ParseLibraryDef.cpp b/src/Library/ParseLibraryDef.cpp index bc6346f7f2..4dc55ec273 100644 --- a/src/Library/ParseLibraryDef.cpp +++ b/src/Library/ParseLibraryDef.cpp @@ -32,6 +32,7 @@ #include "Surelog/CommandLine/CommandLineParser.h" #include "Surelog/Common/FileSystem.h" +#include "Surelog/Common/NodeId.h" #include "Surelog/Config/ConfigSet.h" #include "Surelog/Design/FileContent.h" #include "Surelog/ErrorReporting/ErrorContainer.h" diff --git a/src/Package/Package.cpp b/src/Package/Package.cpp index 78c21ecd28..c27fe4afc1 100644 --- a/src/Package/Package.cpp +++ b/src/Package/Package.cpp @@ -26,6 +26,7 @@ #include #include +#include "Surelog/Common/NodeId.h" #include "Surelog/Design/FileContent.h" #include "Surelog/Testbench/ClassDefinition.h" diff --git a/src/SourceCompile/CheckCompile.cpp b/src/SourceCompile/CheckCompile.cpp index 76593219e2..8e8f08251f 100644 --- a/src/SourceCompile/CheckCompile.cpp +++ b/src/SourceCompile/CheckCompile.cpp @@ -28,6 +28,7 @@ #include "Surelog/CommandLine/CommandLineParser.h" #include "Surelog/Common/FileSystem.h" +#include "Surelog/Common/NodeId.h" #include "Surelog/Design/Design.h" #include "Surelog/Design/DesignElement.h" #include "Surelog/Design/FileContent.h" diff --git a/src/SourceCompile/CommonListenerHelper.cpp b/src/SourceCompile/CommonListenerHelper.cpp index d35222c499..d89c4da725 100644 --- a/src/SourceCompile/CommonListenerHelper.cpp +++ b/src/SourceCompile/CommonListenerHelper.cpp @@ -29,6 +29,7 @@ #include #include +#include "Surelog/Common/NodeId.h" #include "Surelog/Design/DesignElement.h" #include "Surelog/Design/FileContent.h" diff --git a/src/SourceCompile/ParseFile_test.cpp b/src/SourceCompile/ParseFile_test.cpp index c3ba053244..4ea16af034 100644 --- a/src/SourceCompile/ParseFile_test.cpp +++ b/src/SourceCompile/ParseFile_test.cpp @@ -16,6 +16,7 @@ #include +#include "Surelog/Common/NodeId.h" #include "Surelog/Design/FileContent.h" #include "Surelog/SourceCompile/ParserHarness.h" diff --git a/src/SourceCompile/SV3_1aTreeShapeHelper.cpp b/src/SourceCompile/SV3_1aTreeShapeHelper.cpp index 571b4973ce..a5d2efa638 100644 --- a/src/SourceCompile/SV3_1aTreeShapeHelper.cpp +++ b/src/SourceCompile/SV3_1aTreeShapeHelper.cpp @@ -30,6 +30,7 @@ #include #include "Surelog/CommandLine/CommandLineParser.h" +#include "Surelog/Common/NodeId.h" #include "Surelog/Design/FileContent.h" #include "Surelog/ErrorReporting/ErrorContainer.h" #include "Surelog/Library/Library.h" diff --git a/src/Testbench/ClassDefinition.cpp b/src/Testbench/ClassDefinition.cpp index e5b8c328ab..58cd22b8e6 100644 --- a/src/Testbench/ClassDefinition.cpp +++ b/src/Testbench/ClassDefinition.cpp @@ -25,6 +25,7 @@ #include #include +#include "Surelog/Common/NodeId.h" #include "Surelog/Design/FileContent.h" #include "Surelog/Design/Parameter.h" #include "Surelog/Testbench/Constraint.h" diff --git a/src/Testbench/Program.cpp b/src/Testbench/Program.cpp index eff5e5b39a..415566722d 100644 --- a/src/Testbench/Program.cpp +++ b/src/Testbench/Program.cpp @@ -26,6 +26,7 @@ #include #include +#include "Surelog/Common/NodeId.h" #include "Surelog/Design/DesignComponent.h" #include "Surelog/Design/FileContent.h" diff --git a/src/Testbench/TypeDef.cpp b/src/Testbench/TypeDef.cpp index a545472229..084eaa3aa8 100644 --- a/src/Testbench/TypeDef.cpp +++ b/src/Testbench/TypeDef.cpp @@ -25,6 +25,7 @@ #include +#include "Surelog/Common/NodeId.h" #include "Surelog/Design/FileContent.h" namespace SURELOG { From 80d48e6f44af6c28ae304ed80cce884956cd403f Mon Sep 17 00:00:00 2001 From: Henner Zeller Date: Sun, 10 Nov 2024 10:24:10 -0800 Subject: [PATCH 3/4] Include VObjectTypes.h for files using SURELOG::VObjectType --- include/Surelog/Design/DesignElement.h | 1 + include/Surelog/Design/FileContent.h | 1 + include/Surelog/Design/ModuleDefinition.h | 1 + include/Surelog/Design/Parameter.h | 1 + include/Surelog/DesignCompile/ResolveSymbols.h | 1 + include/Surelog/Library/SVLibShapeListener.h | 1 + include/Surelog/Package/Package.h | 1 + include/Surelog/SourceCompile/CompilationUnit.h | 1 + include/Surelog/SourceCompile/SV3_1aTreeShapeHelper.h | 1 + include/Surelog/Testbench/ClassDefinition.h | 1 + include/Surelog/Testbench/Program.h | 1 + src/API/SLAPI.cpp | 1 + src/Cache/Cache.cpp | 1 + src/Cache/ParseCache.cpp | 1 + src/Design/DataType.cpp | 1 + src/Design/Design.cpp | 1 + src/Design/DesignComponent.cpp | 1 + src/Design/FileContent.cpp | 1 + src/Design/Function.cpp | 1 + src/Design/ModuleDefinition.cpp | 1 + src/Design/ModuleInstance.cpp | 1 + src/Design/Parameter.cpp | 1 + src/Design/Signal.cpp | 1 + src/Design/Statement.cpp | 1 + src/Design/ValuedComponentI.cpp | 1 + src/DesignCompile/CompileAssertion.cpp | 1 + src/DesignCompile/CompileClass.cpp | 1 + src/DesignCompile/CompileExpression.cpp | 1 + src/DesignCompile/CompileExpression_test.cpp | 1 + src/DesignCompile/CompileFileContent.cpp | 1 + src/DesignCompile/CompileGenStmt.cpp | 1 + src/DesignCompile/CompileHelper.cpp | 1 + src/DesignCompile/CompileModule.cpp | 1 + src/DesignCompile/CompilePackage.cpp | 1 + src/DesignCompile/CompileProgram.cpp | 1 + src/DesignCompile/CompileStmt.cpp | 1 + src/DesignCompile/CompileType.cpp | 1 + src/DesignCompile/DesignElaboration.cpp | 1 + src/DesignCompile/ElaborationStep.cpp | 1 + src/DesignCompile/NetlistElaboration.cpp | 1 + src/DesignCompile/ResolveSymbols.cpp | 1 + src/DesignCompile/TestbenchElaboration.cpp | 1 + src/DesignCompile/UhdmChecker.cpp | 1 + src/DesignCompile/UhdmWriter.cpp | 1 + src/Expression/ExprBuilder_test.cpp | 1 + src/Library/ParseLibraryDef.cpp | 1 + src/Library/SVLibShapeListener.cpp | 1 + src/SourceCompile/CommonListenerHelper.cpp | 1 + src/SourceCompile/CompilationUnit.cpp | 2 ++ src/SourceCompile/ParseFile_test.cpp | 1 + src/SourceCompile/SV3_1aPpTreeShapeListener.cpp | 1 + src/SourceCompile/SV3_1aTreeShapeHelper.cpp | 1 + src/SourceCompile/SV3_1aTreeShapeListener.cpp | 1 + src/Testbench/ClassDefinition.cpp | 1 + src/Testbench/Program.cpp | 1 + 55 files changed, 56 insertions(+) diff --git a/include/Surelog/Design/DesignElement.h b/include/Surelog/Design/DesignElement.h index c722b5927b..fdb3e130d0 100644 --- a/include/Surelog/Design/DesignElement.h +++ b/include/Surelog/Design/DesignElement.h @@ -29,6 +29,7 @@ #include #include #include +#include #include #include diff --git a/include/Surelog/Design/FileContent.h b/include/Surelog/Design/FileContent.h index 8ae61d523a..d92aed88ab 100644 --- a/include/Surelog/Design/FileContent.h +++ b/include/Surelog/Design/FileContent.h @@ -29,6 +29,7 @@ #include #include #include +#include #include #include diff --git a/include/Surelog/Design/ModuleDefinition.h b/include/Surelog/Design/ModuleDefinition.h index 80295ce4c6..9189e27b8b 100644 --- a/include/Surelog/Design/ModuleDefinition.h +++ b/include/Surelog/Design/ModuleDefinition.h @@ -31,6 +31,7 @@ #include #include #include +#include #include #include diff --git a/include/Surelog/Design/Parameter.h b/include/Surelog/Design/Parameter.h index 36774db19e..037674f29c 100644 --- a/include/Surelog/Design/Parameter.h +++ b/include/Surelog/Design/Parameter.h @@ -28,6 +28,7 @@ #include #include #include +#include #include diff --git a/include/Surelog/DesignCompile/ResolveSymbols.h b/include/Surelog/DesignCompile/ResolveSymbols.h index 0d37e94516..2b48f4c4d2 100644 --- a/include/Surelog/DesignCompile/ResolveSymbols.h +++ b/include/Surelog/DesignCompile/ResolveSymbols.h @@ -28,6 +28,7 @@ #include #include #include +#include #include #include diff --git a/include/Surelog/Library/SVLibShapeListener.h b/include/Surelog/Library/SVLibShapeListener.h index acb47c139b..0cfabfa826 100644 --- a/include/Surelog/Library/SVLibShapeListener.h +++ b/include/Surelog/Library/SVLibShapeListener.h @@ -27,6 +27,7 @@ #include #include +#include #include #include diff --git a/include/Surelog/Package/Package.h b/include/Surelog/Package/Package.h index f8308ceceb..6da8d06880 100644 --- a/include/Surelog/Package/Package.h +++ b/include/Surelog/Package/Package.h @@ -28,6 +28,7 @@ #include #include #include +#include #include #include diff --git a/include/Surelog/SourceCompile/CompilationUnit.h b/include/Surelog/SourceCompile/CompilationUnit.h index 8563fa2f73..45fb909713 100644 --- a/include/Surelog/SourceCompile/CompilationUnit.h +++ b/include/Surelog/SourceCompile/CompilationUnit.h @@ -28,6 +28,7 @@ #include #include #include +#include #include #include diff --git a/include/Surelog/SourceCompile/SV3_1aTreeShapeHelper.h b/include/Surelog/SourceCompile/SV3_1aTreeShapeHelper.h index 05360b1282..b63f0f5521 100644 --- a/include/Surelog/SourceCompile/SV3_1aTreeShapeHelper.h +++ b/include/Surelog/SourceCompile/SV3_1aTreeShapeHelper.h @@ -31,6 +31,7 @@ #include #include #include +#include #include #include diff --git a/include/Surelog/Testbench/ClassDefinition.h b/include/Surelog/Testbench/ClassDefinition.h index aae9251419..c893852957 100644 --- a/include/Surelog/Testbench/ClassDefinition.h +++ b/include/Surelog/Testbench/ClassDefinition.h @@ -29,6 +29,7 @@ #include #include #include +#include #include #include diff --git a/include/Surelog/Testbench/Program.h b/include/Surelog/Testbench/Program.h index 5d41cf247a..49f3863491 100644 --- a/include/Surelog/Testbench/Program.h +++ b/include/Surelog/Testbench/Program.h @@ -30,6 +30,7 @@ #include #include #include +#include #include #include diff --git a/src/API/SLAPI.cpp b/src/API/SLAPI.cpp index e8671e3101..415b491650 100644 --- a/src/API/SLAPI.cpp +++ b/src/API/SLAPI.cpp @@ -27,6 +27,7 @@ #include "Surelog/API/SV3_1aPythonListener.h" #include "Surelog/Common/NodeId.h" #include "Surelog/SourceCompile/PythonListen.h" +#include "Surelog/SourceCompile/VObjectTypes.h" #endif #include diff --git a/src/Cache/Cache.cpp b/src/Cache/Cache.cpp index 4095ce31e7..2650b81393 100644 --- a/src/Cache/Cache.cpp +++ b/src/Cache/Cache.cpp @@ -39,6 +39,7 @@ #include "Surelog/Design/FileContent.h" #include "Surelog/ErrorReporting/ErrorContainer.h" #include "Surelog/SourceCompile/SymbolTable.h" +#include "Surelog/SourceCompile/VObjectTypes.h" namespace SURELOG { static constexpr std::string_view UnknownRawPath = ""; diff --git a/src/Cache/ParseCache.cpp b/src/Cache/ParseCache.cpp index 447b0d2a3a..d8b19ba5f3 100644 --- a/src/Cache/ParseCache.cpp +++ b/src/Cache/ParseCache.cpp @@ -45,6 +45,7 @@ #include "Surelog/SourceCompile/Compiler.h" #include "Surelog/SourceCompile/ParseFile.h" #include "Surelog/SourceCompile/SymbolTable.h" +#include "Surelog/SourceCompile/VObjectTypes.h" #include "Surelog/Utils/StringUtils.h" #include "Surelog/config.h" diff --git a/src/Design/DataType.cpp b/src/Design/DataType.cpp index efd5846fbb..7589abf0c2 100644 --- a/src/Design/DataType.cpp +++ b/src/Design/DataType.cpp @@ -25,6 +25,7 @@ #include #include "Surelog/Expression/Value.h" +#include "Surelog/SourceCompile/VObjectTypes.h" namespace SURELOG { diff --git a/src/Design/Design.cpp b/src/Design/Design.cpp index a1886cb0f7..7f87561635 100644 --- a/src/Design/Design.cpp +++ b/src/Design/Design.cpp @@ -42,6 +42,7 @@ #include "Surelog/Expression/Value.h" #include "Surelog/Package/Package.h" #include "Surelog/SourceCompile/SymbolTable.h" +#include "Surelog/SourceCompile/VObjectTypes.h" #include "Surelog/Testbench/ClassDefinition.h" #include "Surelog/Testbench/Program.h" #include "Surelog/Utils/StringUtils.h" diff --git a/src/Design/DesignComponent.cpp b/src/Design/DesignComponent.cpp index d7e546152d..13c32504a2 100644 --- a/src/Design/DesignComponent.cpp +++ b/src/Design/DesignComponent.cpp @@ -30,6 +30,7 @@ #include "Surelog/Common/NodeId.h" #include "Surelog/Design/FileContent.h" #include "Surelog/Design/Parameter.h" +#include "Surelog/SourceCompile/VObjectTypes.h" #include "Surelog/Testbench/FunctionMethod.h" #include "Surelog/Testbench/TaskMethod.h" #include "Surelog/Testbench/TypeDef.h" diff --git a/src/Design/FileContent.cpp b/src/Design/FileContent.cpp index cca5c9da64..be9d392e30 100644 --- a/src/Design/FileContent.cpp +++ b/src/Design/FileContent.cpp @@ -35,6 +35,7 @@ #include "Surelog/ErrorReporting/ErrorContainer.h" #include "Surelog/Library/Library.h" #include "Surelog/SourceCompile/SymbolTable.h" +#include "Surelog/SourceCompile/VObjectTypes.h" #include "Surelog/Utils/StringUtils.h" namespace SURELOG { diff --git a/src/Design/Function.cpp b/src/Design/Function.cpp index 3118447286..312f1ac809 100644 --- a/src/Design/Function.cpp +++ b/src/Design/Function.cpp @@ -27,6 +27,7 @@ #include "Surelog/Design/FileContent.h" #include "Surelog/DesignCompile/CompileHelper.h" +#include "Surelog/SourceCompile/VObjectTypes.h" namespace SURELOG { Procedure::Procedure(DesignComponent* parent, const FileContent* fC, NodeId id, diff --git a/src/Design/ModuleDefinition.cpp b/src/Design/ModuleDefinition.cpp index 2d8768c9f9..84f5bf89d5 100644 --- a/src/Design/ModuleDefinition.cpp +++ b/src/Design/ModuleDefinition.cpp @@ -29,6 +29,7 @@ #include "Surelog/Design/FileContent.h" #include "Surelog/Design/ModPort.h" +#include "Surelog/SourceCompile/VObjectTypes.h" namespace SURELOG { diff --git a/src/Design/ModuleInstance.cpp b/src/Design/ModuleInstance.cpp index fa9a66ee96..ef65c46266 100644 --- a/src/Design/ModuleInstance.cpp +++ b/src/Design/ModuleInstance.cpp @@ -32,6 +32,7 @@ #include "Surelog/Design/Netlist.h" #include "Surelog/Expression/ExprBuilder.h" #include "Surelog/SourceCompile/SymbolTable.h" +#include "Surelog/SourceCompile/VObjectTypes.h" // UHDM #include diff --git a/src/Design/Parameter.cpp b/src/Design/Parameter.cpp index f6961095da..9a9f3a2e36 100644 --- a/src/Design/Parameter.cpp +++ b/src/Design/Parameter.cpp @@ -26,6 +26,7 @@ #include "Surelog/Common/NodeId.h" #include "Surelog/Design/FileContent.h" +#include "Surelog/SourceCompile/VObjectTypes.h" namespace SURELOG { diff --git a/src/Design/Signal.cpp b/src/Design/Signal.cpp index 404fec3642..2116166fd9 100644 --- a/src/Design/Signal.cpp +++ b/src/Design/Signal.cpp @@ -27,6 +27,7 @@ #include "Surelog/Common/NodeId.h" #include "Surelog/Design/FileContent.h" +#include "Surelog/SourceCompile/VObjectTypes.h" #include "Surelog/Utils/StringUtils.h" namespace SURELOG { diff --git a/src/Design/Statement.cpp b/src/Design/Statement.cpp index e3806d67e9..52eb4d2979 100644 --- a/src/Design/Statement.cpp +++ b/src/Design/Statement.cpp @@ -27,6 +27,7 @@ #include "Surelog/Common/NodeId.h" #include "Surelog/Design/FileContent.h" +#include "Surelog/SourceCompile/VObjectTypes.h" namespace SURELOG { diff --git a/src/Design/ValuedComponentI.cpp b/src/Design/ValuedComponentI.cpp index 3b98f782b4..608f1f8d4a 100644 --- a/src/Design/ValuedComponentI.cpp +++ b/src/Design/ValuedComponentI.cpp @@ -30,6 +30,7 @@ #include "Surelog/Design/ModuleInstance.h" #include "Surelog/Expression/ExprBuilder.h" +#include "Surelog/SourceCompile/VObjectTypes.h" namespace SURELOG { Value* ValuedComponentI::getValue(std::string_view name) const { diff --git a/src/DesignCompile/CompileAssertion.cpp b/src/DesignCompile/CompileAssertion.cpp index f1dfaf46e0..d7b6204c5b 100644 --- a/src/DesignCompile/CompileAssertion.cpp +++ b/src/DesignCompile/CompileAssertion.cpp @@ -24,6 +24,7 @@ #include "Surelog/Design/FileContent.h" #include "Surelog/DesignCompile/CompileDesign.h" #include "Surelog/DesignCompile/CompileHelper.h" +#include "Surelog/SourceCompile/VObjectTypes.h" // UHDM #include diff --git a/src/DesignCompile/CompileClass.cpp b/src/DesignCompile/CompileClass.cpp index c8e95518ee..b4adb07ccd 100644 --- a/src/DesignCompile/CompileClass.cpp +++ b/src/DesignCompile/CompileClass.cpp @@ -31,6 +31,7 @@ #include "Surelog/ErrorReporting/ErrorContainer.h" #include "Surelog/SourceCompile/Compiler.h" #include "Surelog/SourceCompile/SymbolTable.h" +#include "Surelog/SourceCompile/VObjectTypes.h" #include "Surelog/Testbench/ClassDefinition.h" #include "Surelog/Testbench/Constraint.h" #include "Surelog/Testbench/CoverGroupDefinition.h" diff --git a/src/DesignCompile/CompileExpression.cpp b/src/DesignCompile/CompileExpression.cpp index 34d51918ad..d51aa590c7 100644 --- a/src/DesignCompile/CompileExpression.cpp +++ b/src/DesignCompile/CompileExpression.cpp @@ -51,6 +51,7 @@ #include "Surelog/Package/Package.h" #include "Surelog/SourceCompile/Compiler.h" #include "Surelog/SourceCompile/SymbolTable.h" +#include "Surelog/SourceCompile/VObjectTypes.h" #include "Surelog/Testbench/TypeDef.h" #include "Surelog/Utils/NumUtils.h" #include "Surelog/Utils/StringUtils.h" diff --git a/src/DesignCompile/CompileExpression_test.cpp b/src/DesignCompile/CompileExpression_test.cpp index 6eeb2ea845..76102568c3 100644 --- a/src/DesignCompile/CompileExpression_test.cpp +++ b/src/DesignCompile/CompileExpression_test.cpp @@ -26,6 +26,7 @@ #include "Surelog/DesignCompile/CompilerHarness.h" #include "Surelog/SourceCompile/ParserHarness.h" #include "Surelog/SourceCompile/PreprocessHarness.h" +#include "Surelog/SourceCompile/VObjectTypes.h" // UHDM #include diff --git a/src/DesignCompile/CompileFileContent.cpp b/src/DesignCompile/CompileFileContent.cpp index 642b549a5b..3fdd8e5f7f 100644 --- a/src/DesignCompile/CompileFileContent.cpp +++ b/src/DesignCompile/CompileFileContent.cpp @@ -29,6 +29,7 @@ #include "Surelog/Common/NodeId.h" #include "Surelog/Design/FileContent.h" +#include "Surelog/SourceCompile/VObjectTypes.h" namespace SURELOG { diff --git a/src/DesignCompile/CompileGenStmt.cpp b/src/DesignCompile/CompileGenStmt.cpp index 7d07f1967d..21b6fa2dc3 100644 --- a/src/DesignCompile/CompileGenStmt.cpp +++ b/src/DesignCompile/CompileGenStmt.cpp @@ -47,6 +47,7 @@ #include "Surelog/Package/Package.h" #include "Surelog/SourceCompile/Compiler.h" #include "Surelog/SourceCompile/SymbolTable.h" +#include "Surelog/SourceCompile/VObjectTypes.h" #include "Surelog/Testbench/ClassDefinition.h" #include "Surelog/Testbench/Program.h" #include "Surelog/Testbench/TypeDef.h" diff --git a/src/DesignCompile/CompileHelper.cpp b/src/DesignCompile/CompileHelper.cpp index 6f3f2fd023..a96e8b0937 100644 --- a/src/DesignCompile/CompileHelper.cpp +++ b/src/DesignCompile/CompileHelper.cpp @@ -48,6 +48,7 @@ #include "Surelog/Package/Package.h" #include "Surelog/SourceCompile/Compiler.h" #include "Surelog/SourceCompile/SymbolTable.h" +#include "Surelog/SourceCompile/VObjectTypes.h" #include "Surelog/Testbench/ClassDefinition.h" #include "Surelog/Testbench/Program.h" #include "Surelog/Testbench/TypeDef.h" diff --git a/src/DesignCompile/CompileModule.cpp b/src/DesignCompile/CompileModule.cpp index 482ad09bd1..1f4930c02e 100644 --- a/src/DesignCompile/CompileModule.cpp +++ b/src/DesignCompile/CompileModule.cpp @@ -34,6 +34,7 @@ #include "Surelog/Library/Library.h" #include "Surelog/SourceCompile/Compiler.h" #include "Surelog/SourceCompile/SymbolTable.h" +#include "Surelog/SourceCompile/VObjectTypes.h" #include "Surelog/Utils/StringUtils.h" // UHDM diff --git a/src/DesignCompile/CompilePackage.cpp b/src/DesignCompile/CompilePackage.cpp index b7f7b0b0b7..11490ba246 100644 --- a/src/DesignCompile/CompilePackage.cpp +++ b/src/DesignCompile/CompilePackage.cpp @@ -33,6 +33,7 @@ #include "Surelog/Package/Package.h" #include "Surelog/SourceCompile/Compiler.h" #include "Surelog/SourceCompile/SymbolTable.h" +#include "Surelog/SourceCompile/VObjectTypes.h" #include "Surelog/Utils/StringUtils.h" // UHDM diff --git a/src/DesignCompile/CompileProgram.cpp b/src/DesignCompile/CompileProgram.cpp index 31c882d121..80dc5a018a 100644 --- a/src/DesignCompile/CompileProgram.cpp +++ b/src/DesignCompile/CompileProgram.cpp @@ -42,6 +42,7 @@ #include "Surelog/ErrorReporting/Location.h" #include "Surelog/SourceCompile/Compiler.h" #include "Surelog/SourceCompile/SymbolTable.h" +#include "Surelog/SourceCompile/VObjectTypes.h" #include "Surelog/Testbench/Program.h" #include "Surelog/Utils/StringUtils.h" diff --git a/src/DesignCompile/CompileStmt.cpp b/src/DesignCompile/CompileStmt.cpp index de235e8ada..a28d15659a 100644 --- a/src/DesignCompile/CompileStmt.cpp +++ b/src/DesignCompile/CompileStmt.cpp @@ -45,6 +45,7 @@ #include "Surelog/SourceCompile/ParseFile.h" #include "Surelog/SourceCompile/PreprocessFile.h" #include "Surelog/SourceCompile/SymbolTable.h" +#include "Surelog/SourceCompile/VObjectTypes.h" #include "Surelog/Testbench/ClassDefinition.h" #include "Surelog/Testbench/Property.h" #include "Surelog/Utils/StringUtils.h" diff --git a/src/DesignCompile/CompileType.cpp b/src/DesignCompile/CompileType.cpp index 03a5a706b2..2ddde6bad3 100644 --- a/src/DesignCompile/CompileType.cpp +++ b/src/DesignCompile/CompileType.cpp @@ -43,6 +43,7 @@ #include "Surelog/Package/Package.h" #include "Surelog/SourceCompile/Compiler.h" #include "Surelog/SourceCompile/SymbolTable.h" +#include "Surelog/SourceCompile/VObjectTypes.h" #include "Surelog/Testbench/ClassDefinition.h" #include "Surelog/Testbench/TypeDef.h" #include "Surelog/Testbench/Variable.h" diff --git a/src/DesignCompile/DesignElaboration.cpp b/src/DesignCompile/DesignElaboration.cpp index 503192c779..7e9e1bf132 100644 --- a/src/DesignCompile/DesignElaboration.cpp +++ b/src/DesignCompile/DesignElaboration.cpp @@ -41,6 +41,7 @@ #include "Surelog/Package/Package.h" #include "Surelog/SourceCompile/Compiler.h" #include "Surelog/SourceCompile/SymbolTable.h" +#include "Surelog/SourceCompile/VObjectTypes.h" #include "Surelog/Testbench/Program.h" #include "Surelog/Utils/StringUtils.h" diff --git a/src/DesignCompile/ElaborationStep.cpp b/src/DesignCompile/ElaborationStep.cpp index 2dbb6adf37..9b6609f2e5 100644 --- a/src/DesignCompile/ElaborationStep.cpp +++ b/src/DesignCompile/ElaborationStep.cpp @@ -54,6 +54,7 @@ #include "Surelog/Package/Package.h" #include "Surelog/SourceCompile/Compiler.h" #include "Surelog/SourceCompile/SymbolTable.h" +#include "Surelog/SourceCompile/VObjectTypes.h" #include "Surelog/Testbench/ClassDefinition.h" #include "Surelog/Testbench/Program.h" #include "Surelog/Testbench/Property.h" diff --git a/src/DesignCompile/NetlistElaboration.cpp b/src/DesignCompile/NetlistElaboration.cpp index 084b1baddf..1b0739dafe 100644 --- a/src/DesignCompile/NetlistElaboration.cpp +++ b/src/DesignCompile/NetlistElaboration.cpp @@ -52,6 +52,7 @@ #include "Surelog/Package/Package.h" #include "Surelog/SourceCompile/Compiler.h" #include "Surelog/SourceCompile/SymbolTable.h" +#include "Surelog/SourceCompile/VObjectTypes.h" #include "Surelog/Testbench/TypeDef.h" #include "Surelog/Utils/StringUtils.h" diff --git a/src/DesignCompile/ResolveSymbols.cpp b/src/DesignCompile/ResolveSymbols.cpp index bbd8dfebde..5f35c3937a 100644 --- a/src/DesignCompile/ResolveSymbols.cpp +++ b/src/DesignCompile/ResolveSymbols.cpp @@ -31,6 +31,7 @@ #include "Surelog/Package/Package.h" #include "Surelog/SourceCompile/Compiler.h" #include "Surelog/SourceCompile/SymbolTable.h" +#include "Surelog/SourceCompile/VObjectTypes.h" #include "Surelog/Testbench/ClassDefinition.h" #include "Surelog/Testbench/Program.h" #include "Surelog/Utils/StringUtils.h" diff --git a/src/DesignCompile/TestbenchElaboration.cpp b/src/DesignCompile/TestbenchElaboration.cpp index e7c47358b7..0189297760 100644 --- a/src/DesignCompile/TestbenchElaboration.cpp +++ b/src/DesignCompile/TestbenchElaboration.cpp @@ -34,6 +34,7 @@ #include "Surelog/DesignCompile/CompileDesign.h" #include "Surelog/SourceCompile/Compiler.h" #include "Surelog/SourceCompile/SymbolTable.h" +#include "Surelog/SourceCompile/VObjectTypes.h" #include "Surelog/Testbench/ClassDefinition.h" #include "Surelog/Testbench/Property.h" #include "Surelog/Utils/StringUtils.h" diff --git a/src/DesignCompile/UhdmChecker.cpp b/src/DesignCompile/UhdmChecker.cpp index 4fdfad6442..1b4fb7ac8c 100644 --- a/src/DesignCompile/UhdmChecker.cpp +++ b/src/DesignCompile/UhdmChecker.cpp @@ -34,6 +34,7 @@ #include "Surelog/Package/Package.h" #include "Surelog/SourceCompile/Compiler.h" #include "Surelog/SourceCompile/SymbolTable.h" +#include "Surelog/SourceCompile/VObjectTypes.h" #include "Surelog/Utils/StringUtils.h" // UHDM diff --git a/src/DesignCompile/UhdmWriter.cpp b/src/DesignCompile/UhdmWriter.cpp index a89f0f7ed7..23fd8f64ac 100644 --- a/src/DesignCompile/UhdmWriter.cpp +++ b/src/DesignCompile/UhdmWriter.cpp @@ -50,6 +50,7 @@ #include "Surelog/Package/Package.h" #include "Surelog/SourceCompile/Compiler.h" #include "Surelog/SourceCompile/SymbolTable.h" +#include "Surelog/SourceCompile/VObjectTypes.h" #include "Surelog/Testbench/ClassDefinition.h" #include "Surelog/Testbench/Program.h" #include "Surelog/Testbench/TypeDef.h" diff --git a/src/Expression/ExprBuilder_test.cpp b/src/Expression/ExprBuilder_test.cpp index acf3d78118..0e02f31c5d 100644 --- a/src/Expression/ExprBuilder_test.cpp +++ b/src/Expression/ExprBuilder_test.cpp @@ -24,6 +24,7 @@ #include "Surelog/Design/FileContent.h" #include "Surelog/SourceCompile/ParserHarness.h" +#include "Surelog/SourceCompile/VObjectTypes.h" namespace SURELOG { diff --git a/src/Library/ParseLibraryDef.cpp b/src/Library/ParseLibraryDef.cpp index 4dc55ec273..9b681032ea 100644 --- a/src/Library/ParseLibraryDef.cpp +++ b/src/Library/ParseLibraryDef.cpp @@ -41,6 +41,7 @@ #include "Surelog/Library/LibrarySet.h" #include "Surelog/Library/SVLibShapeListener.h" #include "Surelog/SourceCompile/SymbolTable.h" +#include "Surelog/SourceCompile/VObjectTypes.h" #include "Surelog/Utils/StringUtils.h" namespace SURELOG { diff --git a/src/Library/SVLibShapeListener.cpp b/src/Library/SVLibShapeListener.cpp index a418611c70..fe3cad06da 100644 --- a/src/Library/SVLibShapeListener.cpp +++ b/src/Library/SVLibShapeListener.cpp @@ -36,6 +36,7 @@ #include "Surelog/Library/ParseLibraryDef.h" #include "Surelog/SourceCompile/ParseFile.h" #include "Surelog/SourceCompile/SymbolTable.h" +#include "Surelog/SourceCompile/VObjectTypes.h" #include "Surelog/Utils/ParseUtils.h" namespace SURELOG { diff --git a/src/SourceCompile/CommonListenerHelper.cpp b/src/SourceCompile/CommonListenerHelper.cpp index d89c4da725..95c66633b6 100644 --- a/src/SourceCompile/CommonListenerHelper.cpp +++ b/src/SourceCompile/CommonListenerHelper.cpp @@ -32,6 +32,7 @@ #include "Surelog/Common/NodeId.h" #include "Surelog/Design/DesignElement.h" #include "Surelog/Design/FileContent.h" +#include "Surelog/SourceCompile/VObjectTypes.h" namespace SURELOG { diff --git a/src/SourceCompile/CompilationUnit.cpp b/src/SourceCompile/CompilationUnit.cpp index 98397465f5..2cf1172894 100644 --- a/src/SourceCompile/CompilationUnit.cpp +++ b/src/SourceCompile/CompilationUnit.cpp @@ -26,6 +26,8 @@ #include #include +#include "Surelog/SourceCompile/VObjectTypes.h" + namespace SURELOG { CompilationUnit::CompilationUnit(bool fileunit) diff --git a/src/SourceCompile/ParseFile_test.cpp b/src/SourceCompile/ParseFile_test.cpp index 4ea16af034..d0a7f0bc7a 100644 --- a/src/SourceCompile/ParseFile_test.cpp +++ b/src/SourceCompile/ParseFile_test.cpp @@ -19,6 +19,7 @@ #include "Surelog/Common/NodeId.h" #include "Surelog/Design/FileContent.h" #include "Surelog/SourceCompile/ParserHarness.h" +#include "Surelog/SourceCompile/VObjectTypes.h" namespace SURELOG { diff --git a/src/SourceCompile/SV3_1aPpTreeShapeListener.cpp b/src/SourceCompile/SV3_1aPpTreeShapeListener.cpp index e4553db309..89998f6b47 100644 --- a/src/SourceCompile/SV3_1aPpTreeShapeListener.cpp +++ b/src/SourceCompile/SV3_1aPpTreeShapeListener.cpp @@ -34,6 +34,7 @@ #include "Surelog/SourceCompile/MacroInfo.h" #include "Surelog/SourceCompile/PreprocessFile.h" #include "Surelog/SourceCompile/SymbolTable.h" +#include "Surelog/SourceCompile/VObjectTypes.h" #include "Surelog/Utils/ParseUtils.h" #include "Surelog/Utils/StringUtils.h" diff --git a/src/SourceCompile/SV3_1aTreeShapeHelper.cpp b/src/SourceCompile/SV3_1aTreeShapeHelper.cpp index a5d2efa638..e5d0582dea 100644 --- a/src/SourceCompile/SV3_1aTreeShapeHelper.cpp +++ b/src/SourceCompile/SV3_1aTreeShapeHelper.cpp @@ -38,6 +38,7 @@ #include "Surelog/SourceCompile/CompileSourceFile.h" #include "Surelog/SourceCompile/ParseFile.h" #include "Surelog/SourceCompile/SymbolTable.h" +#include "Surelog/SourceCompile/VObjectTypes.h" #include "Surelog/Utils/ParseUtils.h" #include "Surelog/Utils/StringUtils.h" diff --git a/src/SourceCompile/SV3_1aTreeShapeListener.cpp b/src/SourceCompile/SV3_1aTreeShapeListener.cpp index f3f37c0bb4..411d7aa86b 100644 --- a/src/SourceCompile/SV3_1aTreeShapeListener.cpp +++ b/src/SourceCompile/SV3_1aTreeShapeListener.cpp @@ -37,6 +37,7 @@ #include "Surelog/SourceCompile/Compiler.h" #include "Surelog/SourceCompile/ParseFile.h" #include "Surelog/SourceCompile/SymbolTable.h" +#include "Surelog/SourceCompile/VObjectTypes.h" #include "Surelog/Utils/ParseUtils.h" #include "Surelog/Utils/StringUtils.h" diff --git a/src/Testbench/ClassDefinition.cpp b/src/Testbench/ClassDefinition.cpp index 58cd22b8e6..5c9f64e068 100644 --- a/src/Testbench/ClassDefinition.cpp +++ b/src/Testbench/ClassDefinition.cpp @@ -28,6 +28,7 @@ #include "Surelog/Common/NodeId.h" #include "Surelog/Design/FileContent.h" #include "Surelog/Design/Parameter.h" +#include "Surelog/SourceCompile/VObjectTypes.h" #include "Surelog/Testbench/Constraint.h" #include "Surelog/Testbench/CoverGroupDefinition.h" #include "Surelog/Testbench/Property.h" diff --git a/src/Testbench/Program.cpp b/src/Testbench/Program.cpp index 415566722d..a40eaf5eca 100644 --- a/src/Testbench/Program.cpp +++ b/src/Testbench/Program.cpp @@ -29,6 +29,7 @@ #include "Surelog/Common/NodeId.h" #include "Surelog/Design/DesignComponent.h" #include "Surelog/Design/FileContent.h" +#include "Surelog/SourceCompile/VObjectTypes.h" namespace SURELOG { From ff962f1fee7d6d67989f0547f56200adbfbae0b4 Mon Sep 17 00:00:00 2001 From: Henner Zeller Date: Sun, 10 Nov 2024 10:28:21 -0800 Subject: [PATCH 4/4] Include ErrorDefinition.h in files using SURELOG::ErrorDefinition --- src/API/SLAPI.cpp | 1 + src/Cache/Cache.cpp | 1 + src/Cache/PPCache.cpp | 1 + src/Cache/ParseCache.cpp | 1 + src/CommandLine/CommandLineParser.cpp | 1 + src/Design/Design.cpp | 1 + src/Design/FileContent.cpp | 1 + src/DesignCompile/CompileClass.cpp | 1 + src/DesignCompile/CompileDesign.cpp | 1 + src/DesignCompile/CompileExpression.cpp | 1 + src/DesignCompile/CompileHelper.cpp | 1 + src/DesignCompile/CompileModule.cpp | 1 + src/DesignCompile/CompilePackage.cpp | 1 + src/DesignCompile/CompileStmt.cpp | 1 + src/DesignCompile/CompileType.cpp | 1 + src/DesignCompile/DesignElaboration.cpp | 1 + src/DesignCompile/ElaborationStep.cpp | 1 + src/DesignCompile/NetlistElaboration.cpp | 1 + src/DesignCompile/TestbenchElaboration.cpp | 1 + src/DesignCompile/UhdmChecker.cpp | 1 + src/DesignCompile/UhdmWriter.cpp | 1 + src/ErrorReporting/Error.cpp | 2 ++ src/Expression/ExprBuilder.cpp | 1 + src/Library/AntlrLibParserErrorListener.cpp | 1 + src/Library/LibrarySet.cpp | 1 + src/Library/ParseLibraryDef.cpp | 1 + src/Library/SVLibShapeListener.cpp | 1 + src/SourceCompile/AnalyzeFile.cpp | 1 + src/SourceCompile/AntlrParserErrorListener.cpp | 1 + src/SourceCompile/CheckCompile.cpp | 1 + src/SourceCompile/CompileSourceFile.cpp | 1 + src/SourceCompile/ParseFile.cpp | 1 + src/SourceCompile/PreprocessFile.cpp | 1 + src/SourceCompile/PreprocessFile_test.cpp | 1 + src/SourceCompile/SV3_1aPpTreeListenerHelper.cpp | 1 + src/SourceCompile/SV3_1aPpTreeShapeListener.cpp | 1 + src/SourceCompile/SV3_1aTreeShapeHelper.cpp | 1 + src/SourceCompile/SV3_1aTreeShapeListener.cpp | 1 + src/main.cpp | 1 + 39 files changed, 40 insertions(+) diff --git a/src/API/SLAPI.cpp b/src/API/SLAPI.cpp index 415b491650..f3c73f917f 100644 --- a/src/API/SLAPI.cpp +++ b/src/API/SLAPI.cpp @@ -26,6 +26,7 @@ #ifdef SURELOG_WITH_PYTHON #include "Surelog/API/SV3_1aPythonListener.h" #include "Surelog/Common/NodeId.h" +#include "Surelog/ErrorReporting/ErrorDefinition.h" #include "Surelog/SourceCompile/PythonListen.h" #include "Surelog/SourceCompile/VObjectTypes.h" #endif diff --git a/src/Cache/Cache.cpp b/src/Cache/Cache.cpp index 2650b81393..5dbb1c134e 100644 --- a/src/Cache/Cache.cpp +++ b/src/Cache/Cache.cpp @@ -38,6 +38,7 @@ #include "Surelog/Common/NodeId.h" #include "Surelog/Design/FileContent.h" #include "Surelog/ErrorReporting/ErrorContainer.h" +#include "Surelog/ErrorReporting/ErrorDefinition.h" #include "Surelog/SourceCompile/SymbolTable.h" #include "Surelog/SourceCompile/VObjectTypes.h" diff --git a/src/Cache/PPCache.cpp b/src/Cache/PPCache.cpp index d384b3faca..30189f01f9 100644 --- a/src/Cache/PPCache.cpp +++ b/src/Cache/PPCache.cpp @@ -38,6 +38,7 @@ #include "Surelog/Design/Design.h" #include "Surelog/Design/FileContent.h" #include "Surelog/Design/TimeInfo.h" +#include "Surelog/ErrorReporting/ErrorDefinition.h" #include "Surelog/Library/Library.h" #include "Surelog/Package/Precompiled.h" #include "Surelog/SourceCompile/CompilationUnit.h" diff --git a/src/Cache/ParseCache.cpp b/src/Cache/ParseCache.cpp index d8b19ba5f3..dddedd9cee 100644 --- a/src/Cache/ParseCache.cpp +++ b/src/Cache/ParseCache.cpp @@ -39,6 +39,7 @@ #include "Surelog/Design/Design.h" #include "Surelog/Design/DesignElement.h" #include "Surelog/Design/FileContent.h" +#include "Surelog/ErrorReporting/ErrorDefinition.h" #include "Surelog/Library/Library.h" #include "Surelog/Package/Precompiled.h" #include "Surelog/SourceCompile/CompileSourceFile.h" diff --git a/src/CommandLine/CommandLineParser.cpp b/src/CommandLine/CommandLineParser.cpp index 570ec4fb0e..cfdfdb8f07 100644 --- a/src/CommandLine/CommandLineParser.cpp +++ b/src/CommandLine/CommandLineParser.cpp @@ -34,6 +34,7 @@ #include "Surelog/API/PythonAPI.h" #include "Surelog/Common/PlatformFileSystem.h" #include "Surelog/ErrorReporting/ErrorContainer.h" +#include "Surelog/ErrorReporting/ErrorDefinition.h" #include "Surelog/SourceCompile/SymbolTable.h" #include "Surelog/Utils/StringUtils.h" #include "Surelog/surelog-version.h" diff --git a/src/Design/Design.cpp b/src/Design/Design.cpp index 7f87561635..ee99e63ce4 100644 --- a/src/Design/Design.cpp +++ b/src/Design/Design.cpp @@ -39,6 +39,7 @@ #include "Surelog/Design/ModuleDefinition.h" #include "Surelog/Design/ModuleInstance.h" #include "Surelog/ErrorReporting/ErrorContainer.h" +#include "Surelog/ErrorReporting/ErrorDefinition.h" #include "Surelog/Expression/Value.h" #include "Surelog/Package/Package.h" #include "Surelog/SourceCompile/SymbolTable.h" diff --git a/src/Design/FileContent.cpp b/src/Design/FileContent.cpp index be9d392e30..ae693d639e 100644 --- a/src/Design/FileContent.cpp +++ b/src/Design/FileContent.cpp @@ -33,6 +33,7 @@ #include "Surelog/Common/FileSystem.h" #include "Surelog/Design/DesignElement.h" #include "Surelog/ErrorReporting/ErrorContainer.h" +#include "Surelog/ErrorReporting/ErrorDefinition.h" #include "Surelog/Library/Library.h" #include "Surelog/SourceCompile/SymbolTable.h" #include "Surelog/SourceCompile/VObjectTypes.h" diff --git a/src/DesignCompile/CompileClass.cpp b/src/DesignCompile/CompileClass.cpp index b4adb07ccd..377109c320 100644 --- a/src/DesignCompile/CompileClass.cpp +++ b/src/DesignCompile/CompileClass.cpp @@ -29,6 +29,7 @@ #include "Surelog/Design/FileContent.h" #include "Surelog/DesignCompile/CompileDesign.h" #include "Surelog/ErrorReporting/ErrorContainer.h" +#include "Surelog/ErrorReporting/ErrorDefinition.h" #include "Surelog/SourceCompile/Compiler.h" #include "Surelog/SourceCompile/SymbolTable.h" #include "Surelog/SourceCompile/VObjectTypes.h" diff --git a/src/DesignCompile/CompileDesign.cpp b/src/DesignCompile/CompileDesign.cpp index 2968d5f2a9..1bb9caeb43 100644 --- a/src/DesignCompile/CompileDesign.cpp +++ b/src/DesignCompile/CompileDesign.cpp @@ -42,6 +42,7 @@ #include "Surelog/DesignCompile/UVMElaboration.h" #include "Surelog/DesignCompile/UhdmWriter.h" #include "Surelog/ErrorReporting/ErrorContainer.h" +#include "Surelog/ErrorReporting/ErrorDefinition.h" #include "Surelog/Library/Library.h" #include "Surelog/Package/Package.h" #include "Surelog/SourceCompile/Compiler.h" diff --git a/src/DesignCompile/CompileExpression.cpp b/src/DesignCompile/CompileExpression.cpp index d51aa590c7..453c9e89e6 100644 --- a/src/DesignCompile/CompileExpression.cpp +++ b/src/DesignCompile/CompileExpression.cpp @@ -48,6 +48,7 @@ #include "Surelog/DesignCompile/CompileDesign.h" #include "Surelog/DesignCompile/CompileHelper.h" #include "Surelog/DesignCompile/UhdmWriter.h" +#include "Surelog/ErrorReporting/ErrorDefinition.h" #include "Surelog/Package/Package.h" #include "Surelog/SourceCompile/Compiler.h" #include "Surelog/SourceCompile/SymbolTable.h" diff --git a/src/DesignCompile/CompileHelper.cpp b/src/DesignCompile/CompileHelper.cpp index a96e8b0937..84db52f66b 100644 --- a/src/DesignCompile/CompileHelper.cpp +++ b/src/DesignCompile/CompileHelper.cpp @@ -43,6 +43,7 @@ #include "Surelog/DesignCompile/UhdmWriter.h" #include "Surelog/ErrorReporting/Error.h" #include "Surelog/ErrorReporting/ErrorContainer.h" +#include "Surelog/ErrorReporting/ErrorDefinition.h" #include "Surelog/ErrorReporting/Location.h" #include "Surelog/Library/Library.h" #include "Surelog/Package/Package.h" diff --git a/src/DesignCompile/CompileModule.cpp b/src/DesignCompile/CompileModule.cpp index 1f4930c02e..897d179900 100644 --- a/src/DesignCompile/CompileModule.cpp +++ b/src/DesignCompile/CompileModule.cpp @@ -31,6 +31,7 @@ #include "Surelog/Design/ModuleInstance.h" #include "Surelog/DesignCompile/CompileDesign.h" #include "Surelog/ErrorReporting/ErrorContainer.h" +#include "Surelog/ErrorReporting/ErrorDefinition.h" #include "Surelog/Library/Library.h" #include "Surelog/SourceCompile/Compiler.h" #include "Surelog/SourceCompile/SymbolTable.h" diff --git a/src/DesignCompile/CompilePackage.cpp b/src/DesignCompile/CompilePackage.cpp index 11490ba246..2262c2eb2f 100644 --- a/src/DesignCompile/CompilePackage.cpp +++ b/src/DesignCompile/CompilePackage.cpp @@ -29,6 +29,7 @@ #include "Surelog/Design/VObject.h" #include "Surelog/DesignCompile/CompileDesign.h" #include "Surelog/ErrorReporting/ErrorContainer.h" +#include "Surelog/ErrorReporting/ErrorDefinition.h" #include "Surelog/Library/Library.h" #include "Surelog/Package/Package.h" #include "Surelog/SourceCompile/Compiler.h" diff --git a/src/DesignCompile/CompileStmt.cpp b/src/DesignCompile/CompileStmt.cpp index a28d15659a..450a3c1285 100644 --- a/src/DesignCompile/CompileStmt.cpp +++ b/src/DesignCompile/CompileStmt.cpp @@ -35,6 +35,7 @@ #include "Surelog/DesignCompile/CompileHelper.h" #include "Surelog/DesignCompile/UhdmWriter.h" #include "Surelog/ErrorReporting/ErrorContainer.h" +#include "Surelog/ErrorReporting/ErrorDefinition.h" #include "Surelog/Expression/ExprBuilder.h" #include "Surelog/Expression/Value.h" #include "Surelog/Library/Library.h" diff --git a/src/DesignCompile/CompileType.cpp b/src/DesignCompile/CompileType.cpp index 2ddde6bad3..eac87cd81f 100644 --- a/src/DesignCompile/CompileType.cpp +++ b/src/DesignCompile/CompileType.cpp @@ -39,6 +39,7 @@ #include "Surelog/Design/Union.h" #include "Surelog/DesignCompile/CompileDesign.h" #include "Surelog/DesignCompile/CompileHelper.h" +#include "Surelog/ErrorReporting/ErrorDefinition.h" #include "Surelog/Library/Library.h" #include "Surelog/Package/Package.h" #include "Surelog/SourceCompile/Compiler.h" diff --git a/src/DesignCompile/DesignElaboration.cpp b/src/DesignCompile/DesignElaboration.cpp index 7e9e1bf132..3dbdafc63f 100644 --- a/src/DesignCompile/DesignElaboration.cpp +++ b/src/DesignCompile/DesignElaboration.cpp @@ -37,6 +37,7 @@ #include "Surelog/DesignCompile/CompileModule.h" #include "Surelog/DesignCompile/NetlistElaboration.h" #include "Surelog/DesignCompile/UhdmWriter.h" +#include "Surelog/ErrorReporting/ErrorDefinition.h" #include "Surelog/Library/Library.h" #include "Surelog/Package/Package.h" #include "Surelog/SourceCompile/Compiler.h" diff --git a/src/DesignCompile/ElaborationStep.cpp b/src/DesignCompile/ElaborationStep.cpp index 9b6609f2e5..7e708dfa79 100644 --- a/src/DesignCompile/ElaborationStep.cpp +++ b/src/DesignCompile/ElaborationStep.cpp @@ -50,6 +50,7 @@ #include "Surelog/Design/TfPortItem.h" #include "Surelog/Design/Union.h" #include "Surelog/DesignCompile/CompileDesign.h" +#include "Surelog/ErrorReporting/ErrorDefinition.h" #include "Surelog/Library/Library.h" #include "Surelog/Package/Package.h" #include "Surelog/SourceCompile/Compiler.h" diff --git a/src/DesignCompile/NetlistElaboration.cpp b/src/DesignCompile/NetlistElaboration.cpp index 1b0739dafe..26d756e0a1 100644 --- a/src/DesignCompile/NetlistElaboration.cpp +++ b/src/DesignCompile/NetlistElaboration.cpp @@ -49,6 +49,7 @@ #include "Surelog/Design/Union.h" #include "Surelog/DesignCompile/CompileDesign.h" #include "Surelog/DesignCompile/UhdmWriter.h" +#include "Surelog/ErrorReporting/ErrorDefinition.h" #include "Surelog/Package/Package.h" #include "Surelog/SourceCompile/Compiler.h" #include "Surelog/SourceCompile/SymbolTable.h" diff --git a/src/DesignCompile/TestbenchElaboration.cpp b/src/DesignCompile/TestbenchElaboration.cpp index 0189297760..e131e1e907 100644 --- a/src/DesignCompile/TestbenchElaboration.cpp +++ b/src/DesignCompile/TestbenchElaboration.cpp @@ -32,6 +32,7 @@ #include "Surelog/Design/Statement.h" #include "Surelog/Design/TfPortItem.h" #include "Surelog/DesignCompile/CompileDesign.h" +#include "Surelog/ErrorReporting/ErrorDefinition.h" #include "Surelog/SourceCompile/Compiler.h" #include "Surelog/SourceCompile/SymbolTable.h" #include "Surelog/SourceCompile/VObjectTypes.h" diff --git a/src/DesignCompile/UhdmChecker.cpp b/src/DesignCompile/UhdmChecker.cpp index 1b4fb7ac8c..a501e21fab 100644 --- a/src/DesignCompile/UhdmChecker.cpp +++ b/src/DesignCompile/UhdmChecker.cpp @@ -30,6 +30,7 @@ #include "Surelog/Design/ModuleInstance.h" #include "Surelog/Design/VObject.h" #include "Surelog/DesignCompile/CompileDesign.h" +#include "Surelog/ErrorReporting/ErrorDefinition.h" #include "Surelog/Library/Library.h" #include "Surelog/Package/Package.h" #include "Surelog/SourceCompile/Compiler.h" diff --git a/src/DesignCompile/UhdmWriter.cpp b/src/DesignCompile/UhdmWriter.cpp index 23fd8f64ac..6e4099a1fc 100644 --- a/src/DesignCompile/UhdmWriter.cpp +++ b/src/DesignCompile/UhdmWriter.cpp @@ -47,6 +47,7 @@ #include "Surelog/Design/Signal.h" #include "Surelog/DesignCompile/CompileDesign.h" #include "Surelog/DesignCompile/UhdmChecker.h" +#include "Surelog/ErrorReporting/ErrorDefinition.h" #include "Surelog/Package/Package.h" #include "Surelog/SourceCompile/Compiler.h" #include "Surelog/SourceCompile/SymbolTable.h" diff --git a/src/ErrorReporting/Error.cpp b/src/ErrorReporting/Error.cpp index b288587c7a..60fdf9e5a8 100644 --- a/src/ErrorReporting/Error.cpp +++ b/src/ErrorReporting/Error.cpp @@ -26,6 +26,8 @@ #include #include +#include "Surelog/ErrorReporting/ErrorDefinition.h" + namespace SURELOG { Error::Error(ErrorDefinition::ErrorType errorId, const Location& loc, diff --git a/src/Expression/ExprBuilder.cpp b/src/Expression/ExprBuilder.cpp index 43c5f2056b..5fac0573ca 100644 --- a/src/Expression/ExprBuilder.cpp +++ b/src/Expression/ExprBuilder.cpp @@ -31,6 +31,7 @@ #include "Surelog/Design/Design.h" #include "Surelog/Design/FileContent.h" #include "Surelog/ErrorReporting/ErrorContainer.h" +#include "Surelog/ErrorReporting/ErrorDefinition.h" #include "Surelog/Package/Package.h" #include "Surelog/SourceCompile/SymbolTable.h" #include "Surelog/SourceCompile/VObjectTypes.h" diff --git a/src/Library/AntlrLibParserErrorListener.cpp b/src/Library/AntlrLibParserErrorListener.cpp index 2e4c8a655d..d44a7a1776 100644 --- a/src/Library/AntlrLibParserErrorListener.cpp +++ b/src/Library/AntlrLibParserErrorListener.cpp @@ -26,6 +26,7 @@ #include #include "Surelog/ErrorReporting/ErrorContainer.h" +#include "Surelog/ErrorReporting/ErrorDefinition.h" #include "Surelog/Library/ParseLibraryDef.h" #include "Surelog/SourceCompile/SymbolTable.h" diff --git a/src/Library/LibrarySet.cpp b/src/Library/LibrarySet.cpp index 609291616c..85f1ad92ce 100644 --- a/src/Library/LibrarySet.cpp +++ b/src/Library/LibrarySet.cpp @@ -30,6 +30,7 @@ #include #include "Surelog/ErrorReporting/ErrorContainer.h" +#include "Surelog/ErrorReporting/ErrorDefinition.h" #include "Surelog/Library/Library.h" #include "Surelog/SourceCompile/SymbolTable.h" #include "Surelog/Utils/StringUtils.h" diff --git a/src/Library/ParseLibraryDef.cpp b/src/Library/ParseLibraryDef.cpp index 9b681032ea..c5a91ba956 100644 --- a/src/Library/ParseLibraryDef.cpp +++ b/src/Library/ParseLibraryDef.cpp @@ -36,6 +36,7 @@ #include "Surelog/Config/ConfigSet.h" #include "Surelog/Design/FileContent.h" #include "Surelog/ErrorReporting/ErrorContainer.h" +#include "Surelog/ErrorReporting/ErrorDefinition.h" #include "Surelog/Library/AntlrLibParserErrorListener.h" #include "Surelog/Library/Library.h" #include "Surelog/Library/LibrarySet.h" diff --git a/src/Library/SVLibShapeListener.cpp b/src/Library/SVLibShapeListener.cpp index fe3cad06da..719bea46b1 100644 --- a/src/Library/SVLibShapeListener.cpp +++ b/src/Library/SVLibShapeListener.cpp @@ -31,6 +31,7 @@ #include "Surelog/Common/FileSystem.h" #include "Surelog/Design/FileContent.h" #include "Surelog/ErrorReporting/ErrorContainer.h" +#include "Surelog/ErrorReporting/ErrorDefinition.h" #include "Surelog/Library/Library.h" #include "Surelog/Library/LibrarySet.h" #include "Surelog/Library/ParseLibraryDef.h" diff --git a/src/SourceCompile/AnalyzeFile.cpp b/src/SourceCompile/AnalyzeFile.cpp index 780b0b7be3..dccec9e35e 100644 --- a/src/SourceCompile/AnalyzeFile.cpp +++ b/src/SourceCompile/AnalyzeFile.cpp @@ -35,6 +35,7 @@ #include "Surelog/Common/FileSystem.h" #include "Surelog/Design/Design.h" #include "Surelog/ErrorReporting/ErrorContainer.h" +#include "Surelog/ErrorReporting/ErrorDefinition.h" #include "Surelog/SourceCompile/SymbolTable.h" #include "Surelog/Utils/StringUtils.h" diff --git a/src/SourceCompile/AntlrParserErrorListener.cpp b/src/SourceCompile/AntlrParserErrorListener.cpp index 34284f8efa..33df0ad681 100644 --- a/src/SourceCompile/AntlrParserErrorListener.cpp +++ b/src/SourceCompile/AntlrParserErrorListener.cpp @@ -27,6 +27,7 @@ #include #include "Surelog/Common/FileSystem.h" +#include "Surelog/ErrorReporting/ErrorDefinition.h" #include "Surelog/SourceCompile/CompileSourceFile.h" #include "Surelog/SourceCompile/ParseFile.h" #include "Surelog/Utils/StringUtils.h" diff --git a/src/SourceCompile/CheckCompile.cpp b/src/SourceCompile/CheckCompile.cpp index 8e8f08251f..09d5aae921 100644 --- a/src/SourceCompile/CheckCompile.cpp +++ b/src/SourceCompile/CheckCompile.cpp @@ -33,6 +33,7 @@ #include "Surelog/Design/DesignElement.h" #include "Surelog/Design/FileContent.h" #include "Surelog/ErrorReporting/ErrorContainer.h" +#include "Surelog/ErrorReporting/ErrorDefinition.h" #include "Surelog/SourceCompile/Compiler.h" #include "Surelog/SourceCompile/SymbolTable.h" diff --git a/src/SourceCompile/CompileSourceFile.cpp b/src/SourceCompile/CompileSourceFile.cpp index 87f4b6c4ba..dde38c23be 100644 --- a/src/SourceCompile/CompileSourceFile.cpp +++ b/src/SourceCompile/CompileSourceFile.cpp @@ -26,6 +26,7 @@ #include "Surelog/CommandLine/CommandLineParser.h" #include "Surelog/Common/FileSystem.h" #include "Surelog/ErrorReporting/ErrorContainer.h" +#include "Surelog/ErrorReporting/ErrorDefinition.h" #include "Surelog/Library/Library.h" #include "Surelog/Package/Precompiled.h" #include "Surelog/SourceCompile/AnalyzeFile.h" diff --git a/src/SourceCompile/ParseFile.cpp b/src/SourceCompile/ParseFile.cpp index a442e11082..2de75aeda2 100644 --- a/src/SourceCompile/ParseFile.cpp +++ b/src/SourceCompile/ParseFile.cpp @@ -36,6 +36,7 @@ #include "Surelog/Common/FileSystem.h" #include "Surelog/Design/FileContent.h" #include "Surelog/ErrorReporting/ErrorContainer.h" +#include "Surelog/ErrorReporting/ErrorDefinition.h" #include "Surelog/Package/Precompiled.h" #include "Surelog/SourceCompile/AntlrParserErrorListener.h" #include "Surelog/SourceCompile/AntlrParserHandler.h" diff --git a/src/SourceCompile/PreprocessFile.cpp b/src/SourceCompile/PreprocessFile.cpp index f8e86fa701..fae95ba204 100644 --- a/src/SourceCompile/PreprocessFile.cpp +++ b/src/SourceCompile/PreprocessFile.cpp @@ -41,6 +41,7 @@ #include "Surelog/Common/FileSystem.h" #include "Surelog/Design/FileContent.h" #include "Surelog/ErrorReporting/ErrorContainer.h" +#include "Surelog/ErrorReporting/ErrorDefinition.h" #include "Surelog/ErrorReporting/Waiver.h" #include "Surelog/Package/Precompiled.h" #include "Surelog/SourceCompile/CompilationUnit.h" diff --git a/src/SourceCompile/PreprocessFile_test.cpp b/src/SourceCompile/PreprocessFile_test.cpp index 379598c5c1..8bf7daf8e3 100644 --- a/src/SourceCompile/PreprocessFile_test.cpp +++ b/src/SourceCompile/PreprocessFile_test.cpp @@ -20,6 +20,7 @@ #include #include +#include "Surelog/ErrorReporting/ErrorDefinition.h" #include "Surelog/SourceCompile/PreprocessHarness.h" namespace SURELOG { diff --git a/src/SourceCompile/SV3_1aPpTreeListenerHelper.cpp b/src/SourceCompile/SV3_1aPpTreeListenerHelper.cpp index 31c7e31be1..0f35631d6c 100644 --- a/src/SourceCompile/SV3_1aPpTreeListenerHelper.cpp +++ b/src/SourceCompile/SV3_1aPpTreeListenerHelper.cpp @@ -29,6 +29,7 @@ #include "Surelog/CommandLine/CommandLineParser.h" #include "Surelog/ErrorReporting/ErrorContainer.h" +#include "Surelog/ErrorReporting/ErrorDefinition.h" #include "Surelog/SourceCompile/CompileSourceFile.h" #include "Surelog/SourceCompile/MacroInfo.h" #include "Surelog/SourceCompile/SymbolTable.h" diff --git a/src/SourceCompile/SV3_1aPpTreeShapeListener.cpp b/src/SourceCompile/SV3_1aPpTreeShapeListener.cpp index 89998f6b47..821ae85c23 100644 --- a/src/SourceCompile/SV3_1aPpTreeShapeListener.cpp +++ b/src/SourceCompile/SV3_1aPpTreeShapeListener.cpp @@ -28,6 +28,7 @@ #include "Surelog/Common/FileSystem.h" #include "Surelog/Design/Design.h" #include "Surelog/Design/FileContent.h" +#include "Surelog/ErrorReporting/ErrorDefinition.h" #include "Surelog/SourceCompile/CompilationUnit.h" #include "Surelog/SourceCompile/CompileSourceFile.h" #include "Surelog/SourceCompile/Compiler.h" diff --git a/src/SourceCompile/SV3_1aTreeShapeHelper.cpp b/src/SourceCompile/SV3_1aTreeShapeHelper.cpp index e5d0582dea..15796a3450 100644 --- a/src/SourceCompile/SV3_1aTreeShapeHelper.cpp +++ b/src/SourceCompile/SV3_1aTreeShapeHelper.cpp @@ -33,6 +33,7 @@ #include "Surelog/Common/NodeId.h" #include "Surelog/Design/FileContent.h" #include "Surelog/ErrorReporting/ErrorContainer.h" +#include "Surelog/ErrorReporting/ErrorDefinition.h" #include "Surelog/Library/Library.h" #include "Surelog/SourceCompile/CompilationUnit.h" #include "Surelog/SourceCompile/CompileSourceFile.h" diff --git a/src/SourceCompile/SV3_1aTreeShapeListener.cpp b/src/SourceCompile/SV3_1aTreeShapeListener.cpp index 411d7aa86b..51634e2c03 100644 --- a/src/SourceCompile/SV3_1aTreeShapeListener.cpp +++ b/src/SourceCompile/SV3_1aTreeShapeListener.cpp @@ -33,6 +33,7 @@ #include "Surelog/Common/FileSystem.h" #include "Surelog/Design/Design.h" #include "Surelog/Design/FileContent.h" +#include "Surelog/ErrorReporting/ErrorDefinition.h" #include "Surelog/SourceCompile/CompilationUnit.h" #include "Surelog/SourceCompile/Compiler.h" #include "Surelog/SourceCompile/ParseFile.h" diff --git a/src/main.cpp b/src/main.cpp index f00453c216..3911f4a9e8 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -50,6 +50,7 @@ #include "Surelog/CommandLine/CommandLineParser.h" #include "Surelog/Common/PlatformFileSystem.h" #include "Surelog/ErrorReporting/ErrorContainer.h" +#include "Surelog/ErrorReporting/ErrorDefinition.h" #include "Surelog/ErrorReporting/Report.h" #include "Surelog/ErrorReporting/Waiver.h" #include "Surelog/SourceCompile/SymbolTable.h"