Skip to content

Commit 37e76f6

Browse files
committed
Added FunctionalCoverageIntegratedInSimulator to control whether simulator integrated functional coverage is used.
1 parent 71ae712 commit 37e76f6

File tree

5 files changed

+20
-1
lines changed

5 files changed

+20
-1
lines changed

OsvvmSettingsDefault.tcl

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,15 @@ namespace eval ::osvvm {
144144
variable ScriptDebug "false"
145145
variable OpenBuildHtmlFile "false"
146146

147+
#
148+
# Controls whether osvvm.pro allows functional coverage to be linked into simulator interface
149+
# Only has impact if set before "build $OsvvmLibraries"
150+
# Set to TRUE by simulators that support it in the VendorScripts_*.tcl
151+
#
152+
if {![info exists FunctionalCoverageIntegratedInSimulator]} {
153+
variable FunctionalCoverageIntegratedInSimulator "default"
154+
}
155+
147156
#
148157
# Extended Analyze and Simulate Options
149158
#

VendorScripts_ActiveHDL.tcl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,12 @@
6767
setlibrarymode -rw osvvm
6868
setlibrarymode -rw osvvm_common
6969

70-
7170
if {[expr [string compare $ToolVersion "12.0"] >= 0]} {
7271
SetVHDLVersion 2019
7372
}
7473

74+
variable FunctionalCoverageIntegratedInSimulator "Aldec"
75+
7576
if {[batch_mode]} {
7677
variable NoGui "true"
7778
} else {

VendorScripts_NVC.tcl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,11 @@
7373
if {[expr [string compare $ToolVersion "1.13.2"] >= 0]} {
7474
SetVHDLVersion 2019
7575
}
76+
77+
if {[expr [string compare $ToolVersion "1.15.2"] >= 0]} {
78+
variable FunctionalCoverageIntegratedInSimulator "NVC"
79+
}
80+
7681

7782

7883
# -------------------------------------------------

VendorScripts_RivieraPro.tcl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@
6969
SetVHDLVersion 2019
7070
}
7171

72+
variable FunctionalCoverageIntegratedInSimulator "Aldec"
73+
7274
if {[batch_mode]} {
7375
variable NoGui "true"
7476
} else {

VendorScripts_VSimSA.tcl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@
6666
SetVHDLVersion 2019
6767
}
6868

69+
variable FunctionalCoverageIntegratedInSimulator "Aldec"
70+
6971
if {[batch_mode]} {
7072
variable NoGui "true"
7173
} else {

0 commit comments

Comments
 (0)