-
Notifications
You must be signed in to change notification settings - Fork 6
/
makefile.syn
81 lines (58 loc) · 1.82 KB
/
makefile.syn
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
tb: prims
$(call bsim_compile, mkCoramSimTb, ./rtl/Microbench/CoramTb.bsv);
pwr:
$(call vsim_compile, top, ./rtl/PwrTest/Testbench.bsv)
peakpwr:
$(call vsim_compile, mkPeakPower, ./rtl/PeakPower/PeakPower.bsv)
peakpwr_tb:
$(call bsim_compile, mkPeakPower, ./rtl/PeakPower/PeakPower.bsv)
#$(call vcs_compile, top)
memtb: $(OBJS)
$(call bsim_compile, mkMemoryTb, ./rtl/Microbench/MemoryTb.bsv);
tort1: $(OBJS)
$(call bsim_compile, mkMemTort1, ./rtl/Microbench/MemTort1.bsv);
mm: $(OBJS)
$(call bsim_compile, mkMM, ./rtl/MM/MM.bsv);
gemmtop: copy_vlog
$(call vsim_compile, mkPeGroup, ./rtl/GEMM/GemmTop.bsv)
./fix_madds.sh
gemm: copy_vlog
$(call vsim_compile, mkGemmPE_dsp4, ./rtl/GEMM/GemmPE.bsv)
./fix_madds.sh
madd:
$(call vsim_compile, mkMadd, ./rtl/GEMM/Madd.bsv)
gemm_tb: copy_vlog
$(call vsim_compile, mkGemmTb, ./rtl/GEMM/GemmTb.bsv)
gemm_bsim: $(OBJS)
$(call bsim_compile, mkGemmTb, ./rtl/GEMM/GemmTb.bsv)
gemmpwr:
$(call vsim_compile, mkGemmPower, ./rtl/GEMM/GemmPower.bsv)
./fix_madds.sh
gemmpwr_vcs: $(OBJS) copy_vlog
$(call vsim_compile, mkGemmPower, ./rtl/GEMM/GemmPower.bsv)
./fix_madds.sh
$(call vcs_compile, mkGemmPower)
gemmpwr_bsim: $(OBJS)
$(call bsim_compile, mkGemmPower, ./rtl/GEMM/GemmPower.bsv)
fptb: copy_vlog
$(call vsim_compile, mkFpTb2, ./rtl/GEMM/Madd.bsv)
$(call vcs_compile, mkFpTb2)
spmv: $(OBJS)
$(call bsim_compile, mkSPMV, ./rtl/SpMV/SpMV.bsv);
dma: $(OBJS)
$(call bsim_compile, mkDmaTb, ./rtl/Microbench/DmaTb.bsv);
copy_prims:
cp ./rtl/Prims/*.v ./build
copy_vlog:
mkdir -p build
cp ./Prims/*.v ./build
#cp ./lib/*.v ./build
#cp *.data ./build
- cp ./*routing_*.hex ./build
- cp ./*.rom ./build
#cp ./net_configs/*.data ./build
copy_init_files:
cp *.data ./build
#rm -f ./build/main.v
#cp ./rtl/Prims/*.v ./build
#find ./rtl/Prims -name "*.v" -exec cp {} ./build \;