Move verilator stack limit to setup.sh/csh insteaed of site-setup

This commit is contained in:
Jordan Carlin 2024-07-25 21:35:52 -07:00
parent e851812608
commit fed45d9eb6
No known key found for this signature in database
4 changed files with 6 additions and 6 deletions

View File

@ -29,6 +29,9 @@ echo '$WALLY set to ' ${WALLY}
# utility functions in Wally repository # utility functions in Wally repository
extend PATH $WALLY/bin extend PATH $WALLY/bin
# Verilator needs a larger stack to simulate CORE-V Wally
limit stacksize unlimited
# load site licenses and tool locations # load site licenses and tool locations
if ( -e "${RISCV}"/site-setup.csh ) then if ( -e "${RISCV}"/site-setup.csh ) then
source $RISCV/site-setup.csh source $RISCV/site-setup.csh

View File

@ -33,6 +33,9 @@ echo \$WALLY set to "${WALLY}"
# utility functions in Wally repository # utility functions in Wally repository
export PATH=$WALLY/bin:$PATH export PATH=$WALLY/bin:$PATH
# Verilator needs a larger stack to simulate CORE-V Wally
ulimit -c 300000
# load site licenses and tool locations # load site licenses and tool locations
if [ -e "${RISCV}"/site-setup.sh ]; then if [ -e "${RISCV}"/site-setup.sh ]; then
source "${RISCV}"/site-setup.sh source "${RISCV}"/site-setup.sh

View File

@ -37,9 +37,6 @@ setenv RISCV_GCC `which riscv64-unknown-elf-gcc` # Copy this as it
setenv RISCV_OBJCOPY `which riscv64-unknown-elf-objcopy` # Copy this as it is setenv RISCV_OBJCOPY `which riscv64-unknown-elf-objcopy` # Copy this as it is
setenv SPIKE_PATH $RISCV/bin # Change this for your path to riscv-isa-sim (spike) setenv SPIKE_PATH $RISCV/bin # Change this for your path to riscv-isa-sim (spike)
# Verilator needs a larger stack to simulate CORE-V Wally
limit stacksize unlimited
# Imperas; put this in if you are using it # Imperas; put this in if you are using it
#set path = ($RISCV/imperas-riscv-tests/riscv-ovpsim-plus/bin/Linux64 $path) #set path = ($RISCV/imperas-riscv-tests/riscv-ovpsim-plus/bin/Linux64 $path)
#setenv LD_LIBRARY_PATH $RISCV/imperas_riscv_tests/riscv-ovpsim-plus/bin/Linux64:$LD_LIBRARY_PATH # remove if no imperas #setenv LD_LIBRARY_PATH $RISCV/imperas_riscv_tests/riscv-ovpsim-plus/bin/Linux64:$LD_LIBRARY_PATH # remove if no imperas

View File

@ -41,9 +41,6 @@ export RISCV_GCC=$(which riscv64-unknown-elf-gcc) # Copy this as it
export RISCV_OBJCOPY=$(which riscv64-unknown-elf-objcopy) # Copy this as it is export RISCV_OBJCOPY=$(which riscv64-unknown-elf-objcopy) # Copy this as it is
export SPIKE_PATH=$RISCV/bin # Change this for your path to riscv-isa-sim (spike) export SPIKE_PATH=$RISCV/bin # Change this for your path to riscv-isa-sim (spike)
# Verilator needs a larger stack to simulate CORE-V Wally
ulimit -c 300000
# Imperas OVPsim; put this in if you are using it # Imperas OVPsim; put this in if you are using it
#export PATH=$RISCV/imperas-riscv-tests/riscv-ovpsim-plus/bin/Linux64:$PATH #export PATH=$RISCV/imperas-riscv-tests/riscv-ovpsim-plus/bin/Linux64:$PATH
#export LD_LIBRARY_PATH=$RISCV/imperas_riscv_tests/riscv-ovpsim-plus/bin/Linux64:$LD_LIBRARY_PATH #export LD_LIBRARY_PATH=$RISCV/imperas_riscv_tests/riscv-ovpsim-plus/bin/Linux64:$LD_LIBRARY_PATH