Commit 96c6960 pascalgouedo
authored
File tree 2 files changed +18
-4
lines changed
2 files changed +18
-4
lines changed Original file line number Diff line number Diff line change @@ -48,8 +48,15 @@ UVM_PLUSARGS ?=
48
48
CV_SIMULATOR ?= unsim
49
49
SIMULATOR ?= $(CV_SIMULATOR )
50
50
51
- # Optionally exclude the OVPsim (not recommended)
52
- USE_ISS ?= YES
51
+ # If USE_ISS is not specified, it will decide by default to enable the ISS if imperas_home is defined
52
+ ifndef USE_ISS
53
+ ifneq ($(IMPERAS_HOME ) ,)
54
+ USE_ISS = YES
55
+ else
56
+ USE_ISS = NO
57
+ endif
58
+ $(info Info : USE_ISS is not specified when invoking make command, defaulting USE_ISS to $(USE_ISS ) (check for IMPERAS_HOME in your environment))
59
+ endif
53
60
54
61
# Common configuration variables
55
62
CFG ?= default
Original file line number Diff line number Diff line change @@ -70,8 +70,15 @@ UVM_PLUSARGS ?=
70
70
CV_SIMULATOR ?= unsim
71
71
SIMULATOR ?= $(CV_SIMULATOR )
72
72
73
- # Optionally exclude the OVPsim (not recommended)
74
- USE_ISS ?= YES
73
+ # If USE_ISS is not specified, it will decide by default to enable the ISS if imperas_home is defined
74
+ ifndef USE_ISS
75
+ ifneq ($(IMPERAS_HOME ) ,)
76
+ USE_ISS = YES
77
+ else
78
+ USE_ISS = NO
79
+ endif
80
+ $(info Info : USE_ISS is not specified when invoking make command, defaulting USE_ISS to $(USE_ISS ) (check for IMPERAS_HOME in your environment))
81
+ endif
75
82
76
83
# Common configuration variables
77
84
CFG ?= default
You can’t perform that action at this time.
0 commit comments