mirror of
https://github.com/openhwgroup/cvw
synced 2025-01-22 20:44:28 +00:00
Move verilator stack limit to setup.sh/csh insteaed of site-setup
This commit is contained in:
parent
e851812608
commit
fed45d9eb6
@ -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
|
||||||
|
3
setup.sh
3
setup.sh
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user