fixes some settings and comments

This commit is contained in:
2025-07-30 05:56:41 +02:00
parent 084d8e0fd6
commit 9db8c39925
3 changed files with 9 additions and 6 deletions

View File

@@ -38,7 +38,7 @@ BreakBeforeTernaryOperators: true
BreakConstructorInitializersBeforeComma: true BreakConstructorInitializersBeforeComma: true
BreakAfterJavaFieldAnnotations: false BreakAfterJavaFieldAnnotations: false
BreakStringLiterals: true BreakStringLiterals: true
ColumnLimit: 120 ColumnLimit: 140
CommentPragmas: '^( IWYU pragma:| @suppress)' CommentPragmas: '^( IWYU pragma:| @suppress)'
ConstructorInitializerAllOnOneLineOrOnePerLine: false ConstructorInitializerAllOnOneLineOrOnePerLine: false
ConstructorInitializerIndentWidth: 0 ConstructorInitializerIndentWidth: 0

2
.envrc
View File

@@ -6,6 +6,8 @@ if [ $distro == "CentOS" ]; then
elif [ $distro == "Rocky" ]; then elif [ $distro == "Rocky" ]; then
. /opt/rh/gcc-toolset-11/enable . /opt/rh/gcc-toolset-11/enable
fi fi
if has module; then
module load ./Modulefile module load ./Modulefile
fi
layout python3 layout python3
[ -f .envrc.$USER ] && . .envrc.$USER [ -f .envrc.$USER ] && . .envrc.$USER

View File

@@ -33,17 +33,18 @@ pysysc.load_systemc()
############################################################################### ###############################################################################
scc.load_lib(project_dir) scc.load_lib(project_dir)
############################################################################### ###############################################################################
logging.debug("Loading TGC-VP Peripherals libs") logging.debug("Loading RISCV-VP Peripherals libs")
pysysc.add_include_path(os.path.join(project_dir, 'vpvper')) pysysc.add_include_path(os.path.join(project_dir, 'vpvper'))
pysysc.add_library('sifive.h', 'libvpvper_sifive.so', project_dir) pysysc.add_library('sifive.h', 'libvpvper_sifive.so', project_dir)
pysysc.add_library('sifive.h', 'libvpvper_minres.so', project_dir)
############################################################################### ###############################################################################
logging.debug("Loading TGC-ISS") logging.debug("Loading TGC-ISS")
pysysc.add_include_path(os.path.join(project_dir, 'tgc-iss/dbt-rise-tgc/incl/sysc')) pysysc.add_include_path(os.path.join(project_dir, 'iss/dbt-rise-riscv/incl/sysc'))
pysysc.add_library('core_complex.h', 'libdbt-rise-tgc_sc.so', project_dir) pysysc.add_library('core_complex.h', 'libdbt-rise-riscv.so', project_dir)
############################################################################### ###############################################################################
# Include section # Include section
############################################################################### ###############################################################################
cppyy.include(os.path.join(project_dir, 'src/tgfs_vp/rst_gen.h')) cppyy.include(os.path.join(project_dir, 'src/vp/rst_gen.h'))
############################################################################### ###############################################################################
# configure # configure
############################################################################### ###############################################################################