Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Correctly display events when dumping using the FST format

This patch is from Tony Bybell and fixes a segmentation fault when dumping
an event to a FST file.
  • Loading branch information...
commit d3bdc60201079eb22fe8506e951a57c95b19e28a 1 parent 2e4810f
@caryr caryr authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  vpi/sys_fst.c
View
2  vpi/sys_fst.c
@@ -82,7 +82,7 @@ static void show_this_item(struct vcd_info*info)
} else {
value.format = vpiBinStrVal;
vpi_get_value(info->item, &value);
- fstWriterEmitValueChange(dump_file, info->handle, value.value.str);
+ fstWriterEmitValueChange(dump_file, info->handle, (type != vpiNamedEvent) ? value.value.str : "1");
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.