-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.mentor
51 lines (42 loc) · 1.27 KB
/
Makefile.mentor
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
all : rtl \
rtl1 \
rtl2 \
cell \
cell1 \
cell2 \
inst \
inst1 \
inst2
compile:
vlog -libmap libmap.sv -f source_code.f
compile_rtl:
vlog -libmap libmap_rtl.sv -f source_code.f
sim_rtl:
vsim -c rtl_config -do run_all.sim
sim_rtl1:
vsim -c rtl_config1 -do run_all.sim
sim_rtl2:
vsim -c rtl_config2 -do run_all.sim
sim_cell:
vsim -c cell_config -do run_all.sim
sim_cell1:
vsim -c cell_config1 -do run_all.sim
sim_cell2:
vsim -c cell_config2 -do run_all.sim
sim_inst:
vsim -c inst_config -do run_all.sim
sim_inst1:
vsim -c inst_config1 -do run_all.sim
sim_inst2:
vsim -c inst_config2 -do run_all.sim
rtl : clean compile sim_rtl
rtl1 : clean compile_rtl sim_rtl1
rtl2 : clean compile_rtl sim_rtl2
cell : clean compile_rtl sim_cell
cell1 : clean compile_rtl sim_cell1
cell2 : clean compile_rtl sim_cell2
inst : clean compile_rtl sim_inst
inst1 : clean compile_rtl sim_inst1
inst2 : clean compile_rtl sim_inst2
clean:
rm -rf work transcript *Lib *~ *log .done