-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathMakefile
45 lines (31 loc) · 1.04 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
default: map route
route: route-clean route-gen
map: map-clean map-result
map-result:
@echo "Generating mapping results as text files"
cd qap; python qap_script.py; cd ..;
map-clean:
@echo "Cleaning mapping result and data files"
cd qap; rm -rf data/; rm -rf result/; mkdir result; mkdir data/; cd ..;
route-gen:
@echo "Generating blusespec files post routing in /bsv"
gurobi.sh mcflow.py -> console_dump
@echo "Route done, bluespec files stored in /bsv"
route-clean:
@echo "Clean routing generated bluespec files from /bsv"
rm -f bsv/Lookup*
help:
@echo " default"
@echo " map route"
@echo " route"
@echo " route-clean route-gen"
@echo " map"
@echo " map-clean map-result"
@echo " map-result"
@echo " Generate mapping results as text files"
@echo " map-clean"
@echo " Clean mapping result and data files"
@echo " route-gen"
@echo " Generate blusespec files post routing in /bsv"
@echo " route-clean"
@echo " Clean routing generated bluespec files from /bsv"