diff --git a/vpi/sys_vcd.c b/vpi/sys_vcd.c index 94d863594..2e47ee427 100644 --- a/vpi/sys_vcd.c +++ b/vpi/sys_vcd.c @@ -76,9 +76,11 @@ static void gen_new_vcd_id(void) v /= 94; if(!v) { vcdid[i+1] = '\0'; - break; + return; } } + // This should never happen since 94**7 is a lot if identifiers! + assert(0); } static char *truncate_bitvec(char *s)