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

Subversion Repositories eco32

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

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
                @echo "    run-rom10 (console character attributes)"
26
                @echo "    run-romboot (ROM bootstrapping disk)"
27
                @echo "    clean"
28
 
29
$(DSKNAME):
30
                ./mkdisk $(DSKNAME) $(DSKSIZE)
31
                ./wrtmbr $(DSKNAME) $(MBRNAME)
32
 
33
run-rom00:
34
                $(BUILD)/bin/sim -i -r rom00.bin
35
 
36
run-rom01:
37
                $(BUILD)/bin/sim -i -r rom01.bin
38
 
39
run-rom02:
40
                $(BUILD)/bin/sim -i -r rom02.bin -t 1
41
 
42
run-rom03:
43
                $(BUILD)/bin/sim -i -r rom03.bin -t 1
44
 
45
run-rom04:
46
                $(BUILD)/bin/sim -i -r rom04.bin -t 1
47
 
48
run-rom05:
49
                $(BUILD)/bin/sim -i -r rom05.bin -t 2
50
 
51
run-rom06:
52
                $(BUILD)/bin/sim -i -r rom06.bin -t 2
53
 
54
run-rom07:
55
                $(BUILD)/bin/sim -i -r rom07.bin -o $(LOGFILE)
56
 
57
run-rom10:
58
                $(BUILD)/bin/sim -i -r rom10.bin -c
59
 
60
run-romboot:    $(DSKNAME)
61
                $(BUILD)/bin/sim -i -r romboot.bin -t 1 -d $(DSKNAME)
62
 
63
clean:
64
                rm -f *~ $(LOGFILE) $(DSKNAME)

powered by: WebSVN 2.1.0

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