OpenCores
URL https://opencores.org/ocsvn/openmsp430/openmsp430/trunk

Subversion Repositories openmsp430

[/] [openmsp430/] [trunk/] [fpga/] [xilinx_diligent_s3board/] [sim/] [rtl_sim/] [bin/] [msp430sim] - Diff between revs 98 and 136

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 98 Rev 136
Line 27... Line 27...
#
#
# Author(s):
# Author(s):
#             - Olivier Girard,    olgirard@gmail.com
#             - Olivier Girard,    olgirard@gmail.com
#
#
#------------------------------------------------------------------------------
#------------------------------------------------------------------------------
# $Rev: 98 $
# $Rev: 136 $
# $LastChangedBy: olivier.girard $
# $LastChangedBy: olivier.girard $
# $LastChangedDate: 2011-02-28 21:20:51 +0100 (Mon, 28 Feb 2011) $
# $LastChangedDate: 2012-03-22 22:14:16 +0100 (Thu, 22 Mar 2012) $
#------------------------------------------------------------------------------
#------------------------------------------------------------------------------
 
 
###############################################################################
###############################################################################
#                            Parameter Check                                  #
#                            Parameter Check                                  #
###############################################################################
###############################################################################
Line 41... Line 41...
if [ $# -ne $EXPECTED_ARGS ]; then
if [ $# -ne $EXPECTED_ARGS ]; then
  echo "ERROR    : wrong number of arguments"
  echo "ERROR    : wrong number of arguments"
  echo "USAGE    : msp430sim "
  echo "USAGE    : msp430sim "
  echo "Example  : msp430sim leds"
  echo "Example  : msp430sim leds"
  echo ""
  echo ""
  echo "In order to switch the verilog simulator, the MYVLOG environment"
  echo "In order to switch the verilog simulator, the OMSP_SIMULATOR environment"
  echo "variable can be set to the following values:"
  echo "variable can be set to the following values:"
  echo ""
  echo ""
  echo "                  - iverilog  : Icarus Verilog  (default)"
  echo "                  - iverilog  : Icarus Verilog  (default)"
  echo "                  - cver      : CVer"
  echo "                  - cver      : CVer"
  echo "                  - verilog   : Verilog-XL"
  echo "                  - verilog   : Verilog-XL"
  echo "                  - ncverilog : NC-Verilog"
  echo "                  - ncverilog : NC-Verilog"
  echo "                  - vcs       : VCS"
  echo "                  - vcs       : VCS"
  echo "                  - vsim      : Modelsim"
  echo "                  - vsim      : Modelsim"
 
  echo "                  - isim      : Xilinx simulator"
  echo ""
  echo ""
  exit 1
  exit 1
fi
fi
 
 
 
 
Line 99... Line 100...
echo "| Start simulation:             $1"
echo "| Start simulation:             $1"
echo " ======================================================="
echo " ======================================================="
 
 
# Make C program
# Make C program
cd $softdir
cd $softdir
 
make clean
make
make
cd ../../sim/rtl_sim/run/
cd ../../sim/rtl_sim/run/
 
 
# Create links
# Create links
ln -s $elffile pmem.elf
ln -s $elffile pmem.elf

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.