Get very subtle handling of part select into ports correct.
The code generator was reading the wrong node of a bi-directional part select. This happens exclusively with part selects passed to bi-directional ports, so was rare. The result was that the non-part selected part may get an incorrect value.
This commit is contained in:
parent
dfa6471227
commit
fd6f017435
|
|
@ -733,7 +733,7 @@ static char* draw_net_input_drive(ivl_nexus_t nex, ivl_nexus_ptr_t nptr)
|
|||
return strdup(tmp);
|
||||
} else if (ivl_lpm_data(lpm,0) == nex) {
|
||||
char tmp[128];
|
||||
snprintf(tmp, sizeof tmp, "L_%p/V", lpm);
|
||||
snprintf(tmp, sizeof tmp, "L_%p/i", lpm);
|
||||
return strdup(tmp);
|
||||
}
|
||||
break;
|
||||
|
|
|
|||
Loading…
Reference in New Issue