# file: nios2_sdk_shell_bashrc
#
# 2004.03.15 dvb
#
# +------------------------------------------------
# | This is the Nios II Kit SDK Shell rc file
# |
# | It calls the standard SOPC Builder rc file, first, and
# | then patches a few things up to do with replicated
# | scripts and revisions, so that the ones provided
# | with Nios II take precedence.
# |

# |
# | call the SOPC Builder standard script
# | add by vic chang

if [ -f $SOPC_KIT_NIOS2/nios2_sdk_shell_bashrc ]
then
	. "$QUARTUS_ROOTDIR/sopc_builder/bin/nios_bash"
        nios2-download SoCKit_DDR3_Nios_Test.elf -c 1 -r -g
        nios2-terminal -c 1 
else
        "$SOPC_KIT_NIOS2/nios2_command_shell.sh" nios2-download SoCKit_DDR3_Nios_Test.elf -c 1 -r -g
        "$SOPC_KIT_NIOS2/nios2_command_shell.sh" nios2-terminal -c 1 
fi

# remove exit

# End of file
