From snk at gna.org Mon Oct 8 16:55:26 2007 From: snk at gna.org (Suraj N. Kurapati) Date: Mon, 8 Oct 2007 13:55:26 -0700 (PDT) Subject: System level testing In-Reply-To: <46FB068A.4050706@gna.org> Message-ID: <724417.41606.qm@web83309.mail.sp1.yahoo.com> Hello Rob, I implemented the plan and updated the examples and test generator accordingly: http://ruby-vpi.rubyforge.org/tmp/ruby-vpi.tgz Please try it out and send me your feedback. If everything goes well, I'll make a new 20.0.0 release. From snk at gna.org Tue Oct 9 12:24:20 2007 From: snk at gna.org (Suraj N. Kurapati) Date: Tue, 9 Oct 2007 09:24:20 -0700 (PDT) Subject: System level testing In-Reply-To: <724417.41606.qm@web83309.mail.sp1.yahoo.com> Message-ID: <834686.82468.qm@web83312.mail.sp1.yahoo.com> Suraj N. Kurapati wrote: > I implemented the plan and updated the examples and > test generator accordingly: > > http://ruby-vpi.rubyforge.org/tmp/ruby-vpi.tgz New snapshot is available here: http://ruby-vpi.rubyforge.org/tmp/2007-10-09.tgz The old one has been renamed to: http://ruby-vpi.rubyforge.org/tmp/2007-10-08.tgz From ardencaple at tesco.net Tue Oct 9 12:48:50 2007 From: ardencaple at tesco.net (Rob MacAulay) Date: Tue, 9 Oct 2007 17:48:50 +0100 Subject: System level testing References: <834686.82468.qm@web83312.mail.sp1.yahoo.com> Message-ID: <05bf01c80a94$45564b60$3564a8c0@CONSTABLE> Hi Suraj Thanks for this - might take me a couple of days to test.. Regards, Rob ----- Original Message ----- From: "Suraj N. Kurapati" To: Sent: Tuesday, October 09, 2007 5:24 PM Subject: Re: System level testing > Suraj N. Kurapati wrote: > > I implemented the plan and updated the examples and > > test generator accordingly: > > > > http://ruby-vpi.rubyforge.org/tmp/ruby-vpi.tgz > > New snapshot is available here: > > http://ruby-vpi.rubyforge.org/tmp/2007-10-09.tgz > > The old one has been renamed to: > > http://ruby-vpi.rubyforge.org/tmp/2007-10-08.tgz > > > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.5.488 / Virus Database: 269.14.6/1059 - Release Date: 09/10/2007 08:44 > > From snk at gna.org Tue Oct 16 12:41:14 2007 From: snk at gna.org (Suraj N. Kurapati) Date: Tue, 16 Oct 2007 09:41:14 -0700 (PDT) Subject: Spurious failures with Mentor Modelsim Message-ID: <412039.91857.qm@web83306.mail.sp1.yahoo.com> Hello, I took a fresh look at the problem of spurious failures with 64-bit Mentor Modelsim 6.2g, where the example up-counter tests would pass/fail at random. In contrast, the same tests would always pass with all other supported simulators. By adding a zero-delay null statement at the beginning of the edge-triggered always block, the problem goes away and the tests always pass: always @(posedge clock) begin #0; // zero-delay null statement /* rest of the code */ end I think the problem is that the cbAfterDelay callback does not always take you to the top of a time-step (before any events in that time-step are executed) in Modelsim. Instead, it seems that the callback sometimes takes you to the middle of a time-step (after some events in the time-step have been executed). Any ideas? Or is the hack of adding the zero-delay null statement acceptable as a work-around? Thanks for your consideration.