For now treat vpiFullName the same as vpiName for a signal.
This needs to be fixed, but for now this prevents a seg. fault in the VCD dumpers, etc.
This commit is contained in:
parent
37be84483c
commit
15a3f8ef2a
|
|
@ -595,8 +595,9 @@ static char* signal_get_str(int code, vpiHandle ref)
|
|||
return simple_set_rbuf_str(file_names[0]);
|
||||
}
|
||||
|
||||
if (code != vpiName) return NULL;
|
||||
if ((code != vpiName) && (code != vpiFullName)) return NULL;
|
||||
|
||||
// HERE: vpiFullName is just vpiName!
|
||||
char *nm, *ixs;
|
||||
if (rfp->is_netarray) {
|
||||
nm = strdup(vpi_get_str(vpiName, rfp->within.parent));
|
||||
|
|
|
|||
Loading…
Reference in New Issue