#!/bin/sh

# Configures environment
export QUARTUS_ROOTDIR=/soft/quartus_hd/quartus.61
export SOPC_KIT_NIOS2=/soft/nios2_hd/nios2.61
export LM_LICENSE_FILE=${QUARTUS_ROOTDIR}/license.dat
export SOPC_BUILDER_PATH=${SOPC_KIT_NIOS2}

# Configures path
export PATH=${PATH}:${QUARTUS_ROOTDIR}/bin
export PATH=${PATH}:${QUARTUS_ROOTDIR}/sopc_builder/bin
export PATH=${PATH}:${SOPC_KIT_NIOS2}/bin
export PATH=${PATH}:${SOPC_KIT_NIOS2}/bin/nios2-gnutools/H-i686-pc-linux-gnu/bin

# Run TaskMapper
/soft/jdk_hd/Linux/jdk1.6.0_02/bin/java -jar TaskMapper.jar