diff --git a/nodist/code_coverage b/nodist/code_coverage index f3f69ef08..c7bd6d11b 100755 --- a/nodist/code_coverage +++ b/nodist/code_coverage @@ -30,6 +30,8 @@ $Fork->max_proc(Unix::Processors->new->max_online * 1.5); $SIG{CHLD} = sub { Parallel::Forker::sig_child($Fork); }; $SIG{TERM} = sub { $Fork->kill_tree_all('TERM') if $Fork && $Fork->in_parent; die "Quitting...\n"; }; +$ENV{VERILATOR_ROOT} ||= Cwd::getcwd(); + #====================================================================== # main