Prev: NEED HELP
Next: Question about crop image
From: Xian on 17 Mar 2010 08:37 hi, i have two input signals which are either 1 or 0. Input 1 is always high and input 2 is high too, but input 2 periodicly goes very shortly from 1 to 0. Each time wenn input 2 goes from 1 to 0, output changes its state and it will keep the state until the next change from input 2(1 to 0) come. how can i achieve this? i have been trying to mess with an SR flip flop but i am not sure how to configure it. thanks for any help (i need it!) xian
From: Adee on 17 Mar 2010 08:46 "Xian " <liu(a)berlinheart.de> wrote in message <hnqie3$eab$1(a)fred.mathworks.com>... > hi, i have two input signals which are either 1 or 0. > Input 1 is always high and input 2 is high too, but input 2 periodicly goes very shortly from 1 to 0. Each time wenn input 2 goes from 1 to 0, output changes its state and it will keep the state until the next change from input 2(1 to 0) come. > > how can i achieve this? i have been trying to mess with an > SR flip flop but i am not sure how to configure it. > > thanks for any help (i need it!) > > xian Use a J-K Flip-Flop, connect clk to input2 and both J and K to constant 1. This should do the job.
|
Pages: 1 Prev: NEED HELP Next: Question about crop image |