Skip to content

Commit

Permalink
Merge pull request #2471 from XavierAubert/cv32e40p/fix_2123
Browse files Browse the repository at this point in the history
Added behavior discussed in Issue 2123 for USE_ISS
  • Loading branch information
pascalgouedo authored Jun 21, 2024
2 parents 41ccf8f + 93ab85f commit 96c6960
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 4 deletions.
11 changes: 9 additions & 2 deletions mk/core/core.mk
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,15 @@ UVM_PLUSARGS ?=
CV_SIMULATOR ?= unsim
SIMULATOR ?= $(CV_SIMULATOR)

# Optionally exclude the OVPsim (not recommended)
USE_ISS ?= YES
# If USE_ISS is not specified, it will decide by default to enable the ISS if imperas_home is defined
ifndef USE_ISS
ifneq ($(IMPERAS_HOME),)
USE_ISS = YES
else
USE_ISS = NO
endif
$(info Info: USE_ISS is not specified when invoking make command, defaulting USE_ISS to $(USE_ISS) (check for IMPERAS_HOME in your environment))
endif

# Common configuration variables
CFG ?= default
Expand Down
11 changes: 9 additions & 2 deletions mk/uvmt/uvmt.mk
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,15 @@ UVM_PLUSARGS ?=
CV_SIMULATOR ?= unsim
SIMULATOR ?= $(CV_SIMULATOR)

# Optionally exclude the OVPsim (not recommended)
USE_ISS ?= YES
# If USE_ISS is not specified, it will decide by default to enable the ISS if imperas_home is defined
ifndef USE_ISS
ifneq ($(IMPERAS_HOME),)
USE_ISS = YES
else
USE_ISS = NO
endif
$(info Info: USE_ISS is not specified when invoking make command, defaulting USE_ISS to $(USE_ISS) (check for IMPERAS_HOME in your environment))
endif

# Common configuration variables
CFG ?= default
Expand Down

0 comments on commit 96c6960

Please sign in to comment.