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

Subversion Repositories openmsp430

[/] [openmsp430/] [trunk/] [fpga/] [altera_de0_nano_soc/] [sim/] [rtl_sim/] [run/] [run] - Blame information for rev 221

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 221 olivier.gi
#!/bin/bash
2
 
3
# Enable/Disable waveform dumping
4
OMSP_NODUMP=0
5
export OMSP_NODUMP
6
 
7
# Choose simulator:
8
#                   - iverilog  : Icarus Verilog  (default)
9
#                   - cver      : CVer
10
#                   - verilog   : Verilog-XL
11
#                   - ncverilog : NC-Verilog
12
#                   - vcs       : VCS
13
#                   - vsim      : Modelsim
14
#                   - isim      : Xilinx simulator
15
OMSP_SIMULATOR=ncverilog
16
export OMSP_SIMULATOR
17
 
18
#
19
# Parameter Check
20
#
21
EXPECTED_ARGS=1
22
if [ $# -ne $EXPECTED_ARGS ]; then
23
    echo ""
24
    echo "ERROR          : wrong number of arguments"
25
    echo "USAGE          : ./run "
26
    echo "EXAMPLE        : ./run    leds"
27
    echo ""
28
    echo "AVAILABLE TESTS:"
29
    for fullfile in ../src/*.v ; do
30
        filename=$(basename "$fullfile")
31
        filename="${filename%.*}"
32
        echo "                  - $filename"
33
    done
34
    echo ""
35
  exit 1
36
fi
37
 
38
# Start simulation
39
../bin/msp430sim $1

powered by: WebSVN 2.1.0

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