mirror of
https://github.com/verilator/verilator.git
synced 2025-01-06 06:37:45 +00:00
/sformat should accept rvalue expressions
This commit is contained in:
parent
43e1b27d16
commit
8203c79f76
@ -2015,8 +2015,8 @@ system_t_call<nodep>: // IEEE: system_tf_call (as task)
|
||||
| yD_STOP parenE { $$ = new AstStop($1); }
|
||||
| yD_STOP '(' expr ')' { $$ = new AstStop($1); }
|
||||
//
|
||||
| yD_SFORMAT '(' expr ',' str commaVRDListE ')' { $$ = new AstSFormat($1,$3,*$5,$6); }
|
||||
| yD_SWRITE '(' expr ',' str commaVRDListE ')' { $$ = new AstSFormat($1,$3,*$5,$6); }
|
||||
| yD_SFORMAT '(' expr ',' str commaEListE ')' { $$ = new AstSFormat($1,$3,*$5,$6); }
|
||||
| yD_SWRITE '(' expr ',' str commaEListE ')' { $$ = new AstSFormat($1,$3,*$5,$6); }
|
||||
//
|
||||
| yD_DISPLAY parenE { $$ = new AstDisplay($1,AstDisplayType::DISPLAY,"", NULL,NULL); }
|
||||
| yD_DISPLAY '(' str commaEListE ')' { $$ = new AstDisplay($1,AstDisplayType::DISPLAY,*$3,NULL,$4); }
|
||||
|
@ -8,8 +8,11 @@ if (!$::Driver) { use FindBin; exec("$FindBin::Bin/bootstrap.pl", @ARGV, $0); di
|
||||
# Version 2.0.
|
||||
|
||||
compile (
|
||||
verilator_flags2 => [qw(--lint-only -Wfuture-FUTURE1 -Wfuture-FUTURE2)],
|
||||
);
|
||||
make_top_shell => 0,
|
||||
make_main => 0,
|
||||
verilator_flags2 => [qw(--lint-only -Wfuture-FUTURE1 -Wfuture-FUTURE2)],
|
||||
verilator_make_gcc => 0,
|
||||
);
|
||||
|
||||
ok(1);
|
||||
1;
|
||||
|
@ -26,7 +26,7 @@ include $(VERILATOR_ROOT)/include/verilated.mk
|
||||
|
||||
VERILATOR_SW +=
|
||||
ifeq ($(VERILATOR_NO_DEBUG),)
|
||||
VERILATOR_SW += --debug
|
||||
VERILATOR_SW += --debug --no-dump-tree
|
||||
endif
|
||||
|
||||
PERL_PACKAGES_OK := $(shell $(PERL) -e 'eval "use Bit::Vector; print 1;";')
|
||||
|
Loading…
Reference in New Issue
Block a user