Tests: Use --binary with some --timing tests

This commit is contained in:
Wilson Snyder 2024-01-20 10:57:00 -05:00
parent a43fd06f85
commit d595d4c7ac
29 changed files with 29 additions and 29 deletions

View File

@ -14,7 +14,7 @@ top_filename("t/t_altera_lpm.v");
(my $module = $Self->{name}) =~ s/.*t_altera_//;
compile(
verilator_flags2 => ["--top-module ${module}", "--no-timing"]
verilator_flags2 => ["--top-module ${module}", "--binary --no-timing"]
);
ok(1);

View File

@ -11,7 +11,7 @@ if (!$::Driver) { use FindBin; exec("$FindBin::Bin/bootstrap.pl", @ARGV, $0); di
scenarios(simulator => 1);
compile(
verilator_flags2 => ['-Wno-STMTDLY -Wno-ASSIGNDLY --no-timing'],
verilator_flags2 => ['--binary --no-timing -Wno-STMTDLY -Wno-ASSIGNDLY'],
);
execute(

View File

@ -16,7 +16,7 @@ top_filename("t/t_delay_incr.v");
compile(
timing_loop => 1,
verilator_flags2 => ['--timing -Wno-ZERODLY'],
verilator_flags2 => ['--binary --timing -Wno-ZERODLY'],
);
execute(

View File

@ -11,7 +11,7 @@ if (!$::Driver) { use FindBin; exec("$FindBin::Bin/bootstrap.pl", @ARGV, $0); di
scenarios(simulator => 1);
compile(
verilator_flags2 => ["--timing"],
verilator_flags2 => ["--binary --timing"],
);
execute(

View File

@ -11,7 +11,7 @@ if (!$::Driver) { use FindBin; exec("$FindBin::Bin/bootstrap.pl", @ARGV, $0); di
scenarios(simulator => 1);
compile(
verilator_flags2 => ['--no-timing'],
verilator_flags2 => ['--binary --no-timing'],
);
execute();

View File

@ -13,7 +13,7 @@ scenarios(vlt => 1);
top_filename("t/t_fork.v");
compile(
verilator_flags2 => ["--timing"],
verilator_flags2 => ["--binary --timing"],
);
execute(

View File

@ -13,7 +13,7 @@ scenarios(vlt => 1); # UNOPTTHREADS in vltmt
top_filename("t/t_func_lib_sub.v");
compile(
verilator_flags2 => ["--timing"],
verilator_flags2 => ["--binary --timing"],
);
# No execute

View File

@ -11,7 +11,7 @@ if (!$::Driver) { use FindBin; exec("$FindBin::Bin/bootstrap.pl", @ARGV, $0); di
scenarios(simulator => 1);
compile(
verilator_flags2 => ["--timing"],
verilator_flags2 => ["--binary --timing"],
fails => $Self->{vlt_all},
expect_filename => $Self->{golden_filename},
);

View File

@ -11,7 +11,7 @@ if (!$::Driver) { use FindBin; exec("$FindBin::Bin/bootstrap.pl", @ARGV, $0); di
scenarios(simulator => 1);
compile(
verilator_flags2 => ["--timing"],
verilator_flags2 => ["--binary --timing"],
);
ok(1);

View File

@ -11,7 +11,7 @@ if (!$::Driver) { use FindBin; exec("$FindBin::Bin/bootstrap.pl", @ARGV, $0); di
scenarios(simulator => 1);
compile(
verilator_flags2 => ['--no-timing'],
verilator_flags2 => ['--binary --no-timing'],
);
execute(

View File

@ -13,7 +13,7 @@ scenarios(simulator => 1);
top_filename("t/t_math_signed5.v");
compile(
verilator_flags2 => ['--timing'],
verilator_flags2 => ['--binary --timing'],
timing_loop => 1,
);

View File

@ -11,7 +11,7 @@ if (!$::Driver) { use FindBin; exec("$FindBin::Bin/bootstrap.pl", @ARGV, $0); di
scenarios(simulator => 1);
compile(
verilator_flags2 => ['--no-timing'],
verilator_flags2 => ['--binary --no-timing'],
);
execute(

View File

@ -13,7 +13,7 @@ scenarios(simulator => 1);
top_filename("t/t_package_ddecl.v");
compile(
verilator_flags2 => ['--timing'],
verilator_flags2 => ['--binary --timing'],
timing_loop => 1,
);

View File

@ -11,7 +11,7 @@ if (!$::Driver) { use FindBin; exec("$FindBin::Bin/bootstrap.pl", @ARGV, $0); di
scenarios(simulator => 1);
compile(
verilator_flags2 => ['--no-timing'],
verilator_flags2 => ['--binary --no-timing'],
);
ok(1);

View File

@ -13,7 +13,7 @@ scenarios(simulator => 1);
top_filename("t/t_parse_delay.v");
compile(
verilator_flags2 => ['--timing'],
verilator_flags2 => ['--binary --timing'],
);
ok(1);

View File

@ -11,7 +11,7 @@ if (!$::Driver) { use FindBin; exec("$FindBin::Bin/bootstrap.pl", @ARGV, $0); di
scenarios(simulator => 1);
compile(
v_flags2 => ["--timing"],
v_flags2 => ["--binary --timing"],
);
execute(

View File

@ -11,7 +11,7 @@ if (!$::Driver) { use FindBin; exec("$FindBin::Bin/bootstrap.pl", @ARGV, $0); di
scenarios(simulator => 1);
compile(
verilator_flags2 => ["--timing"],
verilator_flags2 => ["--binary --timing"],
);
execute(

View File

@ -11,7 +11,7 @@ if (!$::Driver) { use FindBin; exec("$FindBin::Bin/bootstrap.pl", @ARGV, $0); di
scenarios(simulator => 1);
compile(
v_flags2 => ["--timing"],
v_flags2 => ["--binary --timing"],
);
execute(

View File

@ -13,7 +13,7 @@ scenarios(simulator => 1);
top_filename("t/t_process.v");
compile(
v_flags2 => ["+define+T_PROCESS+std::process", "--timing"],
v_flags2 => ["--binary --timing", "+define+T_PROCESS+std::process"],
);
execute(

View File

@ -18,7 +18,7 @@ if (!$Self->have_coroutines) {
else {
compile(
timing_loop => 1,
verilator_flags2 => ["--timing"],
verilator_flags2 => ["--binary --timing"],
fails => 1, # bug3385 need to fix "ref"
expect_filename => $Self->{golden_filename},
);

View File

@ -18,7 +18,7 @@ if (!$Self->have_coroutines) {
else {
compile(
timing_loop => 1,
verilator_flags2 => ["--timing --fno-inline +define+TEST_NOINLINE"],
verilator_flags2 => ["--binary --timing --fno-inline +define+TEST_NOINLINE"],
);
execute(

View File

@ -11,7 +11,7 @@ if (!$::Driver) { use FindBin; exec("$FindBin::Bin/bootstrap.pl", @ARGV, $0); di
scenarios(simulator => 1);
compile(
verilator_flags2 => ["--timing"],
verilator_flags2 => ["--binary --timing"],
);
execute(

View File

@ -11,7 +11,7 @@ if (!$::Driver) { use FindBin; exec("$FindBin::Bin/bootstrap.pl", @ARGV, $0); di
scenarios(simulator => 1);
compile(
verilator_flags2 => ["--timing"],
verilator_flags2 => ["--binary --timing"],
);
ok(1);

View File

@ -11,7 +11,7 @@ if (!$::Driver) { use FindBin; exec("$FindBin::Bin/bootstrap.pl", @ARGV, $0); di
scenarios(vlt => 1);
compile(
verilator_flags2 => ["--timing"],
verilator_flags2 => ["--binary --timing"],
);
ok(1);

View File

@ -11,7 +11,7 @@ if (!$::Driver) { use FindBin; exec("$FindBin::Bin/bootstrap.pl", @ARGV, $0); di
scenarios(vlt => 1);
compile(
v_flags2 => ["--timing",
v_flags2 => ["--binary --timing",
"-Wno-PKGNODECL -Wno-IMPLICITSTATIC -Wno-CONSTRAINTIGN -Wno-MISINDENT",
"-Wno-WIDTHEXPAND -Wno-WIDTHTRUNC -Wno-CASTCONST -Wno-REALCVT",
"--error-limit 200 --debug-exit-uvm"],

View File

@ -11,7 +11,7 @@ if (!$::Driver) { use FindBin; exec("$FindBin::Bin/bootstrap.pl", @ARGV, $0); di
scenarios(simulator => 1);
compile(
verilator_flags2 => ["--timing"],
verilator_flags2 => ["--binary --timing"],
);
execute(

View File

@ -12,7 +12,7 @@ scenarios(simulator => 1);
compile(
expect_filename => $Self->{golden_filename},
verilator_flags2 => ['--timing'],
verilator_flags2 => ['--binary --timing'],
fails => $Self->{vlt_all},
);

View File

@ -14,7 +14,7 @@ top_filename("t/t_wait.v");
compile(
timing_loop => 1,
verilator_flags2 => ["--timing -Wno-WAITCONST"],
verilator_flags2 => ["--binary --timing -Wno-WAITCONST"],
);
execute(

View File

@ -14,7 +14,7 @@ $Self->{main_time_multiplier} = 10e-7 / 10e-9;
compile(
timing_loop => 1,
verilator_flags2 => ['--timing -Wno-ZERODLY'],
verilator_flags2 => ['--binary --timing -Wno-ZERODLY'],
);
execute(