rsprules
3.84 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
PRDEPTH = $(ROOT)/PR
include $(PRDEPTH)/PRdefs
include $(PRDEPTH)/PRrules
.SUFFIXES: .vec .tog
.vec.tog:
tdx_lsim $(MODEL) -vector_file $(ATTESTDIR)/$*.vec -log_file $*.lsimlog \
-outmodel $* -init_file ../../rcp_inner.tdxinit
ATTESTDIR = /hosts/rayden/e/fault/vec/rsp
MODEL = /hosts/rayden/e/fault/vec/rcp_inner
LDIRT = ./*.rdram ./*.log
TSTDIR = $(ROOT)/PR/iosim/test
VECTOR_DIR = $(ROOT)/PR/hw2/chip/vector
SUDIR = $(VECTOR_DIR)/rsp/su
TESTDIR = $(VECTOR_DIR)/rsp
BINDIR = $(ROOT)/PR/rspsim/vuregre/bin
REGRESSION = $(BINDIR)/reality_rsp_regression
SLOWDIR = /hosts/rayden/e/fault/tssi_slow
HPDIR = /hosts/rayden/e/fault/tssi_hp
IOSIM = $(ROOT)/PR/iosim/src/iosim
TSSI2J971 = /hosts/sonya/d/tonyd/tssi_slow/tssi2j971
LVM_COMPRESS = /hosts/sonya/d/tonyd/tssi_slow/lvm_compress
COMPACT = $(TSSI2J971) $(@:.Z=); \
compress -f $(@:.Z=); \
$(LVM_COMPRESS) $(@:.slf.Z=.lvmadr); \
rm $(@:.slf.Z=.lvmadr); \
compress -f $(@:.slf.Z=C.lvmadr)
TESTDPDS = $(BINDIR)/reality_rsp_regression $(TESTDIR)/rsp_tests.list
SLOWEXECS = - cd $(TESTDIR); \
$(REGRESSION) -nocompile \
+rcp_test_tssi \
+tssi_name=$(@:.Z=) \
`echo LIST | sed -e 's/+/ +/g'`; \
sleep 200; \
mv $(TESTDIR)/,out $(@:.slf.Z=).out; \
mv $(TESTDIR)/regression.log $(@:.slf.Z=).log; \
$(COMPACT)
HPEXECS = - cd $(TESTDIR); \
$(REGRESSION) -nocompile \
+rcp_hp330_tssi \
+tssi_name=$(@:.Z=) \
`echo LIST | sed -e 's/+/ +/g'`; \
sleep 200; \
mv $(TESTDIR)/,out $(@:.slf.Z=).out; \
mv $(TESTDIR)/regression.log $(@:.slf.Z=).log; \
compress -f $(@:.Z=);
NHPEXECS = - cd $(TESTDIR); \
$(REGRESSION) -nocompile \
+rcp_hp330_tssi \
+tssi_name=$(@:.Z=) \
`cat LIST | sed -e 's/+/ +/g'`; \
sleep 200; \
mv $(TESTDIR)/,out $(@:.slf.Z=).out; \
mv $(TESTDIR)/regression.log $(@:.slf.Z=).log; \
compress -f $(@:.Z=);
DHPEXECS = - cd $(TESTDIR); \
$(REGRESSION) -nocompile \
+dumpvars \
+rcp_hp330_tssi \
+tssi_name=$(@:.Z=) \
`cat LIST | sed -e 's/+/ +/g'`; \
sleep 200; \
mv $(TESTDIR)/,out $(@:.slf.Z=).out; \
mv $(TESTDIR)/regression.log $(@:.slf.Z=).log; \
compress -f $(@:.Z=);
$(TESTDIR)/rsp_tests.list: $(_FORCE)
- cd $(TESTDIR); $(BINDIR)/reality_rsp_regression -norun