From 15a3f8ef2aaa24d32155708afeaf7301ab4a68ca Mon Sep 17 00:00:00 2001 From: Cary R Date: Tue, 6 Dec 2011 10:14:46 -0800 Subject: [PATCH] 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. --- vvp/vpi_signal.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vvp/vpi_signal.cc b/vvp/vpi_signal.cc index 4add39a1a..969c6486c 100644 --- a/vvp/vpi_signal.cc +++ b/vvp/vpi_signal.cc @@ -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));