Tests: Minor testbench fixes to prepare for CMake.

Signed-off-by: Wilson Snyder <wsnyder@wsnyder.org>
This commit is contained in:
Patrick Stewart 2019-10-10 19:44:39 -04:00 committed by Wilson Snyder
parent 6b8afe8137
commit 4361fb838f
8 changed files with 8 additions and 8 deletions

View File

@ -776,7 +776,7 @@ sub compile_vlt_flags {
unshift @verilator_flags, "--x-assign unique"; # More likely to be buggy
unshift @verilator_flags, "--trace" if $opt_trace;
my $threads = ::calc_threads($Vltmt_threads);
unshift @verilator_flags, "--threads $threads" if $param{vltmt};
unshift @verilator_flags, "--threads $threads" if $param{vltmt} && $checkflags !~ /-threads /;
unshift @verilator_flags, "--trace-fst-thread" if $param{vltmt} && $checkflags =~ /-trace-fst/;
unshift @verilator_flags, "--debug-partition" if $param{vltmt};
if (defined $opt_optimize) {

View File

@ -9,7 +9,7 @@ if (!$::Driver) { use FindBin; exec("$FindBin::Bin/bootstrap.pl", @ARGV, $0); di
scenarios(linter => 1);
top_filename("t_initial_dlyass.v");
top_filename("t/t_initial_dlyass.v");
lint(
fails => 1,

View File

@ -9,7 +9,7 @@ if (!$::Driver) { use FindBin; exec("$FindBin::Bin/bootstrap.pl", @ARGV, $0); di
scenarios(vlt_all => 1);
top_filename("t_trace_cat.v");
top_filename("t/t_trace_cat.v");
compile(
make_top_shell => 0,

View File

@ -9,7 +9,7 @@ if (!$::Driver) { use FindBin; exec("$FindBin::Bin/bootstrap.pl", @ARGV, $0); di
scenarios(vlt_all => 1);
top_filename("t_trace_cat.v");
top_filename("t/t_trace_cat.v");
compile(
make_top_shell => 0,

View File

@ -9,7 +9,7 @@ if (!$::Driver) { use FindBin; exec("$FindBin::Bin/bootstrap.pl", @ARGV, $0); di
scenarios(simulator => 1);
top_filename("t_trace_complex.v");
top_filename("t/t_trace_complex.v");
compile(
verilator_flags2 => ['--cc --trace --no-trace-structs --trace-params'],

View File

@ -9,7 +9,7 @@ if (!$::Driver) { use FindBin; exec("$FindBin::Bin/bootstrap.pl", @ARGV, $0); di
scenarios(simulator => 1);
top_filename("t_trace_complex.v");
top_filename("t/t_trace_complex.v");
compile(
verilator_flags2 => ['--cc --trace-fst --no-trace-structs --trace-params'],

View File

@ -9,7 +9,7 @@ if (!$::Driver) { use FindBin; exec("$FindBin::Bin/bootstrap.pl", @ARGV, $0); di
scenarios(simulator => 1);
top_filename("t_trace_complex.v");
top_filename("t/t_trace_complex.v");
compile(
verilator_flags2 => ['--cc --trace --trace-structs --no-trace-params'],

View File

@ -9,7 +9,7 @@ if (!$::Driver) { use FindBin; exec("$FindBin::Bin/bootstrap.pl", @ARGV, $0); di
scenarios(simulator => 1);
top_filename("t_trace_complex.v");
top_filename("t/t_trace_complex.v");
compile(
verilator_flags2 => ['--cc --trace-fst --trace-structs --no-trace-params'],