On Thu, Mar 26, 2015 at 04:25:49PM +0200, أحمد المحمودي wrote: > On Wed, Apr 14, 2010 at 07:46:11PM -0300, Marco Túlio Gontijo e Silva wrote: > > This bug is also reported in: > > https://bugs.launchpad.net/ubuntu/+source/gplcver/+bug/243980 > > > > For instance, using: > > > > $dumpfile("teste-disco.vcd"); // it creates isco.vcd > > $dumpfile("disco.vcd"); // it creates isco.vcd > > $dumpfile("isco.vcd"); // it creates nothing > > $dumpfile("o.vcd"); // it creates nothing > ---end quoted text--- > > The bug reported in LP 243980 is what I am experiencing here (I am > on an amd64 machine). Yet the symptoms you mentioned are different, > and I am not able to reproduce it here. > > Actually I realized the following: > $dumpfile("test.vcd"); // dumps to '.vcd' file > $dumpfile("test.VCD"); // dumps to '.VCD' file > $dumpfile("test"); // dumps to 'test' file > > So it seems the problem is with parsing the string which contains a > dot '.' ---end quoted text---
Further tests showed me that I was wrong:
$dumpfile("test1234"); // dumps into 1234
So for some reason, it sometimes takes only the last 4 chars of the
string !
As for those tests:
$dumpfile("isco.vcd");
$dumpfile("o.vcd");
They actually dump into '.vcd' file (ie. not nothing).
--
أحمد المحمودي (Ahmed El-Mahmoudy)
Digital design engineer
GPG KeyID: 0xEDDDA1B7
GPG Fingerprint: 8206 A196 2084 7E6D 0DF8 B176 BC19 6A94 EDDD A1B7
signature.asc
Description: Digital signature

