Tests: Use --binary with some --timing tests
This commit is contained in:
parent
a43fd06f85
commit
d595d4c7ac
|
|
@ -14,7 +14,7 @@ top_filename("t/t_altera_lpm.v");
|
||||||
(my $module = $Self->{name}) =~ s/.*t_altera_//;
|
(my $module = $Self->{name}) =~ s/.*t_altera_//;
|
||||||
|
|
||||||
compile(
|
compile(
|
||||||
verilator_flags2 => ["--top-module ${module}", "--no-timing"]
|
verilator_flags2 => ["--top-module ${module}", "--binary --no-timing"]
|
||||||
);
|
);
|
||||||
|
|
||||||
ok(1);
|
ok(1);
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ if (!$::Driver) { use FindBin; exec("$FindBin::Bin/bootstrap.pl", @ARGV, $0); di
|
||||||
scenarios(simulator => 1);
|
scenarios(simulator => 1);
|
||||||
|
|
||||||
compile(
|
compile(
|
||||||
verilator_flags2 => ['-Wno-STMTDLY -Wno-ASSIGNDLY --no-timing'],
|
verilator_flags2 => ['--binary --no-timing -Wno-STMTDLY -Wno-ASSIGNDLY'],
|
||||||
);
|
);
|
||||||
|
|
||||||
execute(
|
execute(
|
||||||
|
|
|
||||||
|
|
@ -16,7 +16,7 @@ top_filename("t/t_delay_incr.v");
|
||||||
|
|
||||||
compile(
|
compile(
|
||||||
timing_loop => 1,
|
timing_loop => 1,
|
||||||
verilator_flags2 => ['--timing -Wno-ZERODLY'],
|
verilator_flags2 => ['--binary --timing -Wno-ZERODLY'],
|
||||||
);
|
);
|
||||||
|
|
||||||
execute(
|
execute(
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ if (!$::Driver) { use FindBin; exec("$FindBin::Bin/bootstrap.pl", @ARGV, $0); di
|
||||||
scenarios(simulator => 1);
|
scenarios(simulator => 1);
|
||||||
|
|
||||||
compile(
|
compile(
|
||||||
verilator_flags2 => ["--timing"],
|
verilator_flags2 => ["--binary --timing"],
|
||||||
);
|
);
|
||||||
|
|
||||||
execute(
|
execute(
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ if (!$::Driver) { use FindBin; exec("$FindBin::Bin/bootstrap.pl", @ARGV, $0); di
|
||||||
scenarios(simulator => 1);
|
scenarios(simulator => 1);
|
||||||
|
|
||||||
compile(
|
compile(
|
||||||
verilator_flags2 => ['--no-timing'],
|
verilator_flags2 => ['--binary --no-timing'],
|
||||||
);
|
);
|
||||||
|
|
||||||
execute();
|
execute();
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@ scenarios(vlt => 1);
|
||||||
top_filename("t/t_fork.v");
|
top_filename("t/t_fork.v");
|
||||||
|
|
||||||
compile(
|
compile(
|
||||||
verilator_flags2 => ["--timing"],
|
verilator_flags2 => ["--binary --timing"],
|
||||||
);
|
);
|
||||||
|
|
||||||
execute(
|
execute(
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@ scenarios(vlt => 1); # UNOPTTHREADS in vltmt
|
||||||
top_filename("t/t_func_lib_sub.v");
|
top_filename("t/t_func_lib_sub.v");
|
||||||
|
|
||||||
compile(
|
compile(
|
||||||
verilator_flags2 => ["--timing"],
|
verilator_flags2 => ["--binary --timing"],
|
||||||
);
|
);
|
||||||
|
|
||||||
# No execute
|
# No execute
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ if (!$::Driver) { use FindBin; exec("$FindBin::Bin/bootstrap.pl", @ARGV, $0); di
|
||||||
scenarios(simulator => 1);
|
scenarios(simulator => 1);
|
||||||
|
|
||||||
compile(
|
compile(
|
||||||
verilator_flags2 => ["--timing"],
|
verilator_flags2 => ["--binary --timing"],
|
||||||
fails => $Self->{vlt_all},
|
fails => $Self->{vlt_all},
|
||||||
expect_filename => $Self->{golden_filename},
|
expect_filename => $Self->{golden_filename},
|
||||||
);
|
);
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ if (!$::Driver) { use FindBin; exec("$FindBin::Bin/bootstrap.pl", @ARGV, $0); di
|
||||||
scenarios(simulator => 1);
|
scenarios(simulator => 1);
|
||||||
|
|
||||||
compile(
|
compile(
|
||||||
verilator_flags2 => ["--timing"],
|
verilator_flags2 => ["--binary --timing"],
|
||||||
);
|
);
|
||||||
|
|
||||||
ok(1);
|
ok(1);
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ if (!$::Driver) { use FindBin; exec("$FindBin::Bin/bootstrap.pl", @ARGV, $0); di
|
||||||
scenarios(simulator => 1);
|
scenarios(simulator => 1);
|
||||||
|
|
||||||
compile(
|
compile(
|
||||||
verilator_flags2 => ['--no-timing'],
|
verilator_flags2 => ['--binary --no-timing'],
|
||||||
);
|
);
|
||||||
|
|
||||||
execute(
|
execute(
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@ scenarios(simulator => 1);
|
||||||
top_filename("t/t_math_signed5.v");
|
top_filename("t/t_math_signed5.v");
|
||||||
|
|
||||||
compile(
|
compile(
|
||||||
verilator_flags2 => ['--timing'],
|
verilator_flags2 => ['--binary --timing'],
|
||||||
timing_loop => 1,
|
timing_loop => 1,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ if (!$::Driver) { use FindBin; exec("$FindBin::Bin/bootstrap.pl", @ARGV, $0); di
|
||||||
scenarios(simulator => 1);
|
scenarios(simulator => 1);
|
||||||
|
|
||||||
compile(
|
compile(
|
||||||
verilator_flags2 => ['--no-timing'],
|
verilator_flags2 => ['--binary --no-timing'],
|
||||||
);
|
);
|
||||||
|
|
||||||
execute(
|
execute(
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@ scenarios(simulator => 1);
|
||||||
top_filename("t/t_package_ddecl.v");
|
top_filename("t/t_package_ddecl.v");
|
||||||
|
|
||||||
compile(
|
compile(
|
||||||
verilator_flags2 => ['--timing'],
|
verilator_flags2 => ['--binary --timing'],
|
||||||
timing_loop => 1,
|
timing_loop => 1,
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ if (!$::Driver) { use FindBin; exec("$FindBin::Bin/bootstrap.pl", @ARGV, $0); di
|
||||||
scenarios(simulator => 1);
|
scenarios(simulator => 1);
|
||||||
|
|
||||||
compile(
|
compile(
|
||||||
verilator_flags2 => ['--no-timing'],
|
verilator_flags2 => ['--binary --no-timing'],
|
||||||
);
|
);
|
||||||
|
|
||||||
ok(1);
|
ok(1);
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@ scenarios(simulator => 1);
|
||||||
top_filename("t/t_parse_delay.v");
|
top_filename("t/t_parse_delay.v");
|
||||||
|
|
||||||
compile(
|
compile(
|
||||||
verilator_flags2 => ['--timing'],
|
verilator_flags2 => ['--binary --timing'],
|
||||||
);
|
);
|
||||||
|
|
||||||
ok(1);
|
ok(1);
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ if (!$::Driver) { use FindBin; exec("$FindBin::Bin/bootstrap.pl", @ARGV, $0); di
|
||||||
scenarios(simulator => 1);
|
scenarios(simulator => 1);
|
||||||
|
|
||||||
compile(
|
compile(
|
||||||
v_flags2 => ["--timing"],
|
v_flags2 => ["--binary --timing"],
|
||||||
);
|
);
|
||||||
|
|
||||||
execute(
|
execute(
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ if (!$::Driver) { use FindBin; exec("$FindBin::Bin/bootstrap.pl", @ARGV, $0); di
|
||||||
scenarios(simulator => 1);
|
scenarios(simulator => 1);
|
||||||
|
|
||||||
compile(
|
compile(
|
||||||
verilator_flags2 => ["--timing"],
|
verilator_flags2 => ["--binary --timing"],
|
||||||
);
|
);
|
||||||
|
|
||||||
execute(
|
execute(
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ if (!$::Driver) { use FindBin; exec("$FindBin::Bin/bootstrap.pl", @ARGV, $0); di
|
||||||
scenarios(simulator => 1);
|
scenarios(simulator => 1);
|
||||||
|
|
||||||
compile(
|
compile(
|
||||||
v_flags2 => ["--timing"],
|
v_flags2 => ["--binary --timing"],
|
||||||
);
|
);
|
||||||
|
|
||||||
execute(
|
execute(
|
||||||
|
|
|
||||||
|
|
@ -13,7 +13,7 @@ scenarios(simulator => 1);
|
||||||
top_filename("t/t_process.v");
|
top_filename("t/t_process.v");
|
||||||
|
|
||||||
compile(
|
compile(
|
||||||
v_flags2 => ["+define+T_PROCESS+std::process", "--timing"],
|
v_flags2 => ["--binary --timing", "+define+T_PROCESS+std::process"],
|
||||||
);
|
);
|
||||||
|
|
||||||
execute(
|
execute(
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@ if (!$Self->have_coroutines) {
|
||||||
else {
|
else {
|
||||||
compile(
|
compile(
|
||||||
timing_loop => 1,
|
timing_loop => 1,
|
||||||
verilator_flags2 => ["--timing"],
|
verilator_flags2 => ["--binary --timing"],
|
||||||
fails => 1, # bug3385 need to fix "ref"
|
fails => 1, # bug3385 need to fix "ref"
|
||||||
expect_filename => $Self->{golden_filename},
|
expect_filename => $Self->{golden_filename},
|
||||||
);
|
);
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,7 @@ if (!$Self->have_coroutines) {
|
||||||
else {
|
else {
|
||||||
compile(
|
compile(
|
||||||
timing_loop => 1,
|
timing_loop => 1,
|
||||||
verilator_flags2 => ["--timing --fno-inline +define+TEST_NOINLINE"],
|
verilator_flags2 => ["--binary --timing --fno-inline +define+TEST_NOINLINE"],
|
||||||
);
|
);
|
||||||
|
|
||||||
execute(
|
execute(
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ if (!$::Driver) { use FindBin; exec("$FindBin::Bin/bootstrap.pl", @ARGV, $0); di
|
||||||
scenarios(simulator => 1);
|
scenarios(simulator => 1);
|
||||||
|
|
||||||
compile(
|
compile(
|
||||||
verilator_flags2 => ["--timing"],
|
verilator_flags2 => ["--binary --timing"],
|
||||||
);
|
);
|
||||||
|
|
||||||
execute(
|
execute(
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ if (!$::Driver) { use FindBin; exec("$FindBin::Bin/bootstrap.pl", @ARGV, $0); di
|
||||||
scenarios(simulator => 1);
|
scenarios(simulator => 1);
|
||||||
|
|
||||||
compile(
|
compile(
|
||||||
verilator_flags2 => ["--timing"],
|
verilator_flags2 => ["--binary --timing"],
|
||||||
);
|
);
|
||||||
|
|
||||||
ok(1);
|
ok(1);
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ if (!$::Driver) { use FindBin; exec("$FindBin::Bin/bootstrap.pl", @ARGV, $0); di
|
||||||
scenarios(vlt => 1);
|
scenarios(vlt => 1);
|
||||||
|
|
||||||
compile(
|
compile(
|
||||||
verilator_flags2 => ["--timing"],
|
verilator_flags2 => ["--binary --timing"],
|
||||||
);
|
);
|
||||||
|
|
||||||
ok(1);
|
ok(1);
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ if (!$::Driver) { use FindBin; exec("$FindBin::Bin/bootstrap.pl", @ARGV, $0); di
|
||||||
scenarios(vlt => 1);
|
scenarios(vlt => 1);
|
||||||
|
|
||||||
compile(
|
compile(
|
||||||
v_flags2 => ["--timing",
|
v_flags2 => ["--binary --timing",
|
||||||
"-Wno-PKGNODECL -Wno-IMPLICITSTATIC -Wno-CONSTRAINTIGN -Wno-MISINDENT",
|
"-Wno-PKGNODECL -Wno-IMPLICITSTATIC -Wno-CONSTRAINTIGN -Wno-MISINDENT",
|
||||||
"-Wno-WIDTHEXPAND -Wno-WIDTHTRUNC -Wno-CASTCONST -Wno-REALCVT",
|
"-Wno-WIDTHEXPAND -Wno-WIDTHTRUNC -Wno-CASTCONST -Wno-REALCVT",
|
||||||
"--error-limit 200 --debug-exit-uvm"],
|
"--error-limit 200 --debug-exit-uvm"],
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ if (!$::Driver) { use FindBin; exec("$FindBin::Bin/bootstrap.pl", @ARGV, $0); di
|
||||||
scenarios(simulator => 1);
|
scenarios(simulator => 1);
|
||||||
|
|
||||||
compile(
|
compile(
|
||||||
verilator_flags2 => ["--timing"],
|
verilator_flags2 => ["--binary --timing"],
|
||||||
);
|
);
|
||||||
|
|
||||||
execute(
|
execute(
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ scenarios(simulator => 1);
|
||||||
|
|
||||||
compile(
|
compile(
|
||||||
expect_filename => $Self->{golden_filename},
|
expect_filename => $Self->{golden_filename},
|
||||||
verilator_flags2 => ['--timing'],
|
verilator_flags2 => ['--binary --timing'],
|
||||||
fails => $Self->{vlt_all},
|
fails => $Self->{vlt_all},
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@ top_filename("t/t_wait.v");
|
||||||
|
|
||||||
compile(
|
compile(
|
||||||
timing_loop => 1,
|
timing_loop => 1,
|
||||||
verilator_flags2 => ["--timing -Wno-WAITCONST"],
|
verilator_flags2 => ["--binary --timing -Wno-WAITCONST"],
|
||||||
);
|
);
|
||||||
|
|
||||||
execute(
|
execute(
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@ $Self->{main_time_multiplier} = 10e-7 / 10e-9;
|
||||||
|
|
||||||
compile(
|
compile(
|
||||||
timing_loop => 1,
|
timing_loop => 1,
|
||||||
verilator_flags2 => ['--timing -Wno-ZERODLY'],
|
verilator_flags2 => ['--binary --timing -Wno-ZERODLY'],
|
||||||
);
|
);
|
||||||
|
|
||||||
execute(
|
execute(
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue