Skip to content

Commit

Permalink
Set up questa version for IIS
Browse files Browse the repository at this point in the history
  • Loading branch information
micprog authored and Yvan Tortorella committed Feb 10, 2024
1 parent 29db9a5 commit 242c9ff
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions env/env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,19 @@

# set up environment variables for rtl simulation, pulp-runtime and freertos
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 QUESTA_HOME=/usr/pack/${QUESTA}/questasim
export QUESTASIM_HOME=/usr/pack/${QUESTA}/questasim
fi

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

0 comments on commit 242c9ff

Please sign in to comment.