[Ktechlab-devel] Bug in D Flip flop component

David Saxton david at bluehaze.org
Wed Sep 28 15:24:08 UTC 2005


Bug is now fixed in revision 493 :)

I modified your patch to record the last two states of the D input, along with 
the simulator time that the last state was recorded at - allowing the right D 
state to be selected when clock input changes.

On Sunday 11 September 2005 19:13, Fredy Yanardi wrote:
> Hi David,
>
> Today I discovered a bug in D Flip Flop. It only remembers current D
> input, if clock and input are changed simultaneously, then the flip
> flop will produce wrong Q output. Simple and obvious case is when you
> create a Ring Counter.
>
> I don't know whether this has been fixed or not in the latest svn,
> because I try to update my source but it gives me "svn: PROPFIND of
> '/ktechlab': could not connect to server
> (https://svn.fadedminds.com)". If this hasn't been fixed I've made a
> small patch for this. I haven't tested other flip flop types whether
> they have same problem or not.
>
> Regards,
>
> Fredy Yanardi




More information about the Ktechlab-devel mailing list