Tests: Allow TEST_VERBOSE in c code

This commit is contained in:
Wilson Snyder 2009-12-16 21:28:09 -05:00
parent 934dc842e0
commit 45b0e63be2
3 changed files with 3 additions and 1 deletions

View File

@ -39,6 +39,7 @@ CPPFLAGS += -DVERILATOR=1
CPPFLAGS += -DVL_DEBUG=1
CPPFLAGS += -DVM_PREFIX=$(VM_PREFIX)
CPPFLAGS += $(CPPFLAGS_DRIVER)
CPPFLAGS += $(CPPFLAGS_DRIVER2)
CPPFLAGS += $(CPPFLAGS_ADD)
#######################################################################

View File

@ -483,6 +483,7 @@ sub compile {
"make", "-f".getcwd()."/Makefile_obj",
"VM_PREFIX=$self->{VM_PREFIX}",
"CPPFLAGS_DRIVER=-D".uc($self->{name}),
($opt_verbose ? "CPPFLAGS_DRIVER2=-DTEST_VERBOSE=1":""),
($param{make_main}?"":"MAKE_MAIN=0"),
($param{benchmark}?"OPT_FAST=-O2":""),
"$self->{VM_PREFIX}", # bypass default rule, as we don't need archive

View File

@ -40,7 +40,7 @@ module t (/*AUTOARG*/
reg [1:0] ql;
reg [1:0] qd;
initial $display("****FIXME: No sequential tables\n");
// No sequential tables, yet
// always @* begin
// if (!clk) ql = in[13:12];
// end