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

Subversion Repositories eco32

[/] [eco32/] [trunk/] [simtest/] [Makefile.run] - Blame information for rev 186

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

Line No. Rev Author Line
1 9 hellwig
#
2
# Makefile to run some simulator tests
3
#
4
 
5
BUILD = ..
6
 
7
LOGFILE = run.log
8
 
9
DSKNAME = system.disk
10
DSKSIZE = 14000
11
MBRNAME = mbr.bin
12
 
13
.PHONY:         all clean
14
 
15
all:
16
                @echo "Please choose one of the following targets:"
17
                @echo "    run-rom00 (test ROM byte order)"
18
                @echo "    run-rom01 (one example of each instruction)"
19
                @echo "    run-rom02 (terminal output, polled)"
20
                @echo "    run-rom03 (terminal echo, polled)"
21
                @echo "    run-rom04 (\"Hello, world!\")"
22
                @echo "    run-rom05 (\"Hello, world!\", on terminal 1)"
23
                @echo "    run-rom06 (crossed echo with two terminals)"
24
                @echo "    run-rom07 (string output to output device)"
25 37 hellwig
                @echo "    run-rom08 (string output with delay loop)"
26
                @echo "    run-rom09 (string output with timing loop)"
27 9 hellwig
                @echo "    run-rom10 (console character attributes)"
28
                @echo "    run-romboot (ROM bootstrapping disk)"
29
                @echo "    clean"
30
 
31
$(DSKNAME):
32
                ./mkdisk $(DSKNAME) $(DSKSIZE)
33
                ./wrtmbr $(DSKNAME) $(MBRNAME)
34
 
35
run-rom00:
36
                $(BUILD)/bin/sim -i -r rom00.bin
37
 
38
run-rom01:
39
                $(BUILD)/bin/sim -i -r rom01.bin
40
 
41
run-rom02:
42
                $(BUILD)/bin/sim -i -r rom02.bin -t 1
43
 
44
run-rom03:
45
                $(BUILD)/bin/sim -i -r rom03.bin -t 1
46
 
47
run-rom04:
48
                $(BUILD)/bin/sim -i -r rom04.bin -t 1
49
 
50
run-rom05:
51
                $(BUILD)/bin/sim -i -r rom05.bin -t 2
52
 
53
run-rom06:
54
                $(BUILD)/bin/sim -i -r rom06.bin -t 2
55
 
56
run-rom07:
57
                $(BUILD)/bin/sim -i -r rom07.bin -o $(LOGFILE)
58
 
59 37 hellwig
run-rom08:
60
                $(BUILD)/bin/sim -i -r rom08.bin -t 1
61
 
62
run-rom09:
63
                $(BUILD)/bin/sim -i -r rom09.bin -t 1
64
 
65 9 hellwig
run-rom10:
66
                $(BUILD)/bin/sim -i -r rom10.bin -c
67
 
68
run-romboot:    $(DSKNAME)
69
                $(BUILD)/bin/sim -i -r romboot.bin -t 1 -d $(DSKNAME)
70
 
71
clean:
72
                rm -f *~ $(LOGFILE) $(DSKNAME)

powered by: WebSVN 2.1.0

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