Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
19 years ago

A small tool to launch ECOS config tool

[CODE]A small tool that can make it easy to launch ECOS configuration tool. There are two files. One is nios2_ecos_cfg.bat and another is nios2_ecos_cfg.sh. Please copy their contents and create the two files.

nios2_ecos_cfg.bat:

bash nios2_ecos_cfg.sh %1

nios2_ecos_cfg.sh:

#!/bin/sh

#

# call the SOPC Builder standard script

. $QUARTUS_ROOTDIR/sopc_builder/bin/nios_bash

rm $TMP/nios2_auto.cdl -f

echo

echo Current path:

pwd

echo Current NIOS II system:

#ls -l $1

ls $1

nios2configtool --ptf=$1 --cpu=cpu

echo

rm $TMP/nios2_auto.cdl -f

# exit

No RepliesBe the first to reply