if component has "net_name=true" and pins have "@#n:net_name" attributes, show "<UNCONN>" if a pin terminal is not attached to any net.
This commit is contained in:
parent
0fe9c1223d
commit
6c425e60b8
|
|
@ -2621,7 +2621,7 @@ const char *translate(int inst, char* s)
|
|||
if(!strcmp(get_tok_value(inst_ptr[inst].prop_ptr, "net_name", 0), "true") ||
|
||||
!strcmp(get_tok_value( (inst_ptr[inst].ptr + instdef)->prop_ptr, "net_name", 0), "true")
|
||||
) {
|
||||
my_strdup2(1175, &pinnumber, inst_ptr[inst].node && inst_ptr[inst].node[n] ? inst_ptr[inst].node[n] : "");
|
||||
my_strdup2(1175, &pinnumber, inst_ptr[inst].node && inst_ptr[inst].node[n] ? inst_ptr[inst].node[n] : "<UNCONN>");
|
||||
}
|
||||
} else {
|
||||
if(!pinnumber[0]) my_strdup(379, &pinnumber, "--UNDEF--");
|
||||
|
|
|
|||
Loading…
Reference in New Issue