Commit 40cc0b8b authored by Ille, Ondrej, Ing.'s avatar Ille, Ondrej, Ing.
Browse files

Added workaround for simulation warnings at 0 ns.

parent e3b9360d
......@@ -99,6 +99,7 @@ proc start_CAN_simulation {test_wrapper} {
proc run_simulation {} {
#Import global variables
global WAIT_ON_END
global NumericStdNoWarnings
# Set what happedns when simulation is interrupted
if {$WAIT_ON_END == true} {
......@@ -107,7 +108,12 @@ proc run_simulation {} {
} else {
onbreak { resume }
}
# Avoid warnings at time 0
set NumericStdNoWarnings 1
run 0 ns
set NumericStdNoWarnings 0
#Run the simulation
run -all
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment