-
Notifications
You must be signed in to change notification settings - Fork 9
/
Makefile
53 lines (43 loc) · 776 Bytes
/
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
# UVM_VERSION = 1p1d
UVM_VERSION = 1p2
ifeq ($(UVM_VERSION),1p2)
UVM_HOME = ../../..
else
UVM_HOME = ../../../../uvm-1.1d
endif
include Makefile.master.vcs
include Makefile.master.nc
include Makefile.master.questa
UVM_VERBOSITY = UVM_HIGH
EXTRA_COMP_ARGS =
EXTRA_RUN_ARGS =
EXTRA_ARGS ?=
all: ncall
ncall: nccomp ncrun
vcsall: comp run
mgall: mgcomp mgrun
comp:
$(VCS) +incdir+. \
+define+UVM_NO_DEPRECATED \
+define+UVM_$(UVM_VERSION) \
$(EXTRA_COMP_ARGS) \
hello_world.sv
run:
$(SIMV)
$(CHECK)
nccomp:
$(NC2) -c \
-ida -linedebug \
$(EXTRA_COMP_ARGS) \
hello_world.sv
ncrun:
$(NC2) \
-R \
-input ida_probe.tcl \
$(EXTRA_RUN_ARGS)
mgcomp:
$(VLOG) \
$(EXTRA_COMP_ARGS)
mgrun:
$(VSIM) \
$(EXTRA_RUN_ARGS)