dp_ew_116
1.14 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
#!/bin/sh
rm -rf OutData
uncompress -c ../../../../apps/rdpew_bb/InData/test116.16.rdram.Z > tmp.dp.rdram
cp tmp.dp.rdram hw.dp.rdram
#### get hw rgb image ####
rdramg hw.dp
rdram2image hw.dp
rm hw.dp.rdram
#### cov and z data are from rcp result ######
cp ../../../../rdpsim/test/rdp/OutData/test116_ew_rcp.z OutData/hw.dp_0.z
cp ../../../../rdpsim/test/rdp/OutData/test116_ew_rcp.cov OutData/hw.dp_0.cov
rdramgclr tmp.dp
../../iosim -f ../test/rdp2.tst
rdram2image tmp.dp
filter -c OutData/tmp.dp_0.cov -i OutData/tmp.dp_0.cvg -n OutData/tmp.dp_0.rgb -o tmp.dp_0.rgbf
idf OutData/tmp.dp_0.cov OutData/hw.dp_0.cov tmp.idf && {
echo "Succeed: cov image mactch"
} || {
echo "Failed: cov image mismactch"
mv OutData/tmp.dp_0.cov OutData/tmp.ew.$$.dp_0.cov
}
idf OutData/tmp.dp_0.rgb OutData/hw.dp_0.rgb tmp.idf && {
echo "Succeed: rgb image mactch"
} || {
echo "Failed: rgb image mismactch"
mv OutData/tmp.dp_0.rgb OutData/tmp.ew.$$.dp_0.rgb
}
idf OutData/tmp.dp_0.z OutData/hw.dp_0.z tmp.idf && {
echo "Succeed: z image mactch"
} || {
echo "Failed: z image mismactch"
mv OutData/tmp.dp_0.z OutData/tmp.ew.$$.dp_0.z
}
rm tmp.dp.* tmp.idf tmp.dp_0.rgbf