mirror of
https://github.com/YosysHQ/yosys
synced 2025-06-12 17:06:15 +00:00
libfst is no longer included in gtkwave and instead has its own repo. There has also been some refactoring, so the patches need to update to match, as does sim.cc.
10 lines
383 B
Diff
10 lines
383 B
Diff
--- fstapi.cc
|
|
+++ fstapi.cc
|
|
@@ -6072,6 +6072,7 @@ for(;;)
|
|
}
|
|
|
|
wx_len = snprintf(wx_buf, 32, "r%.16g", d);
|
|
+ if (wx_len > 32 || wx_len < 0) wx_len = 32;
|
|
fstWritex(xc, wx_buf, wx_len);
|
|
}
|
|
}
|