Line 27... |
Line 27... |
#
|
#
|
# Author(s):
|
# Author(s):
|
# - Olivier Girard, olgirard@gmail.com
|
# - Olivier Girard, olgirard@gmail.com
|
#
|
#
|
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
# $Rev: 134 $
|
# $Rev: 138 $
|
# $LastChangedBy: olivier.girard $
|
# $LastChangedBy: olivier.girard $
|
# $LastChangedDate: 2012-03-22 21:31:06 +0100 (Thu, 22 Mar 2012) $
|
# $LastChangedDate: 2012-04-23 13:10:00 +0200 (Mon, 23 Apr 2012) $
|
#------------------------------------------------------------------------------
|
#------------------------------------------------------------------------------
|
|
|
###############################################################################
|
###############################################################################
|
# Parameter Check #
|
# Parameter Check #
|
###############################################################################
|
###############################################################################
|
Line 106... |
Line 106... |
echo " ======================================================="
|
echo " ======================================================="
|
echo "| Start simulation: $1"
|
echo "| Start simulation: $1"
|
echo " ======================================================="
|
echo " ======================================================="
|
|
|
# Create links
|
# Create links
|
|
if [ `uname -o` = "Cygwin" ]
|
|
then
|
|
cp $asmfile pmem.s43
|
|
cp $verfile stimulus.v
|
|
else
|
ln -s $asmfile pmem.s43
|
ln -s $asmfile pmem.s43
|
ln -s $verfile stimulus.v
|
ln -s $verfile stimulus.v
|
|
fi
|
|
|
# Make local copy of the openMSP403 configuration file and remove comments
|
# Make local copy of the openMSP403 configuration file and remove comments
|
cp $incfile ./pmem.inc
|
cp $incfile ./pmem.inc
|
sed -i "/^\/\// s,.*,," pmem.inc
|
sed -i "/^\/\// s,.*,," pmem.inc
|
|
|