Fix a %vpi_call call syntax.

This commit is contained in:
Stephen Williams 2014-12-02 15:28:22 -08:00
parent 1645e682f4
commit f287546f49
1 changed files with 1 additions and 1 deletions

View File

@ -446,7 +446,7 @@ static int show_stmt_assign_vector(ivl_statement_t net)
} else if (ivl_expr_value(rval) == IVL_VT_STRING) {
/* Special case: vector to string casting */
ivl_lval_t lval = ivl_stmt_lval(net, 0);
fprintf(vvp_out, " %%vpi_call %u %u \"$ivl_string_method$to_vec\", v%p_0, v%p_0 {0 0};\n",
fprintf(vvp_out, " %%vpi_call %u %u \"$ivl_string_method$to_vec\", v%p_0, v%p_0 {0 0 0};\n",
ivl_file_table_index(ivl_stmt_file(net)), ivl_stmt_lineno(net),
ivl_expr_signal(rval), ivl_lval_sig(lval));
return 0;