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

Subversion Repositories openmsp430

[/] [openmsp430/] [trunk/] [core/] [sim/] [rtl_sim/] [bin/] [msp430sim_c] - Diff between revs 98 and 122

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

Rev 98 Rev 122
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_c "
  echo "USAGE    : msp430sim_c "
  echo "Example  : msp430sim_c sandbox"
  echo "Example  : msp430sim_c sandbox"
  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 61... Line 62...
#                     Check if the required files exist                       #
#                     Check if the required files exist                       #
###############################################################################
###############################################################################
softdir=../src-c/$1;
softdir=../src-c/$1;
elffile=../src-c/$1/$1.elf;
elffile=../src-c/$1/$1.elf;
verfile=../src-c/$1/$1.v;
verfile=../src-c/$1/$1.v;
submitfile=../src/submit.f;
 
incfile=../../../rtl/verilog/openMSP430_defines.v;
incfile=../../../rtl/verilog/openMSP430_defines.v;
 
submitfile=../src/submit.f;
 
if [ $OMSP_SIMULATOR == "isim" ]; then
 
    submitfile=../src/submit.prj;
 
fi
 
 
if [ ! -e $softdir ]; then
if [ ! -e $softdir ]; then
    echo "Software directory doesn't exist: $softdir"
    echo "Software directory doesn't exist: $softdir"
    exit 1
    exit 1
fi
fi

powered by: WebSVN 2.1.0

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