Skip to content

Commit 636ffca

Browse files
committed
Added NoNullRangeWarning for analyze. Currently only implemented for Aldec RivieraPRO
1 parent 6aada08 commit 636ffca

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

OsvvmScriptsCore.tcl

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1049,6 +1049,13 @@ proc LocalAnalyze {FileName args} {
10491049
}
10501050
}
10511051

1052+
# -------------------------------------------------
1053+
proc NoNullRangeWarning {} {
1054+
return ""
1055+
-- -nowarn COMP96_0119
1056+
}
1057+
1058+
10521059
# -------------------------------------------------
10531060
# Simulate
10541061
#
@@ -1365,7 +1372,7 @@ proc TestName {Name} {
13651372
variable TestSuiteName
13661373

13671374
if {![info exists TestSuiteName]} {
1368-
if {[info exists VhdlWorkingLibrary]} {
1375+
if {[info exists ::osvvm::VhdlWorkingLibrary]} {
13691376
TestSuite $::osvvm::VhdlWorkingLibrary
13701377
} else {
13711378
TestSuite $::osvvm::DefaultLibraryName
@@ -2136,7 +2143,7 @@ proc GetTimeString {} {
21362143
# map
21372144

21382145
namespace export analyze simulate build include library RunTest SkipTest TestSuite TestName TestCase
2139-
namespace export generic DoWaves
2146+
namespace export generic DoWaves NoNullRangeWarning
21402147
namespace export IterateFile StartTranscript StopTranscript
21412148
namespace export RemoveLibrary RemoveLibraryDirectory RemoveAllLibraries RemoveLocalLibraries
21422149
namespace export CreateDirectory

VendorScripts_RivieraPro.tcl

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,13 @@ proc vendor_analyze_verilog {LibraryName FileName args} {
186186
vlog {*}$AnalyzeOptions
187187
}
188188

189+
# -------------------------------------------------
190+
proc NoNullRangeWarning {} {
191+
return "-nowarn COMP96_0119"
192+
}
193+
194+
195+
189196
# -------------------------------------------------
190197
# End Previous Simulation
191198
#

0 commit comments

Comments
 (0)