Need circuit to output pulses only if a second input is high at the rising edge...
Bean
Posts: 8,129
Okay, I'm drawing a blank about how to do this.
I need a circuit (not code) that will pass a clock pulse ONLY if a second input is high at the rising edge of the clock pulse.
Here is what I mean:
The INPUT B pulse get output'ed ONLY if INPUT A is high at the rising edge of INPUT B
Any ideas... I sure some kind of flip-flop can do it...
Bean
I need a circuit (not code) that will pass a clock pulse ONLY if a second input is high at the rising edge of the clock pulse.
Here is what I mean:
The INPUT B pulse get output'ed ONLY if INPUT A is high at the rising edge of INPUT B
____ ____ ____ ____ ____ INPUT A _| |____| |______| |____| |__| |__ ____ ____ ____ ____ ____ INPUT B __| |____| |____| |____| |____| |__ ____ ____ ____ OUTPUT __| |____| |________________________| |__
Any ideas... I sure some kind of flip-flop can do it...
Bean
Comments
It's been a long time since I played around with flip-flops, can you tell me how I would connect that ?
Thanks,
Bean
@Bean - If you need to preserve the lagging pulse width, which by your diagram, it looks like you might adding an OR and an AND gate will work. The first part of the circuit just determines which pulse comes first and produces a 'composite' difference of the two incoming pulses. by adding the simple OR/AND latch on the composite output you can hold the pulse until the laging pulse finishes instead of the leading pulse finishing.
I'll try that.
The two clocks will be almost the same frequency, so depending on the phase the pulse would be very short without stretching it.
Bean