Control Circuitry Logic Problem

2-Zons wrote 12/30/2018 at 04:51 2 points

I've got a bug in my control logic that I can't think of a solution for.  I have a control line to increment a register (INC).  When INC is HI register will increment on the rising edge of CLK.  To implement this I use an AND gate.  The problem is when the clock is HI and INC goes LO to HI  it increments the register.  This causes an extra increment to occur in some situations.  How can I ignore rising edges on INC but still use it to enable the increment?  Any ideas?