mirror of
https://github.com/Minres/RISCV-VP.git
synced 2025-12-17 08:51:35 +00:00
fixes some settings and comments
This commit is contained in:
@@ -38,7 +38,7 @@ BreakBeforeTernaryOperators: true
|
||||
BreakConstructorInitializersBeforeComma: true
|
||||
BreakAfterJavaFieldAnnotations: false
|
||||
BreakStringLiterals: true
|
||||
ColumnLimit: 120
|
||||
ColumnLimit: 140
|
||||
CommentPragmas: '^( IWYU pragma:| @suppress)'
|
||||
ConstructorInitializerAllOnOneLineOrOnePerLine: false
|
||||
ConstructorInitializerIndentWidth: 0
|
||||
|
||||
2
.envrc
2
.envrc
@@ -6,6 +6,8 @@ if [ $distro == "CentOS" ]; then
|
||||
elif [ $distro == "Rocky" ]; then
|
||||
. /opt/rh/gcc-toolset-11/enable
|
||||
fi
|
||||
if has module; then
|
||||
module load ./Modulefile
|
||||
fi
|
||||
layout python3
|
||||
[ -f .envrc.$USER ] && . .envrc.$USER
|
||||
|
||||
@@ -33,17 +33,18 @@ pysysc.load_systemc()
|
||||
###############################################################################
|
||||
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_library('sifive.h', 'libvpvper_sifive.so', project_dir)
|
||||
pysysc.add_library('sifive.h', 'libvpvper_minres.so', project_dir)
|
||||
###############################################################################
|
||||
logging.debug("Loading TGC-ISS")
|
||||
pysysc.add_include_path(os.path.join(project_dir, 'tgc-iss/dbt-rise-tgc/incl/sysc'))
|
||||
pysysc.add_library('core_complex.h', 'libdbt-rise-tgc_sc.so', project_dir)
|
||||
pysysc.add_include_path(os.path.join(project_dir, 'iss/dbt-rise-riscv/incl/sysc'))
|
||||
pysysc.add_library('core_complex.h', 'libdbt-rise-riscv.so', project_dir)
|
||||
###############################################################################
|
||||
# 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
|
||||
###############################################################################
|
||||
|
||||
Reference in New Issue
Block a user