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

Subversion Repositories openmsp430

[/] [openmsp430/] [trunk/] [core/] [sim/] [rtl_sim/] [run/] [run_all_mpy] - Blame information for rev 78

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 73 olivier.gi
#!/bin/bash
2 67 olivier.gi
 
3
# Enable/Disable waveform dumping
4
OMSP_NODUMP=1
5
export OMSP_NODUMP
6
 
7
rm -rf *.log
8
echo ""
9
echo " ===================================================="
10
echo "| WARNING: Complete Hardware Multiplier verification |"
11
echo "|         regression might take several hours.       |"
12
echo " ===================================================="
13
echo ""
14
 
15
# Hardware multiplier test patterns
16
../bin/msp430sim mpy_basic   | tee  mpy_basic.log
17
../bin/msp430sim mpy_mpy     | tee  mpy_mpy.log
18
../bin/msp430sim mpy_mpys    | tee  mpy_mpys.log
19
../bin/msp430sim mpy_mac     | tee  mpy_mac.log
20
../bin/msp430sim mpy_macs    | tee  mpy_macs.log
21
 
22
grep FAILED  *.log
23
echo ""
24
echo " ================================"
25
echo -n "| Number of passed patterns: "
26
cat *.log | grep -c PASSED
27
echo -n "| Number of failed patterns: "
28
cat *.log | grep -c FAILED
29
echo "|--------------------------------"
30
echo -n "| Number of patterns:        "
31
ls -1 *.log | wc -l
32
echo " ================================"
33
echo " Make sure passed == total"
34
echo ""
35
echo ""

powered by: WebSVN 2.1.0

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