Fix a %vpi_call call syntax.
This commit is contained in:
parent
1645e682f4
commit
f287546f49
|
|
@ -446,7 +446,7 @@ static int show_stmt_assign_vector(ivl_statement_t net)
|
||||||
} else if (ivl_expr_value(rval) == IVL_VT_STRING) {
|
} else if (ivl_expr_value(rval) == IVL_VT_STRING) {
|
||||||
/* Special case: vector to string casting */
|
/* Special case: vector to string casting */
|
||||||
ivl_lval_t lval = ivl_stmt_lval(net, 0);
|
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_file_table_index(ivl_stmt_file(net)), ivl_stmt_lineno(net),
|
||||||
ivl_expr_signal(rval), ivl_lval_sig(lval));
|
ivl_expr_signal(rval), ivl_lval_sig(lval));
|
||||||
return 0;
|
return 0;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue