Makefile
8.98 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
# #!smake -J 1
###########################################################
#
# rules for extracting vectors from iosim/simv.ipc
#
###########################################################
PRDEPTH = $(ROOT)/PR
include $(PRDEPTH)/PRdefs
include $(PRDEPTH)/PRrules
LDIRT = *.tab*
SIMVDIR = /var/tmp/tonyd
DIRECTED = $(ROOT)/PR/iosim/data/directed
IORANDDIR = $(ROOT)/PR/iosim/data/dma80
VIDIR = $(ROOT)/PR/rdpsim/backend/test/Iosim
RDPDIR = $(ROOT)/PR/rdpsim/test/rdp
ATTDIR = $(ROOT)/PR/apps/rdpatt
EWDIR = $(ROOT)/PR/apps/rdpew
TEXDIR = $(ROOT)/PR/apps/rdptex
MSDIR = $(ROOT)/PR/apps/rdpms
ROM_DATA = $(DIRECTED)/rom_4.data \
$(DIRECTED)/rom_8.data
PIF_DATA = $(DIRECTED)/pif.data
default: test000.tab.Z test001.tab.Z test002.tab.Z test003.tab.Z \
test004.tab.Z test006.tab.Z test007.tab.Z test008.tab.Z \
test009.tab.Z test010.tab.Z test011.tab.Z test012.tab.Z \
test013.tab.Z test014.tab.Z test015.tab.Z
$(ROOT)/PR/iosim/src/iosim: $(_FORCE)
cd $(ROOT)/PR/iosim/src; make iosim
$(ROOT)/PR/iosim/src/iorand: $(_FORCE)
cd $(ROOT)/PR/iosim/src; make iorand
$(SIMVDIR)/simv.ipc: $(_FORCE)
cd $(ROOT)/PR/hw/chip/sim; make ipc
$(DIRECTED)/iosim.rdram: $(_FORCE)
cd $(ROOT)/PR/iosim/data/directed; make
$(IORANDDIR)iorand.rdram: $(_FORCE)
cd $(IORANDDIR); make
$(VIDIR)/tri-small16.rdram: $(_FORCE)
cd $(VIDIR); make tri-small16.rdram
$(VIDIR)/tri-small32.rdram: $(_FORCE)
cd $(VIDIR); make tri-small32.rdram
$(VIDIR)/randtreev16.rdram: $(_FORCE)
cd $(VIDIR); make randtreev16.rdram
$(VIDIR)/randtreeh16.rdram: $(_FORCE)
cd $(VIDIR); make randtreeh16.rdram
$(ATTDIR)/InData/test031.31.rdram.Z: $(_FORCE)
cd $(ATTDIR); make test031
$(EWDIR)/InData/test040.40.rdram.Z: $(_FORCE)
cd $(EWDIR); make test040
$(TEXDIR)/InData/test050.50.rdram.Z: $(_FORCE)
cd $(TEXDIR); make test050
$(MSDIR)/InData/test003.3.rdram.Z: $(_FORCE)
cd $(MSDIR); make test003
####################################################################################
# pi directed
####################################################################################
test000.tab.Z: $(ROOT)/PR/iosim/test/pi.tst $(ROM_DATA) $(DIRECTED)/iosim.rdram
- cd $(DIRECTED); \
$(ROOT)/PR/iosim/src/iosim -f $(ROOT)/PR/iosim/test/pi.tst \
-l $(ROOT)/PR/hw/chip/qsim/rcp/tab_files/pi.log \
-s "$(SIMVDIR)/simv.ipc +load_rom +mmap_rdram=iosim +cyclelimit=200000 \
+rcp_tab=/hosts/hurricane/usr/people/tonyd/mdevroot/PR/hw/chip/qsim/rcp/tab_files/test000.tab"; \
compress -f $(ROOT)/PR/hw/chip/qsim/rcp/tab_files/test000.tab
####################################################################################
# ai directed
####################################################################################
test001.tab.Z: $(ROOT)/PR/iosim/test/ai.tst
- cd $(DIRECTED); \
$(ROOT)/PR/iosim/src/iosim -f $(ROOT)/PR/iosim/test/ai.tst \
-l $(ROOT)/PR/hw/chip/qsim/rcp/tab_files/ai.log \
-s "$(SIMVDIR)/simv.ipc +cyclelimit=200000 \
+rcp_tab=/hosts/hurricane/usr/people/tonyd/mdevroot/PR/hw/chip/qsim/rcp/tab_files/test001.tab"; \
compress -f $(ROOT)/PR/hw/chip/qsim/rcp/tab_files/test001.tab
####################################################################################
# si directed
####################################################################################
test002.tab.Z: $(ROOT)/PR/iosim/test/si.tst $(PIF_DATA)
- cd $(DIRECTED); \
$(ROOT)/PR/iosim/src/iosim -f $(ROOT)/PR/iosim/test/si.tst \
-l $(ROOT)/PR/hw/chip/qsim/rcp/tab_files/si.log \
-s "$(SIMVDIR)/simv.ipc +load_pif +cyclelimit=200000 \
+rcp_tab=/hosts/hurricane/usr/people/tonyd/mdevroot/PR/hw/chip/qsim/rcp/tab_files/test002.tab"; \
compress -f $(ROOT)/PR/hw/chip/qsim/rcp/tab_files/test002.tab
####################################################################################
# arb directed
####################################################################################
test003.tab.Z: $(IORANDDIR)iorand.rdram
- cd $(IORANDDIR); \
$(ROOT)/PR/iosim/src/iorand -t 1-12,14 -i 1 -r 1 -d 0x241 \
-l $(ROOT)/PR/hw/chip/qsim/rcp/tab_files/arb.log \
-s "$(SIMVDIR)/simv.ipc -l $(ROOT)/PR/hw/chip/qsim/rcp/tab_files/iorand.vlog +load_pif +load_rom +mmap_rdram=iorand +vitab=vi.tab +adac_mon +spandata_mon +cyclelimit=200000 \
+rcp_tab=/hosts/hurricane/usr/people/tonyd/mdevroot/PR/hw/chip/qsim/rcp/tab_files/test003.tab"; \
compress -f $(ROOT)/PR/hw/chip/qsim/rcp/tab_files/test003.tab
####################################################################################
# vi directed
####################################################################################
test004.tab.Z: $(VIDIR)/vi_lan1.tst $(VIDIR)/tri-small16.rdram
- cd $(VIDIR); \
$(ROOT)/PR/iosim/src/iosim -f vi_lan1.tst \
-l $(ROOT)/PR/hw/chip/qsim/rcp/tab_files/vi04.log \
-s "$(SIMVDIR)/simv.ipc +mmap_rdram=tri-small16 +cyclelimit=200000 \
+rcp_tab=/hosts/hurricane/usr/people/tonyd/mdevroot/PR/hw/chip/qsim/rcp/tab_files/test004.tab"; \
compress -f $(ROOT)/PR/hw/chip/qsim/rcp/tab_files/test004.tab
test009.tab.Z: $(VIDIR)/vi_lan2.tst $(VIDIR)/tri-small32.rdram
- cd $(VIDIR); \
$(ROOT)/PR/iosim/src/iosim -f vi_lan2.tst \
-l $(ROOT)/PR/hw/chip/qsim/rcp/tab_files/vi09.log \
-s "$(SIMVDIR)/simv.ipc +mmap_rdram=tri-small32 +cyclelimit=200000 \
+rcp_tab=/hosts/hurricane/usr/people/tonyd/mdevroot/PR/hw/chip/qsim/rcp/tab_files/test009.tab"; \
compress -f $(ROOT)/PR/hw/chip/qsim/rcp/tab_files/test009.tab
test010.tab.Z: $(VIDIR)/vi_lpn1.tst $(VIDIR)/tri-small16.rdram
- cd $(VIDIR); \
$(ROOT)/PR/iosim/src/iosim -f vi_lpn1.tst \
-l $(ROOT)/PR/hw/chip/qsim/rcp/tab_files/vi10.log \
-s "$(SIMVDIR)/simv.ipc +mmap_rdram=tri-small16 +cyclelimit=200000 \
+rcp_tab=/hosts/hurricane/usr/people/tonyd/mdevroot/PR/hw/chip/qsim/rcp/tab_files/test010.tab"; \
compress -f $(ROOT)/PR/hw/chip/qsim/rcp/tab_files/test010.tab
test011.tab.Z: $(VIDIR)/vi_han1.tst $(VIDIR)/tri-small16.rdram
- cd $(VIDIR); \
$(ROOT)/PR/iosim/src/iosim -f vi_han1.tst \
-l $(ROOT)/PR/hw/chip/qsim/rcp/tab_files/vi11.log \
-s "$(SIMVDIR)/simv.ipc +mmap_rdram=tri-small16 +cyclelimit=200000 \
+rcp_tab=/hosts/hurricane/usr/people/tonyd/mdevroot/PR/hw/chip/qsim/rcp/tab_files/test011.tab"; \
compress -f $(ROOT)/PR/hw/chip/qsim/rcp/tab_files/test011.tab
test012.tab.Z: $(VIDIR)/vi_hpf2.tst $(VIDIR)/tri-small32.rdram
- cd $(VIDIR); \
$(ROOT)/PR/iosim/src/iosim -f vi_hpf2.tst \
-l $(ROOT)/PR/hw/chip/qsim/rcp/tab_files/vi12.log \
-s "$(SIMVDIR)/simv.ipc +mmap_rdram=tri-small32 +cyclelimit=200000 \
+rcp_tab=/hosts/hurricane/usr/people/tonyd/mdevroot/PR/hw/chip/qsim/rcp/tab_files/test012.tab"; \
compress -f $(ROOT)/PR/hw/chip/qsim/rcp/tab_files/test012.tab
test013.tab.Z: $(VIDIR)/vi.32-240-18i.tst $(VIDIR)/randtreev16.rdram
- cd $(VIDIR); \
$(ROOT)/PR/iosim/src/iosim -f vi.32-240-18i.tst \
-l $(ROOT)/PR/hw/chip/qsim/rcp/tab_files/vi13.log \
-s "$(SIMVDIR)/simv.ipc +mmap_rdram=randtreev16 +cyclelimit=200000 \
+rcp_tab=/hosts/hurricane/usr/people/tonyd/mdevroot/PR/hw/chip/qsim/rcp/tab_files/test013.tab"; \
compress -f $(ROOT)/PR/hw/chip/qsim/rcp/tab_files/test013.tab
test014.tab.Z: $(VIDIR)/vi.320-32-18i.tst $(VIDIR)/randtreeh16.rdram
- cd $(VIDIR); \
$(ROOT)/PR/iosim/src/iosim -f vi.320-32-18i.tst \
-l $(ROOT)/PR/hw/chip/qsim/rcp/tab_files/vi14.log \
-s "$(SIMVDIR)/simv.ipc +mmap_rdram=randtreeh16 +cyclelimit=200000 \
+rcp_tab=/hosts/hurricane/usr/people/tonyd/mdevroot/PR/hw/chip/qsim/rcp/tab_files/test014.tab"; \
compress -f $(ROOT)/PR/hw/chip/qsim/rcp/tab_files/test014.tab
####################################################################################
# mi directed
####################################################################################
#test005.tab.Z: from cosim environment
####################################################################################
# rdp directed
####################################################################################
test006.tab.Z: $(ATTDIR)/InData/test031.31.rdram.Z
- cd $(RDPDIR); \
testit -n 031 -t att -s io; \
mv $(ROOT)/PR/hw/chip/qsim/rcp/tab_files/test.tab $(ROOT)/PR/hw/chip/qsim/rcp/tab_files/test006.tab; \
compress -f $(ROOT)/PR/hw/chip/qsim/rcp/tab_files/test006.tab
test007.tab.Z: $(EWDIR)/InData/test040.40.rdram.Z
- cd $(RDPDIR); \
testit -n 040 -t ew -s io; \
mv $(ROOT)/PR/hw/chip/qsim/rcp/tab_files/test.tab $(ROOT)/PR/hw/chip/qsim/rcp/tab_files/test007.tab; \
compress -f $(ROOT)/PR/hw/chip/qsim/rcp/tab_files/test007.tab
test008.tab.Z: $(TEXDIR)/InData/test050.50.rdram.Z
- cd $(RDPDIR); \
testit -n 050 -t tex -s io; \
mv $(ROOT)/PR/hw/chip/qsim/rcp/tab_files/test.tab $(ROOT)/PR/hw/chip/qsim/rcp/tab_files/test008.tab; \
compress -f $(ROOT)/PR/hw/chip/qsim/rcp/tab_files/test008.tab
test015.tab.Z: $(MSDIR)/InData/test003.3.rdram.Z
- cd $(RDPDIR); \
testit -n 003 -t ms -s io; \
mv $(ROOT)/PR/hw/chip/qsim/rcp/tab_files/test.tab $(ROOT)/PR/hw/chip/qsim/rcp/tab_files/test015.tab; \
compress -f $(ROOT)/PR/hw/chip/qsim/rcp/tab_files/test015.tab