-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
92 lines (73 loc) · 2.25 KB
/
Makefile
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
prj_name = rendering
# prj_name = bnn
# prj_name = dg_reg
# prj_name = optical_flow
# prj_name = face_detection
# prj_name = spam_filter
# prj_name = data_shift
.PHONY: quick_overlay
quick_overlay:
python2 ./pr_flow.py rendering -g
cp common/overlay/floorplan_static.dcp workspace/F001_static_32_leaves
cp common/overlay/big_static_routed_32.dcp workspace/F001_static_32_leaves
touch workspace/F001_static_32_leaves/big_static_routed_32.dcp
.PHONY: overlay
overlay:
# ./TimeStamp.sh
# python2 ./pr_flow.py ${prj_name} -g | write ylxiao pts/1
# python2 ./pr_flow.py ${prj_name} -g -q 1>>./out.txt 2>>./error.txt
# python2 ./pr_flow.py ${prj_name}
# write ylxiao pts/2 < ./out.txt
# write ylxiao pts/2 < ./error.txt
#./detect.sh
python2 ./pr_flow.py rendering -g
cd workspace/F001_static_32_leaves && ./main.sh
.PHONY: optical_flow
optical_flow:
python2 ./pr_flow.py optical_flow
cd workspace/F002_hls_$@ && ./main.sh
cd workspace/F003_syn_$@ && ./main.sh
cd workspace/F004_pr_$@ && ./main.sh
.PHONY: dg_reg
dg_reg:
python2 ./pr_flow.py dg_reg
cd workspace/F002_hls_$@ && ./main.sh
cd workspace/F003_syn_$@ && ./main.sh
cd workspace/F004_pr_$@ && ./main.sh
.PHONY: bnn
bnn:
python2 ./pr_flow.py bnn
cd workspace/F002_hls_$@ && ./main.sh
cd workspace/F003_syn_$@ && ./main.sh
cd workspace/F004_pr_$@ && ./main.sh
.PHONY: rendering
rendering:
python2 ./pr_flow.py rendering
cd workspace/F002_hls_$@ && ./main.sh
cd workspace/F003_syn_$@ && ./main.sh
cd workspace/F004_pr_$@ && ./main.sh
.PHONY: spam_filter
spam_filter:
python2 ./pr_flow.py spam_filter
cd workspace/F002_hls_$@ && ./main.sh
cd workspace/F003_syn_$@ && ./main.sh
cd workspace/F004_pr_$@ && ./main.sh
.PHONY: face_detection
face_detection:
python2 ./pr_flow.py face_detection
cd workspace/F002_hls_$@ && ./main.sh
cd workspace/F003_syn_$@ && ./main.sh
cd workspace/F004_pr_$@ && ./main.sh
.PHONY: partial
partial:
python2 ./pr_flow.py ${prj_name} -q
.PHONY: report
report:
python2 ./pr_flow/gen_report.py bnn
python2 ./pr_flow/gen_report.py dg_reg
python2 ./pr_flow/gen_report.py face_detection
python2 ./pr_flow/gen_report.py optical_flow
python2 ./pr_flow/gen_report.py rendering
python2 ./pr_flow/gen_report.py spam_filter
clean:
rm -rf ./workspace