Tests: Remove some old makefile rules.
This commit is contained in:
parent
8c836e1222
commit
58a42834a6
|
|
@ -30,7 +30,6 @@ CFG_LDLIBS_THREADS = @CFG_LDLIBS_THREADS@
|
||||||
######################################################################
|
######################################################################
|
||||||
# Programs
|
# Programs
|
||||||
|
|
||||||
SP_INCLUDER = $(VERILATOR_INCLUDER)
|
|
||||||
VERILATOR_COVERAGE = $(PERL) $(VERILATOR_ROOT)/bin/verilator_coverage
|
VERILATOR_COVERAGE = $(PERL) $(VERILATOR_ROOT)/bin/verilator_coverage
|
||||||
VERILATOR_INCLUDER = $(PERL) $(VERILATOR_ROOT)/bin/verilator_includer
|
VERILATOR_INCLUDER = $(PERL) $(VERILATOR_ROOT)/bin/verilator_includer
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -21,6 +21,7 @@ endif
|
||||||
|
|
||||||
include $(VM_PREFIX).mk
|
include $(VM_PREFIX).mk
|
||||||
|
|
||||||
|
# So t/t_foobar.cpp is found (due to test_regress using -Mdir)
|
||||||
VPATH += ../../$(VM_USER_DIR)
|
VPATH += ../../$(VM_USER_DIR)
|
||||||
|
|
||||||
#######################################################################
|
#######################################################################
|
||||||
|
|
@ -58,10 +59,10 @@ endif
|
||||||
|
|
||||||
.SUFFIXES:
|
.SUFFIXES:
|
||||||
|
|
||||||
#Default compile, pick up OBJCACHE
|
#Default compile, using verilator.mk rules
|
||||||
%.o: %.cpp
|
#%.o: %.cpp
|
||||||
$(OBJCACHE) $(CXX) -c $(CPPFLAGS) $(CXXFLAGS) $<
|
# $(OBJCACHE) $(CXX) $(CXXFLAGS) $(CPPFLAGS) $(OPT_FAST) -c -o $@ $<
|
||||||
|
#
|
||||||
#Default link, using normal make rules
|
#Default link, using normal make rules
|
||||||
#$(VM_PREFIX): $(VK_GLOBAL_OBJS) $(VK_OBJS)
|
#$(VM_PREFIX): $(VK_GLOBAL_OBJS) $(VK_OBJS)
|
||||||
# $(LINK) $(LDFLAGS) -g $^ $(LOADLIBES) $(LDLIBS) -o $@ $(LIBS) 2>&1
|
# $(LINK) $(LDFLAGS) -g $^ $(LOADLIBES) $(LDLIBS) -o $@ $(LIBS) 2>&1
|
||||||
|
|
|
||||||
|
|
@ -9,10 +9,9 @@ if (!$::Driver) { use FindBin; exec("$FindBin::Bin/bootstrap.pl", @ARGV, $0); di
|
||||||
|
|
||||||
scenarios(simulator => 1);
|
scenarios(simulator => 1);
|
||||||
|
|
||||||
$Self->{vl_time_multiplier} = 1000;
|
|
||||||
|
|
||||||
compile(
|
compile(
|
||||||
verilator_flags2 => ['-DVL_TIME_MULTIPLER=1000'],
|
verilator_flags2 => ['-DVL_TIME_MULTIPLER=1000'],
|
||||||
|
make_flags => 'CPPFLAGS_ADD=-DVL_TIME_MULTIPLIER=1000',
|
||||||
);
|
);
|
||||||
|
|
||||||
execute(
|
execute(
|
||||||
|
|
|
||||||
|
|
@ -9,9 +9,8 @@ if (!$::Driver) { use FindBin; exec("$FindBin::Bin/bootstrap.pl", @ARGV, $0); di
|
||||||
|
|
||||||
scenarios(simulator => 1);
|
scenarios(simulator => 1);
|
||||||
|
|
||||||
$Self->{vl_time_multiplier} = 1000;
|
|
||||||
|
|
||||||
compile(
|
compile(
|
||||||
|
make_flags => 'CPPFLAGS_ADD=-DVL_TIME_MULTIPLIER=1000',
|
||||||
);
|
);
|
||||||
|
|
||||||
execute(
|
execute(
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ my $root = "..";
|
||||||
|
|
||||||
compile(
|
compile(
|
||||||
# Can't use --coverage and --savable together, so cheat and compile inline
|
# Can't use --coverage and --savable together, so cheat and compile inline
|
||||||
verilator_flags2 => ['--cc --coverage-toggle --coverage-line --coverage-user --trace --vpi $root/include/verilated_save.cpp'],
|
verilator_flags2 => ["--cc --coverage-toggle --coverage-line --coverage-user --trace --vpi $root/include/verilated_save.cpp"],
|
||||||
make_flags => 'DRIVER_STD=newest',
|
make_flags => 'DRIVER_STD=newest',
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -15,7 +15,7 @@ my $root = "..";
|
||||||
|
|
||||||
compile(
|
compile(
|
||||||
# Can't use --coverage and --savable together, so cheat and compile inline
|
# Can't use --coverage and --savable together, so cheat and compile inline
|
||||||
verilator_flags2 => ['--cc --coverage-toggle --coverage-line --coverage-user --trace --threads 1 --vpi $root/include/verilated_save.cpp'],
|
verilator_flags2 => ["--cc --coverage-toggle --coverage-line --coverage-user --trace --threads 1 --vpi $root/include/verilated_save.cpp"],
|
||||||
);
|
);
|
||||||
|
|
||||||
execute(
|
execute(
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue