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

Subversion Repositories eco32

[/] [eco32/] [trunk/] [fpga/] [mc-sim/] [run_single] - Blame information for rev 310

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

Line No. Rev Author Line
1 303 hellwig
#! /bin/bash
2
 
3
if (( $# == 0 ))
4
then
5
  echo "usage: run_single "
6
  exit
7
fi
8
 
9
BUILD=../tests/$1
10
if [ ! -r $BUILD/$1.dat ]
11
then
12
  echo "test file '$BUILD/$1.dat' not found"
13
  exit
14
fi
15
 
16
make clean
17
 
18
echo "cp $BUILD/$1.dat rom.dat"
19
cp $BUILD/$1.dat rom.dat
20
 
21
if [ -r $BUILD/duration.dat ]
22
then
23
  echo "cp $BUILD/duration.dat duration.dat"
24
  cp $BUILD/duration.dat duration.dat
25
fi
26
 
27
if [ -r $BUILD/kbd.dat ]
28
then
29
  echo "cp $BUILD/kbd.dat kbd.dat"
30
  cp $BUILD/kbd.dat kbd.dat
31
fi
32
 
33
if [ -r $BUILD/ser0.dat ]
34
then
35
  echo "cp $BUILD/ser0.dat ser0.dat"
36
  cp $BUILD/ser0.dat ser0.dat
37
fi
38
 
39
if [ -r $BUILD/ser1.dat ]
40
then
41
  echo "cp $BUILD/ser1.dat ser1.dat"
42
  cp $BUILD/ser1.dat ser1.dat
43
fi
44
 
45
make run

powered by: WebSVN 2.1.0

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