summarylogtreecommitdiffstats
path: root/quartus.sh
diff options
context:
space:
mode:
Diffstat (limited to 'quartus.sh')
-rw-r--r--quartus.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/quartus.sh b/quartus.sh
new file mode 100644
index 000000000000..73815287f2a1
--- /dev/null
+++ b/quartus.sh
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+export PATH=$PATH:_alteradir/quartus/bin
+
+# Detect if a 64bit machine and activate quartus
+# depending on it.
+if [ `uname -m` = "x86_64" ] ; then
+ QUARTUS_64BIT='1'
+else
+ QUARTUS_64BIT='0'
+fi
+export QUARTUS_64BIT \ No newline at end of file