English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

what is the purpose of the preset function on a J-K flip flop? It seems to me to be unnecessary. What am I missing?

2007-11-06 05:34:19 · 3 answers · asked by BooBoo 2 in Science & Mathematics Engineering

That is an asynchronous input (not dependant on the rising edge of the clock). Sometimes it is necessary to force the Q output to a logic '1' regardless of the clock state or edge. Usually this would happen to set an initial state of the flip-flop at power-up before the clock starts.

The same thing applies to the clear input (which forces Q=0 asynchronously).


Thanks for your answer, I guess I was looking for a real world senario in which you would need to the preset to force Q to a 1?

2007-11-06 06:19:21 · update #1

3 answers

That is an asynchronous input (not dependant on the rising edge of the clock). Sometimes it is necessary to force the Q output to a logic '1' regardless of the clock state or edge. Usually this would happen to set an initial state of the flip-flop at power-up before the clock starts.

The same thing applies to the clear input (which forces Q=0 asynchronously).

.

2007-11-06 06:06:18 · answer #1 · answered by tlbs101 7 · 0 0

preset/clear is for power up. because all flip flops come up in an undetermined state, you use it to set the entire circuit in a known state.

eg: State machines, counters etc -- you don't want it in some unknown or "non starting" state

2007-11-06 07:15:11 · answer #2 · answered by edward 5 · 0 0

huh?

2007-11-06 05:36:42 · answer #3 · answered by BOOOOOO 6 · 0 5

fedest.com, questions and answers