commit
a11dea0e98
|
@ -0,0 +1,96 @@
|
|||
Language: Cpp
|
||||
# BasedOnStyle: LLVM
|
||||
# should be in line with IndentWidth
|
||||
AccessModifierOffset: -4
|
||||
AlignAfterOpenBracket: Align
|
||||
AlignConsecutiveAssignments: false
|
||||
AlignConsecutiveDeclarations: false
|
||||
AlignEscapedNewlinesLeft: false
|
||||
AlignOperands: true
|
||||
AlignTrailingComments: true
|
||||
AllowAllParametersOfDeclarationOnNextLine: true
|
||||
AllowShortBlocksOnASingleLine: false
|
||||
AllowShortCaseLabelsOnASingleLine: false
|
||||
AllowShortFunctionsOnASingleLine: All
|
||||
AllowShortIfStatementsOnASingleLine: false
|
||||
AllowShortLoopsOnASingleLine: false
|
||||
AlwaysBreakAfterDefinitionReturnType: None
|
||||
AlwaysBreakAfterReturnType: None
|
||||
AlwaysBreakBeforeMultilineStrings: false
|
||||
AlwaysBreakTemplateDeclarations: false
|
||||
BinPackArguments: true
|
||||
BinPackParameters: true
|
||||
BraceWrapping:
|
||||
AfterClass: false
|
||||
AfterControlStatement: false
|
||||
AfterEnum: false
|
||||
AfterFunction: false
|
||||
AfterNamespace: false
|
||||
AfterObjCDeclaration: false
|
||||
AfterStruct: false
|
||||
AfterUnion: false
|
||||
BeforeCatch: false
|
||||
BeforeElse: false
|
||||
IndentBraces: false
|
||||
BreakBeforeBinaryOperators: None
|
||||
BreakBeforeBraces: Attach
|
||||
BreakBeforeTernaryOperators: true
|
||||
BreakConstructorInitializersBeforeComma: true
|
||||
BreakAfterJavaFieldAnnotations: false
|
||||
BreakStringLiterals: true
|
||||
ColumnLimit: 120
|
||||
CommentPragmas: '^( IWYU pragma:| @suppress)'
|
||||
ConstructorInitializerAllOnOneLineOrOnePerLine: false
|
||||
ConstructorInitializerIndentWidth: 0
|
||||
ContinuationIndentWidth: 4
|
||||
Cpp11BracedListStyle: true
|
||||
DerivePointerAlignment: false
|
||||
DisableFormat: false
|
||||
ExperimentalAutoDetectBinPacking: false
|
||||
ForEachMacros: [ foreach, Q_FOREACH, BOOST_FOREACH ]
|
||||
IncludeCategories:
|
||||
- Regex: '^"(llvm|llvm-c|clang|clang-c)/'
|
||||
Priority: 2
|
||||
- Regex: '^(<|"(gtest|isl|json)/)'
|
||||
Priority: 3
|
||||
- Regex: '.*'
|
||||
Priority: 1
|
||||
IncludeIsMainRegex: '$'
|
||||
IndentCaseLabels: false
|
||||
IndentWidth: 4
|
||||
IndentWrappedFunctionNames: false
|
||||
JavaScriptQuotes: Leave
|
||||
JavaScriptWrapImports: true
|
||||
KeepEmptyLinesAtTheStartOfBlocks: true
|
||||
MacroBlockBegin: ''
|
||||
MacroBlockEnd: ''
|
||||
MaxEmptyLinesToKeep: 1
|
||||
NamespaceIndentation: None
|
||||
ObjCBlockIndentWidth: 2
|
||||
ObjCSpaceAfterProperty: false
|
||||
ObjCSpaceBeforeProtocolList: true
|
||||
PenaltyBreakBeforeFirstCallParameter: 19
|
||||
PenaltyBreakComment: 300
|
||||
PenaltyBreakFirstLessLess: 120
|
||||
PenaltyBreakString: 1000
|
||||
PenaltyExcessCharacter: 1000000
|
||||
PenaltyReturnTypeOnItsOwnLine: 60
|
||||
PointerAlignment: Left
|
||||
ReflowComments: true
|
||||
SortIncludes: true
|
||||
SpaceAfterCStyleCast: false
|
||||
SpaceAfterTemplateKeyword: true
|
||||
SpaceBeforeAssignmentOperators: true
|
||||
SpaceBeforeParens: Never
|
||||
SpaceInEmptyParentheses: false
|
||||
SpacesBeforeTrailingComments: 1
|
||||
SpacesInAngles: false
|
||||
SpacesInContainerLiterals: true
|
||||
SpacesInCStyleCastParentheses: false
|
||||
SpacesInParentheses: false
|
||||
SpacesInSquareBrackets: false
|
||||
Standard: Cpp11
|
||||
TabWidth: 4
|
||||
UseTab: Never
|
||||
...
|
||||
|
50
.cproject
50
.cproject
|
@ -12,11 +12,11 @@
|
|||
</extensions>
|
||||
</storageModule>
|
||||
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
|
||||
<configuration artifactName="${ProjName}" buildProperties="" description="" id="cdt.managedbuild.toolchain.gnu.base.1730410661" name="Debug" optionalBuildProperties="org.eclipse.cdt.docker.launcher.containerbuild.property.selectedvolumes=,org.eclipse.cdt.docker.launcher.containerbuild.property.volumes=" parent="org.eclipse.cdt.build.core.emptycfg">
|
||||
<configuration artifactName="${ProjName}" buildProperties="" description="" id="cdt.managedbuild.toolchain.gnu.base.1730410661" name="Debug" optionalBuildProperties="org.eclipse.cdt.docker.launcher.containerbuild.property.volumes=,org.eclipse.cdt.docker.launcher.containerbuild.property.selectedvolumes=" parent="org.eclipse.cdt.build.core.emptycfg">
|
||||
<folderInfo id="cdt.managedbuild.toolchain.gnu.base.1730410661.218663890" name="/" resourcePath="">
|
||||
<toolChain id="cdt.managedbuild.toolchain.gnu.base.953157788" name="Linux GCC" superClass="cdt.managedbuild.toolchain.gnu.base">
|
||||
<targetPlatform archList="all" binaryParser="org.eclipse.cdt.core.GNU_ELF" id="cdt.managedbuild.target.gnu.platform.base.1034252621" name="Debug Platform" osList="linux,hpux,aix,qnx" superClass="cdt.managedbuild.target.gnu.platform.base"/>
|
||||
<builder buildPath="/TGFS-VP/build/Debug" id="de.marw.cdt.cmake.core.genscriptbuilder.959296861" keepEnvironmentInBuildfile="false" name="CMake Builder" parallelBuildOn="true" parallelizationNumber="optimal" superClass="de.marw.cdt.cmake.core.genscriptbuilder"/>
|
||||
<builder buildPath="/TGC-VP/build/Debug" id="cmake4eclipse.mbs.builder.1810203992" keepEnvironmentInBuildfile="false" name="CMake Builder" parallelBuildOn="true" parallelizationNumber="optimal" superClass="cmake4eclipse.mbs.builder"/>
|
||||
<tool id="cdt.managedbuild.tool.gnu.archiver.base.519757762" name="GCC Archiver" superClass="cdt.managedbuild.tool.gnu.archiver.base"/>
|
||||
<tool id="cdt.managedbuild.tool.gnu.cpp.compiler.base.1878089590" name="GCC C++ Compiler" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.base">
|
||||
<inputType id="cdt.managedbuild.tool.gnu.cpp.compiler.input.705150349" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.input"/>
|
||||
|
@ -46,6 +46,15 @@
|
|||
<def name="BUILD_SHARED_LIBS" type="STRING" val="ON"/>
|
||||
</defs>
|
||||
</storageModule>
|
||||
<storageModule buildDir="build/${ConfigName}" dirtyTs="1700498504002" moduleId="de.marw.cmake4eclipse.mbs.settings">
|
||||
<options/>
|
||||
<defs>
|
||||
<def name="CMAKE_BUILD_TYPE" type="STRING" val="Debug"/>
|
||||
<def name="USE_CWR_SYSTEMC" type="BOOL" val="OFF"/>
|
||||
<def name="FW_BUILD" type="BOOL" val="ON"/>
|
||||
<def name="WITH_LLVM" type="BOOL" val="OFF"/>
|
||||
</defs>
|
||||
</storageModule>
|
||||
</cconfiguration>
|
||||
<cconfiguration id="cdt.managedbuild.toolchain.gnu.base.1730410661.719145049">
|
||||
<storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="cdt.managedbuild.toolchain.gnu.base.1730410661.719145049" moduleId="org.eclipse.cdt.core.settings" name="Release">
|
||||
|
@ -58,11 +67,11 @@
|
|||
</extensions>
|
||||
</storageModule>
|
||||
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
|
||||
<configuration artifactName="${ProjName}" buildProperties="" description="" id="cdt.managedbuild.toolchain.gnu.base.1730410661.719145049" name="Release" optionalBuildProperties="org.eclipse.cdt.docker.launcher.containerbuild.property.selectedvolumes=,org.eclipse.cdt.docker.launcher.containerbuild.property.volumes=" parent="org.eclipse.cdt.build.core.emptycfg">
|
||||
<configuration artifactName="${ProjName}" buildProperties="" description="" id="cdt.managedbuild.toolchain.gnu.base.1730410661.719145049" name="Release" optionalBuildProperties="org.eclipse.cdt.docker.launcher.containerbuild.property.volumes=,org.eclipse.cdt.docker.launcher.containerbuild.property.selectedvolumes=" parent="org.eclipse.cdt.build.core.emptycfg">
|
||||
<folderInfo id="cdt.managedbuild.toolchain.gnu.base.1730410661.719145049." name="/" resourcePath="">
|
||||
<toolChain id="cdt.managedbuild.toolchain.gnu.base.63768783" name="Linux GCC" superClass="cdt.managedbuild.toolchain.gnu.base">
|
||||
<targetPlatform archList="all" binaryParser="org.eclipse.cdt.core.GNU_ELF" id="cdt.managedbuild.target.gnu.platform.base.942580764" name="Debug Platform" osList="linux,hpux,aix,qnx" superClass="cdt.managedbuild.target.gnu.platform.base"/>
|
||||
<builder buildPath="/TGFS-VP/build/Debug" id="de.marw.cdt.cmake.core.genscriptbuilder.1665148758" keepEnvironmentInBuildfile="false" name="CMake Builder" parallelBuildOn="true" parallelizationNumber="optimal" superClass="de.marw.cdt.cmake.core.genscriptbuilder"/>
|
||||
<builder buildPath="/TGC-VP/build/Release" id="cmake4eclipse.mbs.builder.1619807392" keepEnvironmentInBuildfile="false" name="CMake Builder" parallelBuildOn="true" parallelizationNumber="optimal" superClass="cmake4eclipse.mbs.builder"/>
|
||||
<tool id="cdt.managedbuild.tool.gnu.archiver.base.2063467163" name="GCC Archiver" superClass="cdt.managedbuild.tool.gnu.archiver.base"/>
|
||||
<tool id="cdt.managedbuild.tool.gnu.cpp.compiler.base.1534023345" name="GCC C++ Compiler" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.base">
|
||||
<inputType id="cdt.managedbuild.tool.gnu.cpp.compiler.input.1510234384" superClass="cdt.managedbuild.tool.gnu.cpp.compiler.input"/>
|
||||
|
@ -92,6 +101,13 @@
|
|||
<def name="BUILD_SHARED_LIBS" type="STRING" val="ON"/>
|
||||
</defs>
|
||||
</storageModule>
|
||||
<storageModule buildDir="build/${ConfigName}" dirtyTs="1698267362359" moduleId="de.marw.cmake4eclipse.mbs.settings">
|
||||
<options/>
|
||||
<defs>
|
||||
<def name="CMAKE_BUILD_TYPE" type="STRING" val="Release"/>
|
||||
<def name="WITH_LLVM" type="BOOL" val="ON"/>
|
||||
</defs>
|
||||
</storageModule>
|
||||
</cconfiguration>
|
||||
</storageModule>
|
||||
<storageModule moduleId="cdtBuildSystem" version="4.0.0">
|
||||
|
@ -99,21 +115,14 @@
|
|||
</storageModule>
|
||||
<storageModule moduleId="org.eclipse.cdt.core.LanguageSettingsProviders"/>
|
||||
<storageModule moduleId="refreshScope" versionNumber="2">
|
||||
<configuration configurationName="Debug-PA"/>
|
||||
<configuration configurationName="Default">
|
||||
<resource resourceType="PROJECT" workspacePath="/TGFS-VP"/>
|
||||
</configuration>
|
||||
<configuration configurationName="Debug"/>
|
||||
<configuration configurationName="Release"/>
|
||||
</storageModule>
|
||||
<storageModule moduleId="org.eclipse.cdt.internal.ui.text.commentOwnerProjectMappings"/>
|
||||
<storageModule moduleId="scannerConfiguration">
|
||||
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>
|
||||
<scannerConfigBuildInfo instanceId="cdt.managedbuild.toolchain.gnu.base.1730410661;cdt.managedbuild.toolchain.gnu.base.1730410661.218663890;cdt.managedbuild.tool.gnu.c.compiler.base.415892287;cdt.managedbuild.tool.gnu.c.compiler.input.1806041557">
|
||||
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>
|
||||
</scannerConfigBuildInfo>
|
||||
<scannerConfigBuildInfo instanceId="cdt.managedbuild.toolchain.gnu.base.1730410661;cdt.managedbuild.toolchain.gnu.base.1730410661.218663890;cdt.managedbuild.tool.gnu.cpp.compiler.base.1878089590;cdt.managedbuild.tool.gnu.cpp.compiler.input.705150349">
|
||||
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>
|
||||
</scannerConfigBuildInfo>
|
||||
</storageModule>
|
||||
<storageModule moduleId="org.eclipse.cdt.make.core.buildtargets">
|
||||
<buildTargets>
|
||||
<target name="fw-hello-world" path="" targetID="org.eclipse.cdt.build.MakeTargetBuilder">
|
||||
|
@ -142,4 +151,19 @@
|
|||
</target>
|
||||
</buildTargets>
|
||||
</storageModule>
|
||||
<storageModule moduleId="scannerConfiguration">
|
||||
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>
|
||||
<scannerConfigBuildInfo instanceId="cdt.managedbuild.toolchain.gnu.base.1730410661.719145049;cdt.managedbuild.toolchain.gnu.base.1730410661.719145049.;cdt.managedbuild.tool.gnu.cpp.compiler.base.1534023345;cdt.managedbuild.tool.gnu.cpp.compiler.input.1510234384">
|
||||
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>
|
||||
</scannerConfigBuildInfo>
|
||||
<scannerConfigBuildInfo instanceId="cdt.managedbuild.toolchain.gnu.base.1730410661.719145049;cdt.managedbuild.toolchain.gnu.base.1730410661.719145049.;cdt.managedbuild.tool.gnu.c.compiler.base.1971017117;cdt.managedbuild.tool.gnu.c.compiler.input.1521427508">
|
||||
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>
|
||||
</scannerConfigBuildInfo>
|
||||
<scannerConfigBuildInfo instanceId="cdt.managedbuild.toolchain.gnu.base.1730410661;cdt.managedbuild.toolchain.gnu.base.1730410661.218663890;cdt.managedbuild.tool.gnu.c.compiler.base.415892287;cdt.managedbuild.tool.gnu.c.compiler.input.1806041557">
|
||||
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>
|
||||
</scannerConfigBuildInfo>
|
||||
<scannerConfigBuildInfo instanceId="cdt.managedbuild.toolchain.gnu.base.1730410661;cdt.managedbuild.toolchain.gnu.base.1730410661.218663890;cdt.managedbuild.tool.gnu.cpp.compiler.base.1878089590;cdt.managedbuild.tool.gnu.cpp.compiler.input.705150349">
|
||||
<autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId=""/>
|
||||
</scannerConfigBuildInfo>
|
||||
</storageModule>
|
||||
</cproject>
|
|
@ -0,0 +1,9 @@
|
|||
distro=`/bin/lsb_release -i -s`
|
||||
if [ $distro == "CentOS" ]; then
|
||||
. /opt/rh/devtoolset-8/enable
|
||||
. /opt/rh/llvm-toolset-7/enable
|
||||
. /opt/rh/rh-python38/enable
|
||||
fi
|
||||
module load ./Modulefile
|
||||
layout python3
|
||||
[ -f .envrc.$USER ] && . .envrc.$USER
|
|
@ -4,10 +4,18 @@
|
|||
*.o
|
||||
*.a
|
||||
*.lib
|
||||
/*.log
|
||||
/*.txlog
|
||||
/*.vcd
|
||||
/*.ftr
|
||||
/*.fst
|
||||
/.vs
|
||||
/out
|
||||
/coverage.info
|
||||
/output.txt
|
||||
/output.trc
|
||||
CMakeSettings.json
|
||||
/.venv
|
||||
/src-gen/
|
||||
/*.json
|
||||
/cfg.yaml
|
||||
|
|
|
@ -9,7 +9,7 @@ tasks:
|
|||
python3 -m venv /workspace/venv
|
||||
python3 -m pip install --upgrade pip
|
||||
source /workspace/venv/bin/activate
|
||||
pip install conan
|
||||
pip install 'conan<2.0'
|
||||
command: |
|
||||
source /workspace/venv/bin/activate
|
||||
cmake -B build -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=ON
|
||||
|
@ -18,3 +18,5 @@ vscode:
|
|||
extensions:
|
||||
- ms-python.python
|
||||
- webfreak.debug
|
||||
- twxs.cmake
|
||||
- ms-vscode.cmake-tools
|
||||
|
|
|
@ -0,0 +1,37 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<launchConfiguration type="org.eclipse.cdt.launch.applicationLaunchType">
|
||||
<booleanAttribute key="org.eclipse.cdt.dsf.gdb.AUTO_SOLIB" value="true"/>
|
||||
<listAttribute key="org.eclipse.cdt.dsf.gdb.AUTO_SOLIB_LIST"/>
|
||||
<stringAttribute key="org.eclipse.cdt.dsf.gdb.DEBUG_NAME" value="gdb"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.dsf.gdb.DEBUG_ON_FORK" value="false"/>
|
||||
<stringAttribute key="org.eclipse.cdt.dsf.gdb.GDB_INIT" value=".gdbinit"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.dsf.gdb.NON_STOP" value="false"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.dsf.gdb.REVERSE" value="false"/>
|
||||
<stringAttribute key="org.eclipse.cdt.dsf.gdb.REVERSE_MODE" value="UseSoftTrace"/>
|
||||
<listAttribute key="org.eclipse.cdt.dsf.gdb.SOLIB_PATH"/>
|
||||
<stringAttribute key="org.eclipse.cdt.dsf.gdb.TRACEPOINT_MODE" value="TP_NORMAL_ONLY"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.dsf.gdb.UPDATE_THREADLIST_ON_SUSPEND" value="false"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.dsf.gdb.internal.ui.launching.LocalApplicationCDebuggerTab.DEFAULTS_SET" value="true"/>
|
||||
<intAttribute key="org.eclipse.cdt.launch.ATTR_BUILD_BEFORE_LAUNCH_ATTR" value="1"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.COREFILE_PATH" value=""/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.DEBUGGER_ID" value="gdb"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.DEBUGGER_START_MODE" value="run"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.launch.DEBUGGER_STOP_AT_MAIN" value="false"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.DEBUGGER_STOP_AT_MAIN_SYMBOL" value="sc_main"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.PROGRAM_ARGUMENTS" value="-f fw/hello-world/hello -p ${workspace_loc:TGC-VP}/build/${config_name:TGC-VP}/tgc-iss/dbt-rise-plugins/pctrace/pctrace.so=tgc-iss/dbt-rise-tgc/contrib/instr/TGC5C_instr.yaml --backend=asmjit"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.PROGRAM_NAME" value="build/${config_name:TGC-VP}/src/tgc-vp"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.PROJECT_ATTR" value="TGC-VP"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.launch.PROJECT_BUILD_CONFIG_AUTO_ATTR" value="true"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.PROJECT_BUILD_CONFIG_ID_ATTR" value=""/>
|
||||
<booleanAttribute key="org.eclipse.debug.core.ATTR_FORCE_SYSTEM_CONSOLE_ENCODING" value="false"/>
|
||||
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
|
||||
<listEntry value="/TGC-VP"/>
|
||||
</listAttribute>
|
||||
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
|
||||
<listEntry value="4"/>
|
||||
</listAttribute>
|
||||
<stringAttribute key="org.eclipse.debug.core.source_locator_id" value="org.eclipse.cdt.debug.core.sourceLocator"/>
|
||||
<stringAttribute key="org.eclipse.debug.core.source_locator_memento" value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <sourceLookupDirector> <sourceContainers duplicates="false"> <container memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#10;&lt;default/&gt;&#10;" typeId="org.eclipse.debug.core.containerType.default"/> <container memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#10;&lt;mapping backend_enabled=&quot;true&quot; name=&quot;Found Mappings&quot;&gt;&#10; &lt;mapEntry memento=&quot;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot; standalone=&amp;quot;no&amp;quot;?&amp;gt;&amp;#10;&amp;lt;mapEntry backendPath=&amp;quot;/home/eyck/.conan/data/tcc/0.9.27/_/_/build/fe910bef8b24b8089b2ea22204cdb1cf8c5cea95/tcc-0.9.27/&amp;quot; localPath=&amp;quot;/home/eyck/.conan/data/tcc/0.9.27/_/_/build/176b7bd27fb0759a69f81f0746a288d1ce945b98/tcc-0.9.27/&amp;quot;/&amp;gt;&amp;#10;&quot;/&gt;&#10;&lt;/mapping&gt;&#10;" typeId="org.eclipse.cdt.debug.core.containerType.mapping"/> </sourceContainers> </sourceLookupDirector> "/>
|
||||
<stringAttribute key="org.eclipse.dsf.launch.MEMORY_BLOCKS" value="<?xml version="1.0" encoding="UTF-8" standalone="no"?><memoryBlockExpressionList context="reserved-for-future-use"/>"/>
|
||||
<stringAttribute key="process_factory_id" value="org.eclipse.cdt.dsf.gdb.GdbProcessFactory"/>
|
||||
</launchConfiguration>
|
|
@ -0,0 +1,35 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<launchConfiguration type="org.eclipse.cdt.launch.applicationLaunchType">
|
||||
<booleanAttribute key="org.eclipse.cdt.dsf.gdb.AUTO_SOLIB" value="true"/>
|
||||
<listAttribute key="org.eclipse.cdt.dsf.gdb.AUTO_SOLIB_LIST"/>
|
||||
<stringAttribute key="org.eclipse.cdt.dsf.gdb.DEBUG_NAME" value="gdb"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.dsf.gdb.DEBUG_ON_FORK" value="false"/>
|
||||
<stringAttribute key="org.eclipse.cdt.dsf.gdb.GDB_INIT" value=".gdbinit"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.dsf.gdb.NON_STOP" value="false"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.dsf.gdb.REVERSE" value="false"/>
|
||||
<stringAttribute key="org.eclipse.cdt.dsf.gdb.REVERSE_MODE" value="UseSoftTrace"/>
|
||||
<listAttribute key="org.eclipse.cdt.dsf.gdb.SOLIB_PATH"/>
|
||||
<stringAttribute key="org.eclipse.cdt.dsf.gdb.TRACEPOINT_MODE" value="TP_NORMAL_ONLY"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.dsf.gdb.UPDATE_THREADLIST_ON_SUSPEND" value="false"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.dsf.gdb.internal.ui.launching.LocalApplicationCDebuggerTab.DEFAULTS_SET" value="true"/>
|
||||
<intAttribute key="org.eclipse.cdt.launch.ATTR_BUILD_BEFORE_LAUNCH_ATTR" value="1"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.COREFILE_PATH" value=""/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.DEBUGGER_ID" value="gdb"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.DEBUGGER_START_MODE" value="run"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.launch.DEBUGGER_STOP_AT_MAIN" value="false"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.DEBUGGER_STOP_AT_MAIN_SYMBOL" value="sc_main"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.PROGRAM_ARGUMENTS" value="-f ${project_loc:dhrystone}/dhrystone -p ce=tgc-iss/dbt-rise-tgc/contrib/instr/TGC5C_instr.yaml --backend=interp --disass -v INFO"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.PROGRAM_NAME" value="build/${config_name:TGC-VP}/src/tgc-vp"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.PROJECT_ATTR" value="TGC-VP"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.launch.PROJECT_BUILD_CONFIG_AUTO_ATTR" value="true"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.PROJECT_BUILD_CONFIG_ID_ATTR" value=""/>
|
||||
<booleanAttribute key="org.eclipse.debug.core.ATTR_FORCE_SYSTEM_CONSOLE_ENCODING" value="false"/>
|
||||
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
|
||||
<listEntry value="/TGC-VP"/>
|
||||
</listAttribute>
|
||||
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
|
||||
<listEntry value="4"/>
|
||||
</listAttribute>
|
||||
<stringAttribute key="org.eclipse.dsf.launch.MEMORY_BLOCKS" value="<?xml version="1.0" encoding="UTF-8" standalone="no"?><memoryBlockExpressionList context="reserved-for-future-use"/>"/>
|
||||
<stringAttribute key="process_factory_id" value="org.eclipse.cdt.dsf.gdb.GdbProcessFactory"/>
|
||||
</launchConfiguration>
|
|
@ -0,0 +1,35 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<launchConfiguration type="org.eclipse.cdt.launch.applicationLaunchType">
|
||||
<booleanAttribute key="org.eclipse.cdt.dsf.gdb.AUTO_SOLIB" value="true"/>
|
||||
<listAttribute key="org.eclipse.cdt.dsf.gdb.AUTO_SOLIB_LIST"/>
|
||||
<stringAttribute key="org.eclipse.cdt.dsf.gdb.DEBUG_NAME" value="gdb"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.dsf.gdb.DEBUG_ON_FORK" value="false"/>
|
||||
<stringAttribute key="org.eclipse.cdt.dsf.gdb.GDB_INIT" value=".gdbinit"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.dsf.gdb.NON_STOP" value="false"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.dsf.gdb.REVERSE" value="false"/>
|
||||
<stringAttribute key="org.eclipse.cdt.dsf.gdb.REVERSE_MODE" value="UseSoftTrace"/>
|
||||
<listAttribute key="org.eclipse.cdt.dsf.gdb.SOLIB_PATH"/>
|
||||
<stringAttribute key="org.eclipse.cdt.dsf.gdb.TRACEPOINT_MODE" value="TP_NORMAL_ONLY"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.dsf.gdb.UPDATE_THREADLIST_ON_SUSPEND" value="false"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.dsf.gdb.internal.ui.launching.LocalApplicationCDebuggerTab.DEFAULTS_SET" value="true"/>
|
||||
<intAttribute key="org.eclipse.cdt.launch.ATTR_BUILD_BEFORE_LAUNCH_ATTR" value="1"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.COREFILE_PATH" value=""/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.DEBUGGER_ID" value="gdb"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.DEBUGGER_START_MODE" value="run"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.launch.DEBUGGER_STOP_AT_MAIN" value="false"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.DEBUGGER_STOP_AT_MAIN_SYMBOL" value="sc_main"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.PROGRAM_ARGUMENTS" value="-f ${project_loc:dhrystone}/dhrystone -p ce=tgc-iss/dbt-rise-tgc/contrib/instr/TGC5C_slow.yaml --backend=interp --disass -v INFO"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.PROGRAM_NAME" value="build/${config_name:TGC-VP}/src/tgc-vp"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.PROJECT_ATTR" value="TGC-VP"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.launch.PROJECT_BUILD_CONFIG_AUTO_ATTR" value="true"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.PROJECT_BUILD_CONFIG_ID_ATTR" value=""/>
|
||||
<booleanAttribute key="org.eclipse.debug.core.ATTR_FORCE_SYSTEM_CONSOLE_ENCODING" value="false"/>
|
||||
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
|
||||
<listEntry value="/TGC-VP"/>
|
||||
</listAttribute>
|
||||
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
|
||||
<listEntry value="4"/>
|
||||
</listAttribute>
|
||||
<stringAttribute key="org.eclipse.dsf.launch.MEMORY_BLOCKS" value="<?xml version="1.0" encoding="UTF-8" standalone="no"?><memoryBlockExpressionList context="reserved-for-future-use"/>"/>
|
||||
<stringAttribute key="process_factory_id" value="org.eclipse.cdt.dsf.gdb.GdbProcessFactory"/>
|
||||
</launchConfiguration>
|
|
@ -0,0 +1,35 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<launchConfiguration type="org.eclipse.cdt.launch.applicationLaunchType">
|
||||
<booleanAttribute key="org.eclipse.cdt.dsf.gdb.AUTO_SOLIB" value="true"/>
|
||||
<listAttribute key="org.eclipse.cdt.dsf.gdb.AUTO_SOLIB_LIST"/>
|
||||
<stringAttribute key="org.eclipse.cdt.dsf.gdb.DEBUG_NAME" value="gdb"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.dsf.gdb.DEBUG_ON_FORK" value="false"/>
|
||||
<stringAttribute key="org.eclipse.cdt.dsf.gdb.GDB_INIT" value=".gdbinit"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.dsf.gdb.NON_STOP" value="false"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.dsf.gdb.REVERSE" value="false"/>
|
||||
<stringAttribute key="org.eclipse.cdt.dsf.gdb.REVERSE_MODE" value="UseSoftTrace"/>
|
||||
<listAttribute key="org.eclipse.cdt.dsf.gdb.SOLIB_PATH"/>
|
||||
<stringAttribute key="org.eclipse.cdt.dsf.gdb.TRACEPOINT_MODE" value="TP_NORMAL_ONLY"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.dsf.gdb.UPDATE_THREADLIST_ON_SUSPEND" value="false"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.dsf.gdb.internal.ui.launching.LocalApplicationCDebuggerTab.DEFAULTS_SET" value="true"/>
|
||||
<intAttribute key="org.eclipse.cdt.launch.ATTR_BUILD_BEFORE_LAUNCH_ATTR" value="1"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.COREFILE_PATH" value=""/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.DEBUGGER_ID" value="gdb"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.DEBUGGER_START_MODE" value="run"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.launch.DEBUGGER_STOP_AT_MAIN" value="false"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.DEBUGGER_STOP_AT_MAIN_SYMBOL" value="sc_main"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.PROGRAM_ARGUMENTS" value="-f ${project_loc:dhrystone}/dhrystone --backend=interp --quantum 100"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.PROGRAM_NAME" value="build/${config_name:TGC-VP}/src/tgc-vp"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.PROJECT_ATTR" value="TGC-VP"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.launch.PROJECT_BUILD_CONFIG_AUTO_ATTR" value="true"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.PROJECT_BUILD_CONFIG_ID_ATTR" value=""/>
|
||||
<booleanAttribute key="org.eclipse.debug.core.ATTR_FORCE_SYSTEM_CONSOLE_ENCODING" value="false"/>
|
||||
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
|
||||
<listEntry value="/TGC-VP"/>
|
||||
</listAttribute>
|
||||
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
|
||||
<listEntry value="4"/>
|
||||
</listAttribute>
|
||||
<stringAttribute key="org.eclipse.dsf.launch.MEMORY_BLOCKS" value="<?xml version="1.0" encoding="UTF-8" standalone="no"?><memoryBlockExpressionList context="reserved-for-future-use"/>"/>
|
||||
<stringAttribute key="process_factory_id" value="org.eclipse.cdt.dsf.gdb.GdbProcessFactory"/>
|
||||
</launchConfiguration>
|
|
@ -0,0 +1,35 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<launchConfiguration type="org.eclipse.cdt.launch.applicationLaunchType">
|
||||
<booleanAttribute key="org.eclipse.cdt.dsf.gdb.AUTO_SOLIB" value="true"/>
|
||||
<listAttribute key="org.eclipse.cdt.dsf.gdb.AUTO_SOLIB_LIST"/>
|
||||
<stringAttribute key="org.eclipse.cdt.dsf.gdb.DEBUG_NAME" value="gdb"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.dsf.gdb.DEBUG_ON_FORK" value="false"/>
|
||||
<stringAttribute key="org.eclipse.cdt.dsf.gdb.GDB_INIT" value=".gdbinit"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.dsf.gdb.NON_STOP" value="false"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.dsf.gdb.REVERSE" value="false"/>
|
||||
<stringAttribute key="org.eclipse.cdt.dsf.gdb.REVERSE_MODE" value="UseSoftTrace"/>
|
||||
<listAttribute key="org.eclipse.cdt.dsf.gdb.SOLIB_PATH"/>
|
||||
<stringAttribute key="org.eclipse.cdt.dsf.gdb.TRACEPOINT_MODE" value="TP_NORMAL_ONLY"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.dsf.gdb.UPDATE_THREADLIST_ON_SUSPEND" value="false"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.dsf.gdb.internal.ui.launching.LocalApplicationCDebuggerTab.DEFAULTS_SET" value="true"/>
|
||||
<intAttribute key="org.eclipse.cdt.launch.ATTR_BUILD_BEFORE_LAUNCH_ATTR" value="1"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.COREFILE_PATH" value=""/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.DEBUGGER_ID" value="gdb"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.DEBUGGER_START_MODE" value="run"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.launch.DEBUGGER_STOP_AT_MAIN" value="false"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.DEBUGGER_STOP_AT_MAIN_SYMBOL" value="sc_main"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.PROGRAM_ARGUMENTS" value="-f fw/hello-world/hello -p ce=tgc-iss/dbt-rise-tgc/contrib/instr/TGC5C_instr.yaml --quantum=10000 -v INFO"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.PROGRAM_NAME" value="build/${config_name:TGC-VP}/src/tgc-vp"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.PROJECT_ATTR" value="TGC-VP"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.launch.PROJECT_BUILD_CONFIG_AUTO_ATTR" value="true"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.PROJECT_BUILD_CONFIG_ID_ATTR" value=""/>
|
||||
<booleanAttribute key="org.eclipse.debug.core.ATTR_FORCE_SYSTEM_CONSOLE_ENCODING" value="false"/>
|
||||
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
|
||||
<listEntry value="/TGC-VP"/>
|
||||
</listAttribute>
|
||||
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
|
||||
<listEntry value="4"/>
|
||||
</listAttribute>
|
||||
<stringAttribute key="org.eclipse.dsf.launch.MEMORY_BLOCKS" value="<?xml version="1.0" encoding="UTF-8" standalone="no"?><memoryBlockExpressionList context="reserved-for-future-use"/>"/>
|
||||
<stringAttribute key="process_factory_id" value="org.eclipse.cdt.dsf.gdb.GdbProcessFactory"/>
|
||||
</launchConfiguration>
|
|
@ -0,0 +1,35 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<launchConfiguration type="org.eclipse.cdt.launch.applicationLaunchType">
|
||||
<booleanAttribute key="org.eclipse.cdt.dsf.gdb.AUTO_SOLIB" value="true"/>
|
||||
<listAttribute key="org.eclipse.cdt.dsf.gdb.AUTO_SOLIB_LIST"/>
|
||||
<stringAttribute key="org.eclipse.cdt.dsf.gdb.DEBUG_NAME" value="gdb"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.dsf.gdb.DEBUG_ON_FORK" value="false"/>
|
||||
<stringAttribute key="org.eclipse.cdt.dsf.gdb.GDB_INIT" value=".gdbinit"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.dsf.gdb.NON_STOP" value="false"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.dsf.gdb.REVERSE" value="false"/>
|
||||
<stringAttribute key="org.eclipse.cdt.dsf.gdb.REVERSE_MODE" value="UseSoftTrace"/>
|
||||
<listAttribute key="org.eclipse.cdt.dsf.gdb.SOLIB_PATH"/>
|
||||
<stringAttribute key="org.eclipse.cdt.dsf.gdb.TRACEPOINT_MODE" value="TP_NORMAL_ONLY"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.dsf.gdb.UPDATE_THREADLIST_ON_SUSPEND" value="false"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.dsf.gdb.internal.ui.launching.LocalApplicationCDebuggerTab.DEFAULTS_SET" value="true"/>
|
||||
<intAttribute key="org.eclipse.cdt.launch.ATTR_BUILD_BEFORE_LAUNCH_ATTR" value="1"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.COREFILE_PATH" value=""/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.DEBUGGER_ID" value="gdb"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.DEBUGGER_START_MODE" value="run"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.launch.DEBUGGER_STOP_AT_MAIN" value="false"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.DEBUGGER_STOP_AT_MAIN_SYMBOL" value="sc_main"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.PROGRAM_ARGUMENTS" value="-f fw/hello-world/hello -p ce=tgc-iss/dbt-rise-tgc/contrib/instr/TGC5C_slow.yaml --dump-structure=tgc_vp.json"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.PROGRAM_NAME" value="build/${config_name:TGC-VP}/src/tgc-vp"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.PROJECT_ATTR" value="TGC-VP"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.launch.PROJECT_BUILD_CONFIG_AUTO_ATTR" value="true"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.PROJECT_BUILD_CONFIG_ID_ATTR" value=""/>
|
||||
<booleanAttribute key="org.eclipse.debug.core.ATTR_FORCE_SYSTEM_CONSOLE_ENCODING" value="false"/>
|
||||
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
|
||||
<listEntry value="/TGC-VP"/>
|
||||
</listAttribute>
|
||||
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
|
||||
<listEntry value="4"/>
|
||||
</listAttribute>
|
||||
<stringAttribute key="org.eclipse.dsf.launch.MEMORY_BLOCKS" value="<?xml version="1.0" encoding="UTF-8" standalone="no"?><memoryBlockExpressionList context="reserved-for-future-use"/>"/>
|
||||
<stringAttribute key="process_factory_id" value="org.eclipse.cdt.dsf.gdb.GdbProcessFactory"/>
|
||||
</launchConfiguration>
|
|
@ -0,0 +1,35 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<launchConfiguration type="org.eclipse.cdt.launch.applicationLaunchType">
|
||||
<booleanAttribute key="org.eclipse.cdt.dsf.gdb.AUTO_SOLIB" value="true"/>
|
||||
<listAttribute key="org.eclipse.cdt.dsf.gdb.AUTO_SOLIB_LIST"/>
|
||||
<stringAttribute key="org.eclipse.cdt.dsf.gdb.DEBUG_NAME" value="gdb"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.dsf.gdb.DEBUG_ON_FORK" value="false"/>
|
||||
<stringAttribute key="org.eclipse.cdt.dsf.gdb.GDB_INIT" value=".gdbinit"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.dsf.gdb.NON_STOP" value="false"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.dsf.gdb.REVERSE" value="false"/>
|
||||
<stringAttribute key="org.eclipse.cdt.dsf.gdb.REVERSE_MODE" value="UseSoftTrace"/>
|
||||
<listAttribute key="org.eclipse.cdt.dsf.gdb.SOLIB_PATH"/>
|
||||
<stringAttribute key="org.eclipse.cdt.dsf.gdb.TRACEPOINT_MODE" value="TP_NORMAL_ONLY"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.dsf.gdb.UPDATE_THREADLIST_ON_SUSPEND" value="false"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.dsf.gdb.internal.ui.launching.LocalApplicationCDebuggerTab.DEFAULTS_SET" value="true"/>
|
||||
<intAttribute key="org.eclipse.cdt.launch.ATTR_BUILD_BEFORE_LAUNCH_ATTR" value="1"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.COREFILE_PATH" value=""/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.DEBUGGER_ID" value="gdb"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.DEBUGGER_START_MODE" value="run"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.launch.DEBUGGER_STOP_AT_MAIN" value="false"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.DEBUGGER_STOP_AT_MAIN_SYMBOL" value="sc_main"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.PROGRAM_ARGUMENTS" value="-f fw/hello-world/hello -p ${workspace_loc:TGC-VP}/build/${config_name:TGC-VP}/tgc-iss/dbt-rise-plugins/pctrace/pctrace.so=tgc-iss/dbt-rise-tgc/contrib/instr/TGC5C_instr.yaml --dump-structure=tgc_vp.json"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.PROGRAM_NAME" value="build/${config_name:TGC-VP}/src/tgc-vp"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.PROJECT_ATTR" value="TGC-VP"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.launch.PROJECT_BUILD_CONFIG_AUTO_ATTR" value="true"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.PROJECT_BUILD_CONFIG_ID_ATTR" value=""/>
|
||||
<booleanAttribute key="org.eclipse.debug.core.ATTR_FORCE_SYSTEM_CONSOLE_ENCODING" value="false"/>
|
||||
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
|
||||
<listEntry value="/TGC-VP"/>
|
||||
</listAttribute>
|
||||
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
|
||||
<listEntry value="4"/>
|
||||
</listAttribute>
|
||||
<stringAttribute key="org.eclipse.dsf.launch.MEMORY_BLOCKS" value="<?xml version="1.0" encoding="UTF-8" standalone="no"?><memoryBlockExpressionList context="reserved-for-future-use"/>"/>
|
||||
<stringAttribute key="process_factory_id" value="org.eclipse.cdt.dsf.gdb.GdbProcessFactory"/>
|
||||
</launchConfiguration>
|
|
@ -0,0 +1,35 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<launchConfiguration type="org.eclipse.cdt.launch.applicationLaunchType">
|
||||
<booleanAttribute key="org.eclipse.cdt.dsf.gdb.AUTO_SOLIB" value="true"/>
|
||||
<listAttribute key="org.eclipse.cdt.dsf.gdb.AUTO_SOLIB_LIST"/>
|
||||
<stringAttribute key="org.eclipse.cdt.dsf.gdb.DEBUG_NAME" value="gdb"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.dsf.gdb.DEBUG_ON_FORK" value="false"/>
|
||||
<stringAttribute key="org.eclipse.cdt.dsf.gdb.GDB_INIT" value=".gdbinit"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.dsf.gdb.NON_STOP" value="false"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.dsf.gdb.REVERSE" value="false"/>
|
||||
<stringAttribute key="org.eclipse.cdt.dsf.gdb.REVERSE_MODE" value="UseSoftTrace"/>
|
||||
<listAttribute key="org.eclipse.cdt.dsf.gdb.SOLIB_PATH"/>
|
||||
<stringAttribute key="org.eclipse.cdt.dsf.gdb.TRACEPOINT_MODE" value="TP_NORMAL_ONLY"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.dsf.gdb.UPDATE_THREADLIST_ON_SUSPEND" value="false"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.dsf.gdb.internal.ui.launching.LocalApplicationCDebuggerTab.DEFAULTS_SET" value="true"/>
|
||||
<intAttribute key="org.eclipse.cdt.launch.ATTR_BUILD_BEFORE_LAUNCH_ATTR" value="1"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.COREFILE_PATH" value=""/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.DEBUGGER_ID" value="gdb"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.DEBUGGER_START_MODE" value="run"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.launch.DEBUGGER_STOP_AT_MAIN" value="false"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.DEBUGGER_STOP_AT_MAIN_SYMBOL" value="sc_main"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.PROGRAM_ARGUMENTS" value="-f fw/hello-world/hello --dump-structure=tgc_vp.json --config cfg.yaml -t 3"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.PROGRAM_NAME" value="build/${config_name:TGC-VP}/src/tgc-vp"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.PROJECT_ATTR" value="TGC-VP"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.launch.PROJECT_BUILD_CONFIG_AUTO_ATTR" value="true"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.PROJECT_BUILD_CONFIG_ID_ATTR" value=""/>
|
||||
<booleanAttribute key="org.eclipse.debug.core.ATTR_FORCE_SYSTEM_CONSOLE_ENCODING" value="false"/>
|
||||
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
|
||||
<listEntry value="/TGC-VP"/>
|
||||
</listAttribute>
|
||||
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
|
||||
<listEntry value="4"/>
|
||||
</listAttribute>
|
||||
<stringAttribute key="org.eclipse.dsf.launch.MEMORY_BLOCKS" value="<?xml version="1.0" encoding="UTF-8" standalone="no"?><memoryBlockExpressionList context="reserved-for-future-use"/>"/>
|
||||
<stringAttribute key="process_factory_id" value="org.eclipse.cdt.dsf.gdb.GdbProcessFactory"/>
|
||||
</launchConfiguration>
|
|
@ -0,0 +1,35 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<launchConfiguration type="org.eclipse.cdt.launch.applicationLaunchType">
|
||||
<booleanAttribute key="org.eclipse.cdt.dsf.gdb.AUTO_SOLIB" value="true"/>
|
||||
<listAttribute key="org.eclipse.cdt.dsf.gdb.AUTO_SOLIB_LIST"/>
|
||||
<stringAttribute key="org.eclipse.cdt.dsf.gdb.DEBUG_NAME" value="gdb"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.dsf.gdb.DEBUG_ON_FORK" value="false"/>
|
||||
<stringAttribute key="org.eclipse.cdt.dsf.gdb.GDB_INIT" value=".gdbinit"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.dsf.gdb.NON_STOP" value="false"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.dsf.gdb.REVERSE" value="false"/>
|
||||
<stringAttribute key="org.eclipse.cdt.dsf.gdb.REVERSE_MODE" value="UseSoftTrace"/>
|
||||
<listAttribute key="org.eclipse.cdt.dsf.gdb.SOLIB_PATH"/>
|
||||
<stringAttribute key="org.eclipse.cdt.dsf.gdb.TRACEPOINT_MODE" value="TP_NORMAL_ONLY"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.dsf.gdb.UPDATE_THREADLIST_ON_SUSPEND" value="false"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.dsf.gdb.internal.ui.launching.LocalApplicationCDebuggerTab.DEFAULTS_SET" value="true"/>
|
||||
<intAttribute key="org.eclipse.cdt.launch.ATTR_BUILD_BEFORE_LAUNCH_ATTR" value="1"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.COREFILE_PATH" value=""/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.DEBUGGER_ID" value="gdb"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.DEBUGGER_START_MODE" value="run"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.launch.DEBUGGER_STOP_AT_MAIN" value="false"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.DEBUGGER_STOP_AT_MAIN_SYMBOL" value="sc_main"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.PROGRAM_ARGUMENTS" value="-f ${project_loc:dhrystone}/dhrystone --backend=llvm --quantum 100"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.PROGRAM_NAME" value="build/${config_name:TGC-VP}/src/tgc-vp"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.PROJECT_ATTR" value="TGC-VP"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.launch.PROJECT_BUILD_CONFIG_AUTO_ATTR" value="true"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.PROJECT_BUILD_CONFIG_ID_ATTR" value=""/>
|
||||
<booleanAttribute key="org.eclipse.debug.core.ATTR_FORCE_SYSTEM_CONSOLE_ENCODING" value="false"/>
|
||||
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
|
||||
<listEntry value="/TGC-VP"/>
|
||||
</listAttribute>
|
||||
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
|
||||
<listEntry value="4"/>
|
||||
</listAttribute>
|
||||
<stringAttribute key="org.eclipse.dsf.launch.MEMORY_BLOCKS" value="<?xml version="1.0" encoding="UTF-8" standalone="no"?><memoryBlockExpressionList context="reserved-for-future-use"/>"/>
|
||||
<stringAttribute key="process_factory_id" value="org.eclipse.cdt.dsf.gdb.GdbProcessFactory"/>
|
||||
</launchConfiguration>
|
|
@ -0,0 +1,37 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<launchConfiguration type="org.eclipse.cdt.launch.applicationLaunchType">
|
||||
<booleanAttribute key="org.eclipse.cdt.dsf.gdb.AUTO_SOLIB" value="true"/>
|
||||
<listAttribute key="org.eclipse.cdt.dsf.gdb.AUTO_SOLIB_LIST"/>
|
||||
<stringAttribute key="org.eclipse.cdt.dsf.gdb.DEBUG_NAME" value="gdb"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.dsf.gdb.DEBUG_ON_FORK" value="false"/>
|
||||
<stringAttribute key="org.eclipse.cdt.dsf.gdb.GDB_INIT" value=".gdbinit"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.dsf.gdb.NON_STOP" value="false"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.dsf.gdb.REVERSE" value="false"/>
|
||||
<stringAttribute key="org.eclipse.cdt.dsf.gdb.REVERSE_MODE" value="UseSoftTrace"/>
|
||||
<listAttribute key="org.eclipse.cdt.dsf.gdb.SOLIB_PATH"/>
|
||||
<stringAttribute key="org.eclipse.cdt.dsf.gdb.TRACEPOINT_MODE" value="TP_NORMAL_ONLY"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.dsf.gdb.UPDATE_THREADLIST_ON_SUSPEND" value="false"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.dsf.gdb.internal.ui.launching.LocalApplicationCDebuggerTab.DEFAULTS_SET" value="true"/>
|
||||
<intAttribute key="org.eclipse.cdt.launch.ATTR_BUILD_BEFORE_LAUNCH_ATTR" value="1"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.COREFILE_PATH" value=""/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.DEBUGGER_ID" value="gdb"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.DEBUGGER_START_MODE" value="run"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.launch.DEBUGGER_STOP_AT_MAIN" value="false"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.DEBUGGER_STOP_AT_MAIN_SYMBOL" value="sc_main"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.PROGRAM_ARGUMENTS" value="-f fw/hello-world/hello --backend=llvm"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.PROGRAM_NAME" value="build/${config_name:TGC-VP}/src/tgc-vp"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.PROJECT_ATTR" value="TGC-VP"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.launch.PROJECT_BUILD_CONFIG_AUTO_ATTR" value="true"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.PROJECT_BUILD_CONFIG_ID_ATTR" value=""/>
|
||||
<booleanAttribute key="org.eclipse.debug.core.ATTR_FORCE_SYSTEM_CONSOLE_ENCODING" value="false"/>
|
||||
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
|
||||
<listEntry value="/TGC-VP"/>
|
||||
</listAttribute>
|
||||
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
|
||||
<listEntry value="4"/>
|
||||
</listAttribute>
|
||||
<stringAttribute key="org.eclipse.debug.core.source_locator_id" value="org.eclipse.cdt.debug.core.sourceLocator"/>
|
||||
<stringAttribute key="org.eclipse.debug.core.source_locator_memento" value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <sourceLookupDirector> <sourceContainers duplicates="false"> <container memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#10;&lt;default/&gt;&#10;" typeId="org.eclipse.debug.core.containerType.default"/> <container memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#10;&lt;mapping backend_enabled=&quot;true&quot; name=&quot;Found Mappings&quot;&gt;&#10; &lt;mapEntry memento=&quot;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot; standalone=&amp;quot;no&amp;quot;?&amp;gt;&amp;#10;&amp;lt;mapEntry backendPath=&amp;quot;/home/eyck/.conan/data/tcc/0.9.27/_/_/build/fe910bef8b24b8089b2ea22204cdb1cf8c5cea95/tcc-0.9.27/&amp;quot; localPath=&amp;quot;/home/eyck/.conan/data/tcc/0.9.27/_/_/build/176b7bd27fb0759a69f81f0746a288d1ce945b98/tcc-0.9.27/&amp;quot;/&amp;gt;&amp;#10;&quot;/&gt;&#10;&lt;/mapping&gt;&#10;" typeId="org.eclipse.cdt.debug.core.containerType.mapping"/> </sourceContainers> </sourceLookupDirector> "/>
|
||||
<stringAttribute key="org.eclipse.dsf.launch.MEMORY_BLOCKS" value="<?xml version="1.0" encoding="UTF-8" standalone="no"?><memoryBlockExpressionList context="reserved-for-future-use"/>"/>
|
||||
<stringAttribute key="process_factory_id" value="org.eclipse.cdt.dsf.gdb.GdbProcessFactory"/>
|
||||
</launchConfiguration>
|
|
@ -12,17 +12,18 @@
|
|||
<stringAttribute key="org.eclipse.cdt.dsf.gdb.TRACEPOINT_MODE" value="TP_NORMAL_ONLY"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.dsf.gdb.UPDATE_THREADLIST_ON_SUSPEND" value="false"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.dsf.gdb.internal.ui.launching.LocalApplicationCDebuggerTab.DEFAULTS_SET" value="true"/>
|
||||
<intAttribute key="org.eclipse.cdt.launch.ATTR_BUILD_BEFORE_LAUNCH_ATTR" value="2"/>
|
||||
<intAttribute key="org.eclipse.cdt.launch.ATTR_BUILD_BEFORE_LAUNCH_ATTR" value="1"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.COREFILE_PATH" value=""/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.DEBUGGER_ID" value="gdb"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.DEBUGGER_START_MODE" value="run"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.launch.DEBUGGER_STOP_AT_MAIN" value="true"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.DEBUGGER_STOP_AT_MAIN_SYMBOL" value="main"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.PROGRAM_ARGUMENTS" value="-f fw/hello-world/hello -p pctrace=contrib/TGC_C_cycles.json"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.PROGRAM_NAME" value="build/Debug/src/tgc-vp"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.launch.DEBUGGER_STOP_AT_MAIN" value="false"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.DEBUGGER_STOP_AT_MAIN_SYMBOL" value="sc_main"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.PROGRAM_ARGUMENTS" value="-f ${project_loc:dhrystone}/dhrystone --backend=tcc --quantum 100"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.PROGRAM_NAME" value="build/${config_name:TGC-VP}/src/tgc-vp"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.PROJECT_ATTR" value="TGC-VP"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.launch.PROJECT_BUILD_CONFIG_AUTO_ATTR" value="true"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.PROJECT_BUILD_CONFIG_ID_ATTR" value="cdt.managedbuild.toolchain.gnu.base.1730410661"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.PROJECT_BUILD_CONFIG_ID_ATTR" value=""/>
|
||||
<booleanAttribute key="org.eclipse.debug.core.ATTR_FORCE_SYSTEM_CONSOLE_ENCODING" value="false"/>
|
||||
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
|
||||
<listEntry value="/TGC-VP"/>
|
||||
</listAttribute>
|
|
@ -0,0 +1,37 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<launchConfiguration type="org.eclipse.cdt.launch.applicationLaunchType">
|
||||
<booleanAttribute key="org.eclipse.cdt.dsf.gdb.AUTO_SOLIB" value="true"/>
|
||||
<listAttribute key="org.eclipse.cdt.dsf.gdb.AUTO_SOLIB_LIST"/>
|
||||
<stringAttribute key="org.eclipse.cdt.dsf.gdb.DEBUG_NAME" value="gdb"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.dsf.gdb.DEBUG_ON_FORK" value="false"/>
|
||||
<stringAttribute key="org.eclipse.cdt.dsf.gdb.GDB_INIT" value=".gdbinit"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.dsf.gdb.NON_STOP" value="false"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.dsf.gdb.REVERSE" value="false"/>
|
||||
<stringAttribute key="org.eclipse.cdt.dsf.gdb.REVERSE_MODE" value="UseSoftTrace"/>
|
||||
<listAttribute key="org.eclipse.cdt.dsf.gdb.SOLIB_PATH"/>
|
||||
<stringAttribute key="org.eclipse.cdt.dsf.gdb.TRACEPOINT_MODE" value="TP_NORMAL_ONLY"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.dsf.gdb.UPDATE_THREADLIST_ON_SUSPEND" value="false"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.dsf.gdb.internal.ui.launching.LocalApplicationCDebuggerTab.DEFAULTS_SET" value="true"/>
|
||||
<intAttribute key="org.eclipse.cdt.launch.ATTR_BUILD_BEFORE_LAUNCH_ATTR" value="1"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.COREFILE_PATH" value=""/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.DEBUGGER_ID" value="gdb"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.DEBUGGER_START_MODE" value="run"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.launch.DEBUGGER_STOP_AT_MAIN" value="false"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.DEBUGGER_STOP_AT_MAIN_SYMBOL" value="sc_main"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.PROGRAM_ARGUMENTS" value="-f fw/hello-world/hello --backend=tcc"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.PROGRAM_NAME" value="build/${config_name:TGC-VP}/src/tgc-vp"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.PROJECT_ATTR" value="TGC-VP"/>
|
||||
<booleanAttribute key="org.eclipse.cdt.launch.PROJECT_BUILD_CONFIG_AUTO_ATTR" value="true"/>
|
||||
<stringAttribute key="org.eclipse.cdt.launch.PROJECT_BUILD_CONFIG_ID_ATTR" value=""/>
|
||||
<booleanAttribute key="org.eclipse.debug.core.ATTR_FORCE_SYSTEM_CONSOLE_ENCODING" value="false"/>
|
||||
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_PATHS">
|
||||
<listEntry value="/TGC-VP"/>
|
||||
</listAttribute>
|
||||
<listAttribute key="org.eclipse.debug.core.MAPPED_RESOURCE_TYPES">
|
||||
<listEntry value="4"/>
|
||||
</listAttribute>
|
||||
<stringAttribute key="org.eclipse.debug.core.source_locator_id" value="org.eclipse.cdt.debug.core.sourceLocator"/>
|
||||
<stringAttribute key="org.eclipse.debug.core.source_locator_memento" value="<?xml version="1.0" encoding="UTF-8" standalone="no"?> <sourceLookupDirector> <sourceContainers duplicates="false"> <container memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#10;&lt;default/&gt;&#10;" typeId="org.eclipse.debug.core.containerType.default"/> <container memento="&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;&#10;&lt;mapping backend_enabled=&quot;true&quot; name=&quot;Found Mappings&quot;&gt;&#10; &lt;mapEntry memento=&quot;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;UTF-8&amp;quot; standalone=&amp;quot;no&amp;quot;?&amp;gt;&amp;#10;&amp;lt;mapEntry backendPath=&amp;quot;/home/eyck/.conan/data/tcc/0.9.27/_/_/build/fe910bef8b24b8089b2ea22204cdb1cf8c5cea95/tcc-0.9.27/&amp;quot; localPath=&amp;quot;/home/eyck/.conan/data/tcc/0.9.27/_/_/build/176b7bd27fb0759a69f81f0746a288d1ce945b98/tcc-0.9.27/&amp;quot;/&amp;gt;&amp;#10;&quot;/&gt;&#10;&lt;/mapping&gt;&#10;" typeId="org.eclipse.cdt.debug.core.containerType.mapping"/> </sourceContainers> </sourceLookupDirector> "/>
|
||||
<stringAttribute key="org.eclipse.dsf.launch.MEMORY_BLOCKS" value="<?xml version="1.0" encoding="UTF-8" standalone="no"?><memoryBlockExpressionList context="reserved-for-future-use"/>"/>
|
||||
<stringAttribute key="process_factory_id" value="org.eclipse.cdt.dsf.gdb.GdbProcessFactory"/>
|
||||
</launchConfiguration>
|
121
CMakeLists.txt
121
CMakeLists.txt
|
@ -1,17 +1,19 @@
|
|||
cmake_minimum_required(VERSION 3.16)
|
||||
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR}/scc/cmake)
|
||||
|
||||
include(ConanInline)
|
||||
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/scc/cmake)
|
||||
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/tgc-iss/dbt-rise-tgc/cmake/)
|
||||
|
||||
project(ecosystem-vp LANGUAGES C CXX VERSION 1.0.0)
|
||||
|
||||
option(ENABLE_SCV "Enable the use of SCV" ON)
|
||||
option(LIBS_ONLY "Just build the shared libraries needed to build the VP" OFF)
|
||||
option(NO_FW_BUILD "Disable the automatic rebuild of firmware running on the VP" OFF)
|
||||
option(FW_BUILD "Enable the automatic download and build of some firmware to run on the VP" OFF)
|
||||
option(EN_EXT_DEBUG "Enable extended debug output at runtime" OFF)
|
||||
option(ENABLE_COVERAGE "Enable code coverage" OFF)
|
||||
option(ENABLE_SANITIZER "Enable address sanitizer" OFF)
|
||||
option(ENABLE_CLANGTIDY "Enable static analysis with clang-tidy." OFF)
|
||||
option(WITH_TCC "Build TCC backend" ON)
|
||||
option(WITH_LLVM "Build LLVM backend" OFF)
|
||||
option(WITH_ASMJIT "Build ASMJIT backend" ON)
|
||||
|
||||
set(SCC_LIB_ONLY ON)
|
||||
set(CMAKE_CXX_STANDARD 14)
|
||||
|
@ -31,7 +33,17 @@ endif()
|
|||
if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC")
|
||||
add_compile_options(/vmg /wd26812) # suppress Warnung C26812: "enum class" gegenüber "enum" (Enum.3) bevorzugen
|
||||
endif()
|
||||
|
||||
include(ConanInline)
|
||||
if(BUILD_SHARED_LIBS)
|
||||
set(SHARED_FLAG "True")
|
||||
else()
|
||||
set(SHARED_FLAG "False")
|
||||
endif()
|
||||
|
||||
set(CONAN_BOOST_OPTIONS
|
||||
boost:fPIC=True
|
||||
boost:shared=${SHARED_FLAG}
|
||||
boost:header_only=False
|
||||
boost:without_contract=True
|
||||
boost:without_fiber=True
|
||||
|
@ -53,40 +65,82 @@ boost:without_timer=True
|
|||
boost:without_type_erasure=True
|
||||
boost:without_wave=True
|
||||
)
|
||||
if (UNIX)
|
||||
list(APPEND CONAN_BOOST_OPTIONS boost:fPIC=True boost:shared=True)
|
||||
endif (UNIX)
|
||||
|
||||
set(CONAN_PACKAGE_LIST fmt/8.0.1 zlib/1.2.11 boost/1.75.0 gsl-lite/0.37.0 elfio/3.8)
|
||||
|
||||
if(${CMAKE_SYSTEM_NAME} STREQUAL "Linux")
|
||||
list(APPEND CONAN_BOOST_OPTIONS boost:fPIC=True lua:compile_as_cpp=False)
|
||||
list(APPEND CONAN_PACKAGE_LIST tcc/0.9.27 seasocks/1.4.4 lua/5.4.3)
|
||||
endif()
|
||||
set(CONAN_PACKAGE_LIST
|
||||
fmt/8.0.1
|
||||
spdlog/1.9.2
|
||||
boost/1.75.0
|
||||
gsl-lite/0.37.0
|
||||
elfio/3.8
|
||||
lz4/1.9.3
|
||||
yaml-cpp/0.7.0
|
||||
jsoncpp/1.9.5
|
||||
zlib/1.2.13
|
||||
)
|
||||
set(CONAN_PACKAGE_OPTIONS fmt:header_only=True ${CONAN_BOOST_OPTIONS})
|
||||
if(${CMAKE_SYSTEM_NAME} STREQUAL "Linux" AND WITH_TCC)
|
||||
list(APPEND CONAN_PACKAGE_LIST seasocks/1.4.4)
|
||||
if(WITH_TCC)
|
||||
list(APPEND CONAN_PACKAGE_LIST tcc/0.9.27)
|
||||
endif()
|
||||
list(APPEND CONAN_PACKAGE_OPTIONS lua:compile_as_cpp=False )
|
||||
endif()
|
||||
if(WITH_LLVM)
|
||||
list(APPEND CONAN_PACKAGE_LIST llvm-core/13.0.0)
|
||||
list(APPEND CONAN_PACKAGE_OPTIONS libiconv:shared=False)
|
||||
endif()
|
||||
if(WITH_ASMJIT)
|
||||
list(APPEND CONAN_PACKAGE_LIST asmjit/cci.20230325)
|
||||
list(APPEND CONAN_PACKAGE_OPTIONS asmjit:shared=False)
|
||||
endif()
|
||||
if(IS_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/tgc-iss/dbt-rise-plugins)
|
||||
list(APPEND CONAN_PACKAGE_OPTIONS lua:compile_as_cpp=False)
|
||||
list(APPEND CONAN_PACKAGE_LIST lua/5.4.3)
|
||||
endif()
|
||||
|
||||
if(NOT USE_CWR_SYSTEMC AND NOT USE_NCSC_SYSTEMC AND NOT DEFINED ENV{SYSTEMC_HOME})
|
||||
set(CONAN_PACKAGE_LIST ${CONAN_PACKAGE_LIST} systemc/2.3.3 systemc-cci/1.0.0)
|
||||
set(CONAN_PACKAGE_OPTIONS ${CONAN_PACKAGE_OPTIONS} systemc:shared=True systemc-cci:shared=True systemc:disable_virtual_bind=False)
|
||||
set(CONAN_PACKAGE_LIST ${CONAN_PACKAGE_LIST}
|
||||
systemc/2.3.3
|
||||
systemc-cci/1.0.0
|
||||
)
|
||||
set(CONAN_PACKAGE_OPTIONS ${CONAN_PACKAGE_OPTIONS}
|
||||
systemc:shared=${SHARED_FLAG}
|
||||
systemc-cci:shared=${SHARED_FLAG}
|
||||
systemc:disable_virtual_bind=False)
|
||||
endif()
|
||||
|
||||
conan_check()
|
||||
conan_add_remote(NAME minres URL https://artifactory.minres.com/artifactory/api/conan/oss)
|
||||
conan_add_remote(NAME minres URL https://git.minres.com/api/packages/Tooling/conan)
|
||||
# Boost on CentOS 7 quirks: the b2 of conan-center is build against a newer libstdc++ and therefore does not run
|
||||
# with the oooooold libs on CentOS 7. Therefore we build our own version of b2 if it is not there
|
||||
execute_process(COMMAND bash -c "conan search -r all b2 | tail -1" OUTPUT_VARIABLE B2_VERSION OUTPUT_STRIP_TRAILING_WHITESPACE)
|
||||
set(B2_META $ENV{HOME}/.conan/data/${B2_VERSION}/_/_/metadata.json)
|
||||
if(DEFINED ENV{CONAN_USER_HOME})
|
||||
set(B2_META $ENV{CONAN_USER_HOME}/.conan/data/${B2_VERSION}/_/_/metadata.json)
|
||||
endif()
|
||||
if(NOT EXISTS ${B2_META})
|
||||
conan_configure(REQUIRES ${B2_VERSION})
|
||||
conan_cmake_autodetect(settings)
|
||||
conan_cmake_install(PATH_OR_REFERENCE . BUILD b2 SETTINGS ${settings})
|
||||
endif()
|
||||
# Boost on CentOS 7 quirks end
|
||||
conan_cmake_configure(REQUIRES ${CONAN_PACKAGE_LIST}
|
||||
GENERATORS cmake_find_package
|
||||
OPTIONS ${CONAN_PACKAGE_OPTIONS}
|
||||
)
|
||||
conan_cmake_autodetect(settings)
|
||||
conan_install()
|
||||
# needed when using CentOS devenv-7 or -8 and boost does not build because of missing GLIBCXX version
|
||||
#conan_install(BUILD b2 missing)
|
||||
find_package(tcc)
|
||||
|
||||
set(CONAN_CMAKE_SILENT_OUTPUT ON)
|
||||
find_package(tcc QUIET)
|
||||
find_package(elfio)
|
||||
find_package(fmt)
|
||||
find_package(spdlog)
|
||||
find_package(gsl-lite)
|
||||
find_package(yaml-cpp)
|
||||
set(Boost_NO_BOOST_CMAKE ON) # Don't do a find_package in config mode before searching for a regular boost install.
|
||||
|
||||
|
||||
find_package(Boost REQUIRED COMPONENTS program_options QUIET)
|
||||
include(SystemCPackage)
|
||||
|
||||
set(CLANG_FORMAT_EXCLUDE_PATTERNS "scc")
|
||||
find_package(ClangFormat)
|
||||
|
@ -117,16 +171,35 @@ endif ()
|
|||
add_subdirectory(scc)
|
||||
add_subdirectory(tgc-iss/dbt-rise-core)
|
||||
add_subdirectory(tgc-iss/dbt-rise-tgc)
|
||||
if(IS_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/tgc-iss//dbt-rise-plugins)
|
||||
add_subdirectory(tgc-iss/dbt-rise-plugins)
|
||||
endif()
|
||||
if(NOT USE_CWR_SYSTEMC)
|
||||
add_subdirectory(vpvper)
|
||||
endif()
|
||||
if(NOT LIBS_ONLY)
|
||||
add_subdirectory(src)
|
||||
endif()
|
||||
if(NOT NO_FW_BUILD)
|
||||
add_custom_target(fw-hello-world ALL COMMAND make -C fw/hello-world
|
||||
USES_TERMINAL WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
|
||||
|
||||
if(FW_BUILD)
|
||||
include(FetchContent)
|
||||
set(FETCHCONTENT_BASE_DIR ${CMAKE_CURRENT_BINARY_DIR}/..)
|
||||
FetchContent_Declare(
|
||||
riscvfw
|
||||
GIT_REPOSITORY https://git.minres.com/VP/Firmwares.git
|
||||
GIT_TAG main
|
||||
GIT_SHALLOW OFF
|
||||
UPDATE_DISCONNECTED ON
|
||||
)
|
||||
FetchContent_GetProperties(riscvfw)
|
||||
if(NOT riscvfw_POPULATED)
|
||||
FetchContent_Populate(riscvfw)
|
||||
endif()
|
||||
set(BOARD tgc-vp)
|
||||
add_subdirectory(${riscvfw_SOURCE_DIR})
|
||||
endif()
|
||||
|
||||
install(FILES ${CMAKE_CURRENT_LIST_DIR}/fw/hello-world/prebuilt/hello.elf DESTINATION share/tgc-vp)
|
||||
|
||||
# CTest is a testing tool that can be used to test your project.
|
||||
enable_testing()
|
||||
|
|
|
@ -0,0 +1,100 @@
|
|||
def getBranch() {
|
||||
if (env.BRANCH_NAME != null && !env.BRANCH_NAME.isEmpty() ) {
|
||||
return env.BRANCH_NAME
|
||||
} else {
|
||||
return 'develop'
|
||||
}
|
||||
}
|
||||
|
||||
void checkout_tgc_vp() {
|
||||
checkout([
|
||||
$class: 'GitSCM',
|
||||
branches: [
|
||||
[name: 'refs/heads/' + getBranch()]
|
||||
],
|
||||
extensions: [
|
||||
[$class: 'CleanBeforeCheckout'],
|
||||
[$class: 'SubmoduleOption',
|
||||
disableSubmodules: false,
|
||||
recursiveSubmodules: true,
|
||||
trackingSubmodules: false,
|
||||
parentCredentials: true,
|
||||
shallow: true
|
||||
]
|
||||
],
|
||||
submoduleCfg: [],
|
||||
userRemoteConfigs: [
|
||||
[url: 'https://github.com/Minres/TGC-VP.git']
|
||||
]
|
||||
])
|
||||
}
|
||||
|
||||
void build_tgc_vp() {
|
||||
try {
|
||||
sh("conan profile new default --detect --force")
|
||||
sh("conan profile update settings.compiler.libcxx=libstdc++11 default")
|
||||
sh("conan remote add minres https://git.minres.com/api/packages/Tooling/conan --force")
|
||||
sh("conan --version && cmake --version")
|
||||
}
|
||||
catch (exc) {
|
||||
echo 'Conan configured'
|
||||
}
|
||||
sh("rm -rf build")
|
||||
sh("git submodule update --recursive")
|
||||
sh("cmake -S . -B build -DWITH_TCC=OFF && cmake --build build -j16")
|
||||
fingerprint 'build/src/tgc-vp'
|
||||
}
|
||||
|
||||
pipeline {
|
||||
agent none
|
||||
|
||||
options {
|
||||
// using the Timestamper plugin we can add timestamps to the console log
|
||||
timestamps()
|
||||
skipStagesAfterUnstable()
|
||||
}
|
||||
|
||||
stages {
|
||||
stage('tgc-VP pipeline') {
|
||||
parallel {
|
||||
stage('ubuntu20'){
|
||||
agent {docker { image 'ubuntu-20.04' } }
|
||||
stages {
|
||||
stage('Checkout on Ubuntu20.04') { steps { checkout_tgc_vp() }}
|
||||
stage('Build') { steps { build_tgc_vp() } }
|
||||
}
|
||||
}
|
||||
stage('ubuntu22'){
|
||||
agent {docker { image 'ubuntu-22.04' } }
|
||||
stages {
|
||||
stage('Checkout on Ubuntu22.04') { steps { checkout_tgc_vp() }}
|
||||
stage('Build') { steps { build_tgc_vp() } }
|
||||
}
|
||||
}
|
||||
stage('Fedora28'){
|
||||
agent {docker { image 'fedora28' } }
|
||||
stages {
|
||||
stage('Checkout on Fedora') { steps {checkout_tgc_vp()}}
|
||||
stage('Build') { steps {build_tgc_vp() }}
|
||||
}
|
||||
}
|
||||
stage('CentOS7'){
|
||||
agent {docker { image 'centos7' } }
|
||||
stages {
|
||||
stage('Checkout on Ubuntu') { steps {checkout_tgc_vp()}}
|
||||
stage('Build') { steps {build_tgc_vp()}
|
||||
}
|
||||
}
|
||||
}
|
||||
stage('RockyLinux8'){
|
||||
agent {docker { image 'rockylinux8' } }
|
||||
stages {
|
||||
stage('Checkout on Ubuntu') { steps {checkout_tgc_vp()}}
|
||||
stage('Build') { steps {build_tgc_vp()}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -12,5 +12,6 @@ if { $distro == "CentOS" && ![info exists ::env(PROJECT)] && ![info exists ::env
|
|||
puts stderr "Don't forget to execute 'scl enable devtoolset-7 llvm-toolset-7 bash'"
|
||||
}
|
||||
|
||||
module load tools/gcc-riscv32/9.2.0
|
||||
module load tools/gcc-riscv32-unknown-elf/11
|
||||
module load tools/cmake
|
||||
module load tools/utilities
|
|
@ -1,724 +0,0 @@
|
|||
{
|
||||
"TGC_C" : [
|
||||
{
|
||||
"name" : "LUI",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000000000000000000000000110111",
|
||||
"mask": "0b00000000000000000000000001111111",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "AUIPC",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000000000000000000000000010111",
|
||||
"mask": "0b00000000000000000000000001111111",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "JAL",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000000000000000000000001101111",
|
||||
"mask": "0b00000000000000000000000001111111",
|
||||
"branch": true,
|
||||
"delay" : 2
|
||||
},
|
||||
{
|
||||
"name" : "JALR",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000000000000000000000001100111",
|
||||
"mask": "0b00000000000000000111000001111111",
|
||||
"branch": true,
|
||||
"delay" : 2
|
||||
},
|
||||
{
|
||||
"name" : "BEQ",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000000000000000000000001100011",
|
||||
"mask": "0b00000000000000000111000001111111",
|
||||
"branch": true,
|
||||
"delay" : [2,1]
|
||||
},
|
||||
{
|
||||
"name" : "BNE",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000000000000000001000001100011",
|
||||
"mask": "0b00000000000000000111000001111111",
|
||||
"branch": true,
|
||||
"delay" : [2,1]
|
||||
},
|
||||
{
|
||||
"name" : "BLT",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000000000000000100000001100011",
|
||||
"mask": "0b00000000000000000111000001111111",
|
||||
"branch": true,
|
||||
"delay" : [2,1]
|
||||
},
|
||||
{
|
||||
"name" : "BGE",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000000000000000101000001100011",
|
||||
"mask": "0b00000000000000000111000001111111",
|
||||
"branch": true,
|
||||
"delay" : [2,1]
|
||||
},
|
||||
{
|
||||
"name" : "BLTU",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000000000000000110000001100011",
|
||||
"mask": "0b00000000000000000111000001111111",
|
||||
"branch": true,
|
||||
"delay" : [2,1]
|
||||
},
|
||||
{
|
||||
"name" : "BGEU",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000000000000000111000001100011",
|
||||
"mask": "0b00000000000000000111000001111111",
|
||||
"branch": true,
|
||||
"delay" : [2,1]
|
||||
},
|
||||
{
|
||||
"name" : "LB",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000000000000000000000000000011",
|
||||
"mask": "0b00000000000000000111000001111111",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "LH",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000000000000000001000000000011",
|
||||
"mask": "0b00000000000000000111000001111111",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "LW",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000000000000000010000000000011",
|
||||
"mask": "0b00000000000000000111000001111111",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "LBU",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000000000000000100000000000011",
|
||||
"mask": "0b00000000000000000111000001111111",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "LHU",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000000000000000101000000000011",
|
||||
"mask": "0b00000000000000000111000001111111",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "SB",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000000000000000000000000100011",
|
||||
"mask": "0b00000000000000000111000001111111",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "SH",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000000000000000001000000100011",
|
||||
"mask": "0b00000000000000000111000001111111",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "SW",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000000000000000010000000100011",
|
||||
"mask": "0b00000000000000000111000001111111",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "ADDI",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000000000000000000000000010011",
|
||||
"mask": "0b00000000000000000111000001111111",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "SLTI",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000000000000000010000000010011",
|
||||
"mask": "0b00000000000000000111000001111111",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "SLTIU",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000000000000000011000000010011",
|
||||
"mask": "0b00000000000000000111000001111111",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "XORI",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000000000000000100000000010011",
|
||||
"mask": "0b00000000000000000111000001111111",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "ORI",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000000000000000110000000010011",
|
||||
"mask": "0b00000000000000000111000001111111",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "ANDI",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000000000000000111000000010011",
|
||||
"mask": "0b00000000000000000111000001111111",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "SLLI",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000000000000000001000000010011",
|
||||
"mask": "0b11111110000000000111000001111111",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "SRLI",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000000000000000101000000010011",
|
||||
"mask": "0b11111110000000000111000001111111",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "SRAI",
|
||||
"size" : 32,
|
||||
"encoding": "0b01000000000000000101000000010011",
|
||||
"mask": "0b11111110000000000111000001111111",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "ADD",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000000000000000000000000110011",
|
||||
"mask": "0b11111110000000000111000001111111",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "SUB",
|
||||
"size" : 32,
|
||||
"encoding": "0b01000000000000000000000000110011",
|
||||
"mask": "0b11111110000000000111000001111111",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "SLL",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000000000000000001000000110011",
|
||||
"mask": "0b11111110000000000111000001111111",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "SLT",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000000000000000010000000110011",
|
||||
"mask": "0b11111110000000000111000001111111",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "SLTU",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000000000000000011000000110011",
|
||||
"mask": "0b11111110000000000111000001111111",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "XOR",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000000000000000100000000110011",
|
||||
"mask": "0b11111110000000000111000001111111",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "SRL",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000000000000000101000000110011",
|
||||
"mask": "0b11111110000000000111000001111111",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "SRA",
|
||||
"size" : 32,
|
||||
"encoding": "0b01000000000000000101000000110011",
|
||||
"mask": "0b11111110000000000111000001111111",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "OR",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000000000000000110000000110011",
|
||||
"mask": "0b11111110000000000111000001111111",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "AND",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000000000000000111000000110011",
|
||||
"mask": "0b11111110000000000111000001111111",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "FENCE",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000000000000000000000000001111",
|
||||
"mask": "0b00000000000000000111000001111111",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "ECALL",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000000000000000000000001110011",
|
||||
"mask": "0b11111111111111111111111111111111",
|
||||
"branch": true,
|
||||
"delay" : 2
|
||||
},
|
||||
{
|
||||
"name" : "EBREAK",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000000000100000000000001110011",
|
||||
"mask": "0b11111111111111111111111111111111",
|
||||
"branch": true,
|
||||
"delay" : 2
|
||||
},
|
||||
{
|
||||
"name" : "URET",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000000001000000000000001110011",
|
||||
"mask": "0b11111111111111111111111111111111",
|
||||
"branch": true,
|
||||
"delay" : 2
|
||||
},
|
||||
{
|
||||
"name" : "SRET",
|
||||
"size" : 32,
|
||||
"encoding": "0b00010000001000000000000001110011",
|
||||
"mask": "0b11111111111111111111111111111111",
|
||||
"branch": true,
|
||||
"delay" : 2
|
||||
},
|
||||
{
|
||||
"name" : "MRET",
|
||||
"size" : 32,
|
||||
"encoding": "0b00110000001000000000000001110011",
|
||||
"mask": "0b11111111111111111111111111111111",
|
||||
"branch": true,
|
||||
"delay" : 2
|
||||
},
|
||||
{
|
||||
"name" : "WFI",
|
||||
"size" : 32,
|
||||
"encoding": "0b00010000010100000000000001110011",
|
||||
"mask": "0b11111111111111111111111111111111",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "DRET",
|
||||
"size" : 32,
|
||||
"encoding": "0b01111011001000000000000001110011",
|
||||
"mask": "0b11111111111111111111111111111111",
|
||||
"branch": true,
|
||||
"delay" : 2
|
||||
},
|
||||
{
|
||||
"name" : "CSRRW",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000000000000000001000001110011",
|
||||
"mask": "0b00000000000000000111000001111111",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "CSRRS",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000000000000000010000001110011",
|
||||
"mask": "0b00000000000000000111000001111111",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "CSRRC",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000000000000000011000001110011",
|
||||
"mask": "0b00000000000000000111000001111111",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "CSRRWI",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000000000000000101000001110011",
|
||||
"mask": "0b00000000000000000111000001111111",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "CSRRSI",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000000000000000110000001110011",
|
||||
"mask": "0b00000000000000000111000001111111",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "CSRRCI",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000000000000000111000001110011",
|
||||
"mask": "0b00000000000000000111000001111111",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "FENCE_I",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000000000000000001000000001111",
|
||||
"mask": "0b00000000000000000111000001111111",
|
||||
"branch": false,
|
||||
"delay" : 2
|
||||
},
|
||||
{
|
||||
"name" : "MUL",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000010000000000000000000110011",
|
||||
"mask": "0b11111110000000000111000001111111",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "MULH",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000010000000000001000000110011",
|
||||
"mask": "0b11111110000000000111000001111111",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "MULHSU",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000010000000000010000000110011",
|
||||
"mask": "0b11111110000000000111000001111111",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "MULHU",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000010000000000011000000110011",
|
||||
"mask": "0b11111110000000000111000001111111",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "DIV",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000010000000000100000000110011",
|
||||
"mask": "0b11111110000000000111000001111111",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "DIVU",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000010000000000101000000110011",
|
||||
"mask": "0b11111110000000000111000001111111",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "REM",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000010000000000110000000110011",
|
||||
"mask": "0b11111110000000000111000001111111",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "REMU",
|
||||
"size" : 32,
|
||||
"encoding": "0b00000010000000000111000000110011",
|
||||
"mask": "0b11111110000000000111000001111111",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "CADDI4SPN",
|
||||
"size" : 16,
|
||||
"encoding": "0b0000000000000000",
|
||||
"mask": "0b1110000000000011",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "CLW",
|
||||
"size" : 16,
|
||||
"encoding": "0b0100000000000000",
|
||||
"mask": "0b1110000000000011",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "CSW",
|
||||
"size" : 16,
|
||||
"encoding": "0b1100000000000000",
|
||||
"mask": "0b1110000000000011",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "CADDI",
|
||||
"size" : 16,
|
||||
"encoding": "0b0000000000000001",
|
||||
"mask": "0b1110000000000011",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "CNOP",
|
||||
"size" : 16,
|
||||
"encoding": "0b0000000000000001",
|
||||
"mask": "0b1110111110000011",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "CJAL",
|
||||
"size" : 16,
|
||||
"encoding": "0b0010000000000001",
|
||||
"mask": "0b1110000000000011",
|
||||
"branch": true,
|
||||
"delay" : 2
|
||||
},
|
||||
{
|
||||
"name" : "CLI",
|
||||
"size" : 16,
|
||||
"encoding": "0b0100000000000001",
|
||||
"mask": "0b1110000000000011",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "CLUI",
|
||||
"size" : 16,
|
||||
"encoding": "0b0110000000000001",
|
||||
"mask": "0b1110000000000011",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "CADDI16SP",
|
||||
"size" : 16,
|
||||
"encoding": "0b0110000100000001",
|
||||
"mask": "0b1110111110000011",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "__reserved_clui",
|
||||
"size" : 16,
|
||||
"encoding": "0b0110000000000001",
|
||||
"mask": "0b1111000001111111",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "CSRLI",
|
||||
"size" : 16,
|
||||
"encoding": "0b1000000000000001",
|
||||
"mask": "0b1111110000000011",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "CSRAI",
|
||||
"size" : 16,
|
||||
"encoding": "0b1000010000000001",
|
||||
"mask": "0b1111110000000011",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "CANDI",
|
||||
"size" : 16,
|
||||
"encoding": "0b1000100000000001",
|
||||
"mask": "0b1110110000000011",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "CSUB",
|
||||
"size" : 16,
|
||||
"encoding": "0b1000110000000001",
|
||||
"mask": "0b1111110001100011",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "CXOR",
|
||||
"size" : 16,
|
||||
"encoding": "0b1000110000100001",
|
||||
"mask": "0b1111110001100011",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "COR",
|
||||
"size" : 16,
|
||||
"encoding": "0b1000110001000001",
|
||||
"mask": "0b1111110001100011",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "CAND",
|
||||
"size" : 16,
|
||||
"encoding": "0b1000110001100001",
|
||||
"mask": "0b1111110001100011",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "CJ",
|
||||
"size" : 16,
|
||||
"encoding": "0b1010000000000001",
|
||||
"mask": "0b1110000000000011",
|
||||
"branch": true,
|
||||
"delay" : 2
|
||||
},
|
||||
{
|
||||
"name" : "CBEQZ",
|
||||
"size" : 16,
|
||||
"encoding": "0b1100000000000001",
|
||||
"mask": "0b1110000000000011",
|
||||
"branch": true,
|
||||
"delay" : [2,1]
|
||||
},
|
||||
{
|
||||
"name" : "CBNEZ",
|
||||
"size" : 16,
|
||||
"encoding": "0b1110000000000001",
|
||||
"mask": "0b1110000000000011",
|
||||
"branch": true,
|
||||
"delay" : [2,1]
|
||||
},
|
||||
{
|
||||
"name" : "CSLLI",
|
||||
"size" : 16,
|
||||
"encoding": "0b0000000000000010",
|
||||
"mask": "0b1111000000000011",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "CLWSP",
|
||||
"size" : 16,
|
||||
"encoding": "0b0100000000000010",
|
||||
"mask": "0b1110000000000011",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "CMV",
|
||||
"size" : 16,
|
||||
"encoding": "0b1000000000000010",
|
||||
"mask": "0b1111000000000011",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "CJR",
|
||||
"size" : 16,
|
||||
"encoding": "0b1000000000000010",
|
||||
"mask": "0b1111000001111111",
|
||||
"branch": true,
|
||||
"delay" : 2
|
||||
},
|
||||
{
|
||||
"name" : "__reserved_cmv",
|
||||
"size" : 16,
|
||||
"encoding": "0b1000000000000010",
|
||||
"mask": "0b1111111111111111",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "CADD",
|
||||
"size" : 16,
|
||||
"encoding": "0b1001000000000010",
|
||||
"mask": "0b1111000000000011",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "CJALR",
|
||||
"size" : 16,
|
||||
"encoding": "0b1001000000000010",
|
||||
"mask": "0b1111000001111111",
|
||||
"branch": true,
|
||||
"delay" : 2
|
||||
},
|
||||
{
|
||||
"name" : "CEBREAK",
|
||||
"size" : 16,
|
||||
"encoding": "0b1001000000000010",
|
||||
"mask": "0b1111111111111111",
|
||||
"branch": true,
|
||||
"delay" : 2
|
||||
},
|
||||
{
|
||||
"name" : "CSWSP",
|
||||
"size" : 16,
|
||||
"encoding": "0b1100000000000010",
|
||||
"mask": "0b1110000000000011",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
},
|
||||
{
|
||||
"name" : "DII",
|
||||
"size" : 16,
|
||||
"encoding": "0b0000000000000000",
|
||||
"mask": "0b1111111111111111",
|
||||
"branch": false,
|
||||
"delay" : 1
|
||||
}
|
||||
]
|
||||
}
|
|
@ -13,6 +13,5 @@ LDFLAGS := -march=$(RISCV_ARCH) -mabi=$(RISCV_ABI)
|
|||
compiler := $(shell which riscv32-unknown-elf-gcc)
|
||||
TOOL_DIR=$(dir $(compiler))
|
||||
|
||||
TRIPLET=riscv32-unknown-elf
|
||||
BSP_BASE = ../bsp
|
||||
include $(BSP_BASE)/env/common-gcc.mk
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
pip install wheel
|
||||
# clone and install PySysC
|
||||
git clone https://github.com/Minres/PySysC.git /workspace/PySysC
|
||||
STDCXX=11 SYSTEMC_HOME=`ls -d $CONAN_USER_HOME/.conan/data/systemc/2.3.3/_/_/package/* | head -1` \
|
||||
STDCXX=14 SYSTEMC_HOME=`ls -d $CONAN_USER_HOME/.conan/data/systemc/2.3.3/_/_/package/* | head -1` \
|
||||
pip install /workspace/PySysC/
|
||||
# install SCC integration
|
||||
pip install scc/contrib/pysysc
|
||||
|
|
2
scc
2
scc
|
@ -1 +1 @@
|
|||
Subproject commit 93a5676fec9c1cb851b6a9cd4c462142de6dc144
|
||||
Subproject commit 7cf3d94c133b000e9dd5d29b5b7da670a15f0859
|
|
@ -10,12 +10,16 @@
|
|||
#include <iss/log_categories.h>
|
||||
#include <scc/report.h>
|
||||
#include <stdexcept>
|
||||
#include <unordered_set>
|
||||
#ifdef ERROR
|
||||
#undef ERROR
|
||||
#endif
|
||||
namespace po = boost::program_options;
|
||||
using namespace sc_core;
|
||||
|
||||
namespace {
|
||||
std::unordered_set<std::string> backend_opts = {"interp", "tcc", "llvm", "asmjit"};
|
||||
}
|
||||
CLIParser::CLIParser(int argc, char *argv[])
|
||||
: desc("Options")
|
||||
, valid(false) {
|
||||
|
@ -24,13 +28,16 @@ CLIParser::CLIParser(int argc, char *argv[])
|
|||
po::store(po::parse_command_line(argc, argv, desc), vm_); // can throw
|
||||
// --help option
|
||||
if (vm_.count("help")) {
|
||||
std::cout << "DBT-RISE-RiscV simulator for RISC-V" << std::endl << desc << std::endl;
|
||||
std::cout << "DBT-RISE-TGC based virtual platform of TGC cores" << std::endl << desc << std::endl;
|
||||
}
|
||||
po::notify(vm_); // throws on error, so do after help in case there are any problems
|
||||
valid = true;
|
||||
if(backend_opts.find(vm_["backend"].as<std::string>())== std::end(backend_opts))
|
||||
throw po::error("Illegal value for switch backend");
|
||||
} catch (po::error &e) {
|
||||
std::cerr << "ERROR: " << e.what() << std::endl << std::endl;
|
||||
std::cerr << desc << std::endl;
|
||||
exit(-1);
|
||||
}
|
||||
auto log_level = vm_["verbose"].as<scc::log>();
|
||||
auto log_level_num = static_cast<unsigned>(log_level);
|
||||
|
@ -74,14 +81,20 @@ void CLIParser::build() {
|
|||
"ELF file to load")
|
||||
("gdb-port,g", po::value<unsigned short>()->default_value(0),
|
||||
"enable gdb server and specify port to use")
|
||||
("backend", po::value<std::string>()->default_value("interp"),
|
||||
"the ISS backend to use, options are: interp, tcc")
|
||||
("isa", po::value<std::string>()->default_value("tgc5c"),
|
||||
"core or isa name to use for simulation, use '?' to get list")
|
||||
("dump-ir",
|
||||
"dump the intermediate representation")
|
||||
("dump-structure", po::value<std::string>(),
|
||||
"dump model structure to ELK file")
|
||||
("quantum", po::value<unsigned>(),
|
||||
"SystemC quantum time in ns")
|
||||
("reset,r", po::value<std::string>(),
|
||||
"reset address")
|
||||
("trace-level,t", po::value<unsigned>()->default_value(0),
|
||||
"enable tracing, or combination of 1=signals and 2=TX text, 4=TX compressed text, 6=TX in SQLite")
|
||||
"enable tracing, or combination of 1=signals and 2=TX")
|
||||
("trace-default-on",
|
||||
"enables tracing for all unspecified modules")
|
||||
("trace-file", po::value<std::string>()->default_value("system"),
|
||||
|
|
|
@ -4,13 +4,15 @@
|
|||
# SPDX-License-Identifier: Apache-2.0
|
||||
#
|
||||
cmake_minimum_required(VERSION 3.12)
|
||||
|
||||
project(tgc-vp LANGUAGES C CXX VERSION 0.0.1)
|
||||
|
||||
include(flink)
|
||||
|
||||
find_package(Boost COMPONENTS program_options thread REQUIRED)
|
||||
###############################################################################
|
||||
# SiFive
|
||||
# TGC
|
||||
###############################################################################
|
||||
set(CMAKE_INSTALL_RPATH $ORIGIN/../${CMAKE_INSTALL_LIBDIR})
|
||||
add_executable(${PROJECT_NAME}
|
||||
sc_main.cpp
|
||||
CLIParser.cpp
|
||||
|
@ -18,9 +20,19 @@ add_executable(${PROJECT_NAME}
|
|||
tgc_vp/system.cpp
|
||||
)
|
||||
target_include_directories(${PROJECT_NAME} PUBLIC ${CMAKE_CURRENT_LIST_DIR})
|
||||
target_link_libraries(${PROJECT_NAME} PUBLIC dbt-rise-tgc_sc vpvper_generic vpvper_sifive ${BOOST_program_options_LIBRARY})
|
||||
target_force_link_libraries(${PROJECT_NAME} PUBLIC dbt-rise-tgc_sc)
|
||||
target_link_libraries(${PROJECT_NAME} PUBLIC vpvper_generic vpvper_sifive ${BOOST_program_options_LIBRARY})
|
||||
if(TARGET Boost::program_options)
|
||||
target_link_libraries(${PROJECT_NAME} PUBLIC Boost::program_options Boost::thread)
|
||||
else()
|
||||
target_link_libraries(${PROJECT_NAME} PUBLIC ${BOOST_program_options_LIBRARY})
|
||||
endif()
|
||||
|
||||
install(TARGETS ${PROJECT_NAME}
|
||||
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} # static lib
|
||||
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR} # binaries
|
||||
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR} # shared lib
|
||||
FRAMEWORK DESTINATION ${CMAKE_INSTALL_LIBDIR} # for mac
|
||||
PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/${PROJECT_NAME} # headers for mac (note the different component -> different package)
|
||||
INCLUDES DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} # headers
|
||||
)
|
||||
|
|
|
@ -9,15 +9,24 @@
|
|||
|
||||
#include <scc/configurable_tracer.h>
|
||||
#include <scc/configurer.h>
|
||||
#include <scc/hierarchy_dumper.h>
|
||||
#include <scc/report.h>
|
||||
#include <scc/scv/scv_tr_db.h>
|
||||
#include <scc/tracer.h>
|
||||
#include <scc/perf_estimator.h>
|
||||
#ifdef WITH_LLVM
|
||||
#include <iss/llvm/jit_helper.h>
|
||||
#endif
|
||||
|
||||
#include <boost/program_options.hpp>
|
||||
#include <tgc_vp/tb.h>
|
||||
#include <iostream>
|
||||
#include <fstream>
|
||||
#include <sstream>
|
||||
#ifdef ERROR
|
||||
#undef ERROR
|
||||
#endif
|
||||
|
||||
const std::string core_path{"tb.top.core_complex"};
|
||||
|
||||
using namespace sysc;
|
||||
|
@ -41,6 +50,12 @@ int sc_main(int argc, char *argv[]) {
|
|||
if (!parser.is_valid()) return ERRORR_IN_COMMAND_LINE;
|
||||
scc::stream_redirection cout_redir(std::cout, scc::log::INFO);
|
||||
scc::stream_redirection cerr_redir(std::cerr, scc::log::ERROR);
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
// set up infrastructure
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
#ifdef WITH_LLVM
|
||||
iss::init_jit_debug(argc, argv);
|
||||
#endif
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
// create the performance estimation module
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
|
@ -52,11 +67,17 @@ int sc_main(int argc, char *argv[]) {
|
|||
///////////////////////////////////////////////////////////////////////////
|
||||
// set up tracing & transaction recording
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
auto trace_level = parser.get<unsigned>("trace-level");
|
||||
scc::configurable_tracer trace(parser.get<std::string>("trace-file"),
|
||||
static_cast<scc::tracer::file_type>(trace_level >> 1), // bit3-bit1 define the kind of transaction trace
|
||||
(trace_level&0x1) != 0, // bit0 enables vcd
|
||||
parser.is_set("trace-default-on"));
|
||||
|
||||
std::unique_ptr<scc::configurable_tracer> tracer;
|
||||
if( auto trace_level = parser.get<unsigned>("trace-level")) {
|
||||
auto file_name = parser.get<std::string>("trace-file");
|
||||
auto enable_sig_trace = (trace_level&0x1) != 0;// bit0 enables sig trace
|
||||
auto tx_trace_type = static_cast<scc::tracer::file_type>(trace_level >> 1); // bit3-bit1 define the kind of transaction trace
|
||||
auto trace_default_on = parser.is_set("trace-default-on");
|
||||
cfg.set_value("$$$scc_tracer$$$.tx_trace_type", static_cast<unsigned>(scc::tracer::file_type::FTR));
|
||||
cfg.set_value("$$$scc_tracer$$$.sig_trace_type", static_cast<unsigned>(scc::tracer::file_type::SC_VCD));
|
||||
tracer = scc::make_unique<scc::configurable_tracer>(file_name, tx_trace_type, enable_sig_trace, trace_default_on);
|
||||
}
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
// instantiate top level
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
|
@ -64,20 +85,25 @@ int sc_main(int argc, char *argv[]) {
|
|||
///////////////////////////////////////////////////////////////////////////
|
||||
// add non-implemented 'enableTracing' properties
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
trace.add_control();
|
||||
if(tracer) tracer->add_control();
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
// dump configuration if requested
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
if (parser.get<std::string>("dump-config").size() > 0) {
|
||||
std::ofstream of{parser.get<std::string>("dump-config")};
|
||||
if (of.is_open()) cfg.dump_configuration(of);
|
||||
if (of.is_open()) cfg.dump_configuration(of, true);
|
||||
}
|
||||
cfg.configure();
|
||||
std::unique_ptr<scc::hierarchy_dumper> dumper;
|
||||
if(parser.is_set("dump-structure"))
|
||||
dumper.reset(new scc::hierarchy_dumper(parser.get<std::string>("dump-structure"), scc::hierarchy_dumper::D3JSON));
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
// overwrite config with command line settings
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
cfg.set_value(core_path + ".gdb_server_port", parser.get<unsigned short>("gdb-port"));
|
||||
cfg.set_value(core_path + ".dump_ir", parser.is_set("dump-ir"));
|
||||
cfg.set_value(core_path + ".backend", parser.get<std::string>("backend"));
|
||||
cfg.set_value(core_path + ".core_type", parser.get<std::string>("isa"));
|
||||
if(parser.is_set("plugin")){
|
||||
auto plugins = util::join(parser.get<std::vector<std::string>>("plugin"),",");
|
||||
cfg.set_value(core_path + ".plugins", plugins);
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
#define _PLATFORM_MMAP_H_
|
||||
// need double braces, see
|
||||
// https://stackoverflow.com/questions/6893700/how-to-construct-stdarray-object-with-initializer-list#6894191
|
||||
const std::array<scc::target_memory_map_entry<32>, 13> platfrom_mmap = {{
|
||||
const std::array<scc::target_memory_map_entry<scc::LT>, 13> platfrom_mmap = {{
|
||||
{clint.socket, 0x2000000, 0xc000},
|
||||
{plic.socket, 0xc000000, 0x200008},
|
||||
{aon.socket, 0x10000000, 0x150},
|
||||
|
|
|
@ -13,7 +13,7 @@ using namespace sysc::tgfs;
|
|||
|
||||
system::system(sc_core::sc_module_name nm)
|
||||
: sc_core::sc_module(nm)
|
||||
, NAMED(router, platfrom_mmap.size() + 2, 1)
|
||||
, NAMED(router, platfrom_mmap.size() + 2, 2)
|
||||
, NAMEDC(qspi0_ptr, spi, spi_impl::beh)
|
||||
, NAMEDC(qspi1_ptr, spi, spi_impl::beh)
|
||||
, NAMEDC(qspi2_ptr, spi, spi_impl::beh)
|
||||
|
@ -24,7 +24,8 @@ system::system(sc_core::sc_module_name nm)
|
|||
auto& qspi0 = *qspi0_ptr;
|
||||
auto& qspi1 = *qspi1_ptr;
|
||||
auto& qspi2 = *qspi2_ptr;
|
||||
core_complex.initiator(router.target[0]);
|
||||
core_complex.ibus(router.target[0]);
|
||||
core_complex.dbus(router.target[1]);
|
||||
size_t i = 0;
|
||||
for (const auto &e : platfrom_mmap) {
|
||||
router.initiator.at(i)(e.target);
|
||||
|
@ -51,6 +52,8 @@ system::system(sc_core::sc_module_name nm)
|
|||
clint.tlclk_i(tlclk_s);
|
||||
clint.lfclk_i(lfclk_s);
|
||||
core_complex.clk_i(tlclk_s);
|
||||
mem_qspi.clk_i(tlclk_s);
|
||||
mem_ram.clk_i(tlclk_s);
|
||||
|
||||
uart0.rst_i(rst_s);
|
||||
uart1.rst_i(rst_s);
|
||||
|
@ -77,7 +80,7 @@ system::system(sc_core::sc_module_name nm)
|
|||
|
||||
core_complex.sw_irq_i(msie_int_s);
|
||||
core_complex.timer_irq_i(mtime_int_s);
|
||||
core_complex.global_irq_i(core_int_s);
|
||||
core_complex.ext_irq_i(core_int_s);
|
||||
core_complex.local_irq_i(local_int_s);
|
||||
|
||||
pins_i(gpio0.pins_i);
|
||||
|
@ -96,8 +99,8 @@ system::system(sc_core::sc_module_name nm)
|
|||
qspi1.irq_o(global_int_s[6]);
|
||||
qspi2.irq_o(global_int_s[7]);
|
||||
|
||||
s_dummy_sck_i[0](uart1.tx_o);
|
||||
uart1.rx_i(s_dummy_sck_o[0]);
|
||||
gpio0.iof0_i[16](uart1.tx_o);
|
||||
uart1.rx_i(gpio0.iof0_o[17]);
|
||||
uart1.irq_o(global_int_s[4]);
|
||||
|
||||
gpio0.iof1_i[0](pwm0.cmpgpio_o[0]);
|
||||
|
@ -129,8 +132,6 @@ system::system(sc_core::sc_module_name nm)
|
|||
pwm2.cmpip_o[1](global_int_s[49]);
|
||||
pwm2.cmpip_o[2](global_int_s[50]);
|
||||
pwm2.cmpip_o[3](global_int_s[51]);
|
||||
|
||||
for (auto &sock : s_dummy_sck_i) sock.error_if_no_callback = false;
|
||||
}
|
||||
|
||||
} /* namespace sysc */
|
||||
|
|
|
@ -52,9 +52,9 @@ private:
|
|||
vpvper::sifive::prci prci{"prci"};
|
||||
vpvper::sifive::clint clint{"clint"};
|
||||
|
||||
using mem_qspi_t = scc::memory<512_MB, 32>;
|
||||
using mem_qspi_t = scc::memory<512_MB, scc::LT>;
|
||||
mem_qspi_t mem_qspi{"mem_qspi"};
|
||||
using mem_ram_t = scc::memory<128_kB, 32>;
|
||||
using mem_ram_t = scc::memory<128_kB, scc::LT>;
|
||||
mem_ram_t mem_ram{"mem_ram"};
|
||||
|
||||
sc_core::sc_signal<sc_core::sc_time, sc_core::SC_MANY_WRITERS> tlclk_s{"tlclk_s"};
|
||||
|
@ -65,9 +65,6 @@ private:
|
|||
sc_core::sc_vector<sc_core::sc_signal<bool, sc_core::SC_MANY_WRITERS>> global_int_s{"global_int_s", 256}, local_int_s{"local_int_s", 16};
|
||||
sc_core::sc_signal<bool, sc_core::SC_MANY_WRITERS> core_int_s{"core_int_s"};
|
||||
|
||||
sc_core::sc_vector<tlm::scc::tlm_signal_bool_opt_in> s_dummy_sck_i{"s_dummy_sck_i", 16};
|
||||
sc_core::sc_vector<tlm::scc::tlm_signal_bool_opt_out> s_dummy_sck_o{"s_dummy_sck_o", 16};
|
||||
|
||||
protected:
|
||||
void gen_reset();
|
||||
vpvper::sifive::spi& qspi0;
|
||||
|
|
|
@ -15,8 +15,10 @@ tb::tb(const sc_core::sc_module_name &nm): sc_core::sc_module(nm) {
|
|||
gpio_s[i].in(top.pins_o[i]);
|
||||
top.pins_i[i](gpio_s[i].out);
|
||||
}
|
||||
#ifndef WIN32
|
||||
// terminal
|
||||
terminal.tx_o(gpio_s[16].in);
|
||||
gpio_s[17].out(terminal.rx_i);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
|
|
@ -21,7 +21,9 @@ public:
|
|||
tgc_vp::rst_gen rst_gen{"rst_gen"};
|
||||
sc_core::sc_vector<tlm::scc::tlm_signal<sc_dt::sc_logic>> gpio_s{"gpio_s", 32};
|
||||
sc_core::sc_signal<bool> rst_n{"rst_n"};
|
||||
#ifndef WIN32 // Seasocks not available under windows
|
||||
vpvper::generic::terminal terminal{"terminal"};
|
||||
#endif
|
||||
};
|
||||
|
||||
} /* namespace tgc_vp */
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
/dbt-rise-plugins
|
|
@ -1 +1 @@
|
|||
Subproject commit 44acf8a55936d5eedb5daf8cae0799ec1616413f
|
||||
Subproject commit 3743f38999fc6ddd87e8553dc1cf3a5fa3a7e0cd
|
|
@ -1 +1 @@
|
|||
Subproject commit c054d75717dcefbc2048ab277fdfe1cb428640ef
|
||||
Subproject commit 926a03c346ba5128be510f5d3067e76c6daaffd9
|
|
@ -1,25 +0,0 @@
|
|||
#!/bin/bash
|
||||
##
|
||||
|
||||
|
||||
JAVA_OPTS="--add-modules ALL-SYSTEM --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.annotation=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.lang.module=ALL-UNNAMED --add-opens=java.base/java.lang.ref=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.math=ALL-UNNAMED --add-opens=java.base/java.net=ALL-UNNAMED --add-opens=java.base/java.net.spi=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/java.nio.channels=ALL-UNNAMED --add-opens=java.base/java.nio.channels.spi=ALL-UNNAMED --add-opens=java.base/java.nio.charset=ALL-UNNAMED --add-opens=java.base/java.nio.charset.spi=ALL-UNNAMED --add-opens=java.base/java.nio.file=ALL-UNNAMED --add-opens=java.base/java.nio.file.attribute=ALL-UNNAMED --add-opens=java.base/java.nio.file.spi=ALL-UNNAMED --add-opens=java.base/java.security=ALL-UNNAMED --add-opens=java.base/java.security.acl=ALL-UNNAMED --add-opens=java.base/java.security.cert=ALL-UNNAMED --add-opens=java.base/java.security.interfaces=ALL-UNNAMED --add-opens=java.base/java.security.spec=ALL-UNNAMED --add-opens=java.base/java.text=ALL-UNNAMED --add-opens=java.base/java.text.spi=ALL-UNNAMED --add-opens=java.base/java.time=ALL-UNNAMED --add-opens=java.base/java.time.chrono=ALL-UNNAMED --add-opens=java.base/java.time.format=ALL-UNNAMED --add-opens=java.base/java.time.temporal=ALL-UNNAMED --add-opens=java.base/java.time.zone=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED --add-opens=java.base/java.util.concurrent.locks=ALL-UNNAMED --add-opens=java.base/java.util.function=ALL-UNNAMED --add-opens=java.base/java.util.jar=ALL-UNNAMED --add-opens=java.base/java.util.regex=ALL-UNNAMED --add-opens=java.base/java.util.spi=ALL-UNNAMED --add-opens=java.base/java.util.stream=ALL-UNNAMED --add-opens=java.base/java.util.zip=ALL-UNNAMED --add-opens=java.datatransfer/java.awt.datatransfer=ALL-UNNAMED --add-opens=java.desktop/java.applet=ALL-UNNAMED --add-opens=java.desktop/java.awt=ALL-UNNAMED --add-opens=java.desktop/java.awt.color=ALL-UNNAMED --add-opens=java.desktop/java.awt.desktop=ALL-UNNAMED --add-opens=java.desktop/java.awt.dnd=ALL-UNNAMED --add-opens=java.desktop/java.awt.dnd.peer=ALL-UNNAMED --add-opens=java.desktop/java.awt.event=ALL-UNNAMED --add-opens=java.desktop/java.awt.font=ALL-UNNAMED --add-opens=java.desktop/java.awt.geom=ALL-UNNAMED --add-opens=java.desktop/java.awt.im=ALL-UNNAMED --add-opens=java.desktop/java.awt.im.spi=ALL-UNNAMED --add-opens=java.desktop/java.awt.image=ALL-UNNAMED --add-opens=java.desktop/java.awt.image.renderable=ALL-UNNAMED --add-opens=java.desktop/java.awt.peer=ALL-UNNAMED --add-opens=java.desktop/java.awt.print=ALL-UNNAMED --add-opens=java.desktop/java.beans=ALL-UNNAMED --add-opens=java.desktop/java.beans.beancontext=ALL-UNNAMED --add-opens=java.instrument/java.lang.instrument=ALL-UNNAMED --add-opens=java.logging/java.util.logging=ALL-UNNAMED --add-opens=java.management/java.lang.management=ALL-UNNAMED --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED --add-opens=java.rmi/java.rmi=ALL-UNNAMED --add-opens=java.rmi/java.rmi.activation=ALL-UNNAMED --add-opens=java.rmi/java.rmi.dgc=ALL-UNNAMED --add-opens=java.rmi/java.rmi.registry=ALL-UNNAMED --add-opens=java.rmi/java.rmi.server=ALL-UNNAMED --add-opens=java.sql/java.sql=ALL-UNNAMED"
|
||||
|
||||
GENERATOR="java $JAVA_OPTS -jar /scratch/eyck/workarea/RISC-V/TGFS-VERIF/tgfs_iss/coredsl/com.minres.coredsl.generator.repository/target/com.minres.coredsl.generator-2.0.0-SNAPSHOT.jar "
|
||||
|
||||
CORE_NAME=$1
|
||||
BACKEND=$2
|
||||
CORE_NAME_LC=`echo $CORE_NAME | tr '[:upper:]' '[:lower:]' `
|
||||
INPUT_FILE=dbt-rise-tgc/gen_input/TGFS.core_desc
|
||||
|
||||
REPO_DIR=dbt-rise-tgc/gen_input/CoreDSL-Instruction-Set-Description
|
||||
TMPL_DIR=dbt-rise-tgc/gen_input/templates
|
||||
|
||||
MAPPING=""
|
||||
MAPPING="$MAPPING -m ${TMPL_DIR}/CORENAME.h.gtl:dbt-rise-tgc/incl/iss/arch/${CORE_NAME_LC}.h"
|
||||
MAPPING="$MAPPING -m ${TMPL_DIR}/CORENAME.cpp.gtl:dbt-rise-tgc/src/iss/${CORE_NAME_LC}.cpp"
|
||||
MAPPING="$MAPPING -m ${TMPL_DIR}/${BACKEND}/CORENAME.cpp.gtl:dbt-rise-tgc/src/vm/${BACKEND}/vm_${CORE_NAME_LC}.cpp"
|
||||
|
||||
[ -f /scratch/eyck/workarea/RISC-V/TGFS-VERIF/tgfs_iss/coredsl/com.minres.coredsl.generator.repository/target/com.minres.coredsl.generator-2.0.0-SNAPSHOT.jar ] || (cd /scratch/eyck/workarea/RISC-V/TGFS-VERIF/tgfs_iss/coredsl; mvn package)
|
||||
|
||||
$GENERATOR -c $CORE_NAME -r $REPO_DIR $MAPPING $INPUT_FILE
|
||||
|
2
vpvper
2
vpvper
|
@ -1 +1 @@
|
|||
Subproject commit 11e6dc5926a4ee250dc1eb206c97445472049d80
|
||||
Subproject commit 2df18a17549559131f52f9bcc90d3cef44aa4f5d
|
Loading…
Reference in New Issue