tgt-vvp: Output semicolon after .port_info statements
Backwards compatablity is perserved due to the parser interperting the unexpected semicolon as an empty statement.
This commit is contained in:
parent
585a0232cb
commit
7b84b29bbc
|
|
@ -2304,7 +2304,7 @@ int draw_scope(ivl_scope_t net, ivl_scope_t parent)
|
||||||
unsigned width = ivl_scope_mod_module_port_width(net,idx);
|
unsigned width = ivl_scope_mod_module_port_width(net,idx);
|
||||||
if( name == 0 )
|
if( name == 0 )
|
||||||
name = "";
|
name = "";
|
||||||
fprintf( vvp_out, " .port_info %u %s %u \"%s\"\n",
|
fprintf( vvp_out, " .port_info %u %s %u \"%s\";\n",
|
||||||
idx, vvp_port_info_type_str(ptype), width,
|
idx, vvp_port_info_type_str(ptype), width,
|
||||||
vvp_mangle_name(name) );
|
vvp_mangle_name(name) );
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue