Tests: Rename

This commit is contained in:
Wilson Snyder 2021-02-25 20:05:54 -05:00
parent 57d1404f40
commit 0b501df959
4 changed files with 4 additions and 4 deletions

View File

@ -34,10 +34,10 @@ bool got_error = false;
vluint64_t main_time = 0;
#ifdef T_VERILATED_LEGACY_TIME64
#ifdef T_WRAPPER_LEGACY_TIME64
vluint64_t vl_time_stamp64() { return main_time; }
#endif
#ifdef T_VERILATED_LEGACY
#ifdef T_WRAPPER_LEGACY
double sc_time_stamp() { return main_time; }
#endif

View File

@ -10,12 +10,12 @@ if (!$::Driver) { use FindBin; exec("$FindBin::Bin/bootstrap.pl", @ARGV, $0); di
scenarios(vlt_all => 1);
top_filename("t/t_verilated_legacy.v");
top_filename("t/t_wrapper_legacy.v");
compile(
make_top_shell => 0,
make_main => 0,
verilator_flags2 => ["--exe $Self->{t_dir}/t_verilated_legacy.cpp"],
verilator_flags2 => ["--exe $Self->{t_dir}/t_wrapper_legacy.cpp"],
make_flags => 'CPPFLAGS_ADD=-DVL_TIME_STAMP64',
);