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:
Cary R 2011-12-06 10:14:46 -08:00
parent 37be84483c
commit 15a3f8ef2a
1 changed files with 2 additions and 1 deletions

View File

@ -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));