diff --git a/include/verilated_heavy.h b/include/verilated_heavy.h index 699326971..9b060942b 100644 --- a/include/verilated_heavy.h +++ b/include/verilated_heavy.h @@ -285,7 +285,7 @@ inline std::string VL_CVT_PACK_STR_NN(const std::string& lhs) VL_PURE { return lhs; } inline std::string VL_CVT_PACK_STR_NI(IData lhs) VL_PURE { - WData lw[1]; VL_SET_WI(lw, lhs); + WData lw[VL_WQ_WORDS_E]; VL_SET_WI(lw, lhs); return VL_CVT_PACK_STR_NW(1, lw); } inline std::string VL_CONCATN_NNN(const std::string& lhs, const std::string& rhs) VL_PURE { diff --git a/test_regress/t/t_flag_csplit.pl b/test_regress/t/t_flag_csplit.pl index 44103e503..4d08bb271 100755 --- a/test_regress/t/t_flag_csplit.pl +++ b/test_regress/t/t_flag_csplit.pl @@ -108,6 +108,7 @@ sub check_gcc_flags { my $fh = IO::File->new("<$filename") or error("$! $filenme"); while (defined (my $line = $fh->getline)) { chomp $line; + print ":log: $line\n" if $Self->{verbose}; if ($line =~ /\.cpp/) { my $filetype = ($line =~ /Slow/) ? "slow":"fast"; my $opt = ($line !~ /-O2/) ? "slow":"fast";