From 0a0e4dce09ba28dcf65c0b881b1ee195f54aabe7 Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Tue, 8 Dec 2020 07:12:57 -0500 Subject: [PATCH] Internal coverage: default VERILATOR_ROOT setting. --- nodist/code_coverage | 2 ++ 1 file changed, 2 insertions(+) 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