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

Subversion Repositories eco32

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

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 245 hellwig
                $(BUILD)/bin/sim -i -r rom02.bin -s 1 -t 0
43 9 hellwig
 
44
run-rom03:
45 245 hellwig
                $(BUILD)/bin/sim -i -r rom03.bin -s 1 -t 0
46 9 hellwig
 
47
run-rom04:
48 245 hellwig
                $(BUILD)/bin/sim -i -r rom04.bin -s 1 -t 0
49 9 hellwig
 
50
run-rom05:
51 245 hellwig
                $(BUILD)/bin/sim -i -r rom05.bin -s 2 -t 0 -t 1
52 9 hellwig
 
53
run-rom06:
54 245 hellwig
                $(BUILD)/bin/sim -i -r rom06.bin -s 2 -t 0 -t 1
55 9 hellwig
 
56
run-rom07:
57
                $(BUILD)/bin/sim -i -r rom07.bin -o $(LOGFILE)
58
 
59 37 hellwig
run-rom08:
60 245 hellwig
                $(BUILD)/bin/sim -i -r rom08.bin -s 1 -t 0
61 37 hellwig
 
62
run-rom09:
63 245 hellwig
                $(BUILD)/bin/sim -i -r rom09.bin -s 1 -t 0
64 37 hellwig
 
65 9 hellwig
run-rom10:
66
                $(BUILD)/bin/sim -i -r rom10.bin -c
67
 
68
run-romboot:    $(DSKNAME)
69 245 hellwig
                $(BUILD)/bin/sim -i -r romboot.bin -s 1 -t 0 -d $(DSKNAME)
70 9 hellwig
 
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.