@@ -242,33 +242,22 @@ proc vendor_simulate {LibraryName LibraryUnit args} {
242242 set GlobalOptions ${LocalGlobalOptions}
243243 set ElaborateOptions [concat {*}${LocalElaborateOptions} ${LibraryUnit} ]
244244 set RunOptions [concat {*}${LocalRunOptions} ${LibraryUnit} ]
245-
246- # Running NVC with separate elaborate and simulate - Nick recommended switching to doing this in one step
245+
247246 puts " nvc ${GlobalOptions} -e ${ElaborateOptions} "
248- if { [catch {exec $nvc {*}${GlobalOptions} -e {*}${ElaborateOptions} } ElaborateMessage]} {
247+ if { [catch {exec $nvc {*}${GlobalOptions} -e --jit {*}${ElaborateOptions} } ElaborateMessage]} {
249248 PrintWithPrefix " Elaborate Error:" $ElaborateMessage
250249 error " Failed: simulate $LibraryUnit "
251250 } else {
252251 puts $ElaborateMessage
253252 }
254253 puts " nvc ${GlobalOptions} -r ${RunOptions} "
255254 if { [catch {exec $nvc {*}${GlobalOptions} -r {*}${RunOptions} 2>@1} SimulateMessage]} {
256- # error "Failed: simulate $LibraryUnit"
257255 PrintWithPrefix " Error:" $SimulateMessage
258256 error " Failed: simulate $LibraryUnit "
259257 } else {
260258 puts $SimulateMessage
261259 }
262260
263- # # puts "nvc ${GlobalOptions} -e ${ElaborateOptions} --jit --no-save -r ${RunOptions}"
264- # ## if { [catch {exec $nvc {*}${GlobalOptions} -e {*}${ElaborateOptions} --jit --no-save -r {*}${RunOptions} >@ stdout 2>@ stdout} SimulateMessage] } { }
265- # # if { [catch {exec $nvc {*}${GlobalOptions} -e {*}${ElaborateOptions} --jit --no-save -r {*}${RunOptions} 2>@1} SimulateMessage] } {
266- # # PrintWithPrefix "Error:" $SimulateMessage
267- # # error "Failed: simulate $LibraryUnit"
268- # # } else {
269- # # puts $SimulateMessage
270- # # }
271-
272261 # Save Coverage Information
273262 if {$::osvvm::CoverageEnable && $::osvvm::CoverageSimulateEnable } {
274263# acdb save -o ${LibraryUnit}.acdb -testname ${LibraryUnit}
0 commit comments