Skip to content

Commit

Permalink
env: fix environment export
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrea Belano committed Jan 13, 2025
1 parent 590cbf0 commit 2f010aa
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 21 deletions.
16 changes: 9 additions & 7 deletions env/astral-env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,16 @@ ROOTD=$(cd "$(dirname "${BASH_SOURCE[0]:-$0}")/.." && pwd)
# If at IIS, set up appropriate questa version.
if test -f /etc/iis.version; then
export QUESTA=questa-2023.4-zr
export VLOG="$QUESTA vlog"
export VLIB="$QUESTA vlib"
export VMAP="$QUESTA vmap"
export VCOM="$QUESTA vcom"
export VOPT="$QUESTA vopt"
export VSIM="$QUESTA vsim"
export PULP_RUNTIME_GCC_TOOLCHAIN=/usr/pack/riscv-1.0-kgf/pulp-gcc-1.0.16
fi

export QUESTA=questa-2023.4-zr
export VLOG="$QUESTA vlog"
export VLIB="$QUESTA vlib"
export VMAP="$QUESTA vmap"
export VCOM="$QUESTA vcom"
export VOPT="$QUESTA vopt"
export VSIM="$QUESTA vsim"
export PULP_RUNTIME_GCC_TOOLCHAIN=/usr/pack/riscv-1.0-kgf/pulp-gcc-1.0.16

source "$ROOTD/pulp-runtime/configs/astral-cluster.sh"
source "$ROOTD/scripts/vsim.sh"
16 changes: 9 additions & 7 deletions env/carfield-env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,16 @@ ROOTD=$(cd "$(dirname "${BASH_SOURCE[0]:-$0}")/.." && pwd)
# If at IIS, set up appropriate questa version.
if test -f /etc/iis.version; then
export QUESTA=questa-2023.4-zr
export VLOG="$QUESTA vlog"
export VLIB="$QUESTA vlib"
export VMAP="$QUESTA vmap"
export VCOM="$QUESTA vcom"
export VOPT="$QUESTA vopt"
export VSIM="$QUESTA vsim"
export PULP_RUNTIME_GCC_TOOLCHAIN=/usr/pack/riscv-1.0-kgf/pulp-gcc-1.0.16
fi

export QUESTA=questa-2023.4-zr
export VLOG="$QUESTA vlog"
export VLIB="$QUESTA vlib"
export VMAP="$QUESTA vmap"
export VCOM="$QUESTA vcom"
export VOPT="$QUESTA vopt"
export VSIM="$QUESTA vsim"
export PULP_RUNTIME_GCC_TOOLCHAIN=/usr/pack/riscv-1.0-kgf/pulp-gcc-1.0.16

source "$ROOTD/pulp-runtime/configs/carfield-cluster.sh"
source "$ROOTD/scripts/vsim.sh"
15 changes: 8 additions & 7 deletions env/env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,15 @@ ROOTD=$(cd "$(dirname "${BASH_SOURCE[0]:-$0}")/.." && pwd)
# If at IIS, set up appropriate questa version.
if test -f /etc/iis.version; then
export QUESTA=questa-2023.4-zr
export VLOG="$QUESTA vlog"
export VLIB="$QUESTA vlib"
export VMAP="$QUESTA vmap"
export VCOM="$QUESTA vcom"
export VOPT="$QUESTA vopt"
export VSIM="$QUESTA vsim"
export PULP_RUNTIME_GCC_TOOLCHAIN=/usr/pack/riscv-1.0-kgf/pulp-gcc-1.0.16
fi

export VLOG="$QUESTA vlog"
export VLIB="$QUESTA vlib"
export VMAP="$QUESTA vmap"
export VCOM="$QUESTA vcom"
export VOPT="$QUESTA vopt"
export VSIM="$QUESTA vsim"
export PULP_RUNTIME_GCC_TOOLCHAIN=/usr/pack/riscv-1.0-kgf/pulp-gcc-1.0.16

source "$ROOTD/pulp-runtime/configs/pulp_cluster.sh"
source "$ROOTD/scripts/vsim.sh"

0 comments on commit 2f010aa

Please sign in to comment.