summaryrefslogtreecommitdiff
path: root/.zsh/zshenv/99_altera
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2011-03-07 15:00:15 +0100
committerTobias Klauser <tklauser@distanz.ch>2011-03-07 15:00:15 +0100
commit6438b8fea2cc7407e95f134df7b2f210522bc810 (patch)
tree6d99425491cbf09ef25d8808511b279b8b36b89f /.zsh/zshenv/99_altera
parentd0374e97b116d842321b044a8c3444432b462beb (diff)
add altera specific conf
Diffstat (limited to '.zsh/zshenv/99_altera')
-rw-r--r--.zsh/zshenv/99_altera20
1 files changed, 20 insertions, 0 deletions
diff --git a/.zsh/zshenv/99_altera b/.zsh/zshenv/99_altera
new file mode 100644
index 0000000..9a97251
--- /dev/null
+++ b/.zsh/zshenv/99_altera
@@ -0,0 +1,20 @@
+# zshenv/99_altera
+#
+# set up Altera specific variables
+#
+# Copyright © 2011 Tobias Klauser <tklauser@distanz.ch>
+# Released under the terms of the Artistic Licence 2.0
+#
+# Source repository: git://git.distanz.ch/dotfiles/zsh.git
+
+if [ -d $ALTERADIR ] ; then
+ export LM_LICENSE_FILE=7172@rizzo.zhwin.ch
+ export QUARTUS_64BIT=0
+ export SOPC_KIT_NIOS2=$ALTERADIR/nios2eds
+ export SOPC_BUILDER_PATH=$ALTERADIR/nios2eds:$ALTERADIR/ip/ddr_ddr2_sdram/lib/sopc_builder:$ALTERADIR/ip/pci_compiler/lib/sopc_builder
+ export QUARTUS_ROOTDIR=$ALTERADIR/quartus
+ export SOPC_BUILDER_PATH_80=$ALTERADIR/nios2eds
+ export PATH=$PATH:$ALTERADIR/quartus/bin:$ALTERADIR/nios2eds/bin:$ALTERADIR/quartus/linux:$ALTERADIR/nios2eds/bin/nios2-gnutools/H-i686-pc-linux-gnu/bin:$ALTERADIR/quartus/sopc_builder/bin
+fi
+
+# vim:ft=zsh