mirror of
https://github.com/verilator/verilator.git
synced 2025-01-06 06:37:45 +00:00
Tests: Allow TEST_VERBOSE in c code
This commit is contained in:
parent
934dc842e0
commit
45b0e63be2
@ -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)
|
||||
|
||||
#######################################################################
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user