UGC-NET, GATE, NIELIT (O/A/B Level), KVS/NVS Computer Teacher, PGDCA, BCA, MCA, B-Tech व All India IT Exam विशेष नोट्स: इस अध्याय में हम Master-Slave JK Flip-Flop and Edge-Triggered vs Level-Triggered Circuits (मास्टर-स्लेव JK फ्लिप-फ्लॉप और एज-ट्रिगरिंग बनाम लेवल-ट्रिगरिंग) की संपूर्ण थ्योरी, मुख्य तकनीकी बिंदु, तुलनात्मक तालिका और राष्ट्रीय स्तर की परीक्षाओं के पैटर्न पर आधारित 20 अति-महत्वपूर्ण बहुविकल्पीय प्रश्न (MCQs) विस्तृत हिंदी व अंग्रेजी व्याख्या सहित पढ़ेंगे।
Overview: A Master-Slave JK Flip-Flop cascades two gated latches driven by complementary clock signals to eliminate the race-around condition. Edge-triggered circuits sample inputs only at a clock transition (rising or falling), whereas level-triggered latches remain transparent throughout the active clock level.
अध्याय सार: मास्टर-स्लेव JK फ्लिप-फ्लॉप रेस-अराउंड कंडीशन को समाप्त करने के लिए विपरीत क्लॉक सिग्नल से चलने वाले दो लैच को जोड़ता है। एज-ट्रिगर्ड सर्किट केवल क्लॉक ट्रांजिशन (राइजिंग या फॉलिंग) पर इनपुट सैंपल करते हैं, जबकि लेवल-ट्रिगर्ड लैच पूरे एक्टिव क्लॉक लेवल के दौरान पारदर्शी रहते हैं।
Master-Slave JK Flip-Flop and Edge-Triggered vs Level-Triggered Circuits: Detailed Notes & Architecture (मास्टर-स्लेव JK फ्लिप-फ्लॉप और एज-ट्रिगरिंग बनाम लेवल-ट्रिगरिंग)
1. The Race-Around Condition in JK Flip-Flop (JK फ्लिप-फ्लॉप में रेस-अराउंड कंडीशन)
[EN] When J = 1 and K = 1 in a level-triggered JK flip-flop, the output toggles continuously as long as the clock pulse remains HIGH (if propagation delay t_pd < clock pulse width t_pw). This unpredictable oscillation is called the race-around condition.
[HI] लेवल-ट्रिगर्ड JK फ्लिप-फ्लॉप में जब J = 1 और K = 1 होता है, तो क्लॉक HIGH रहने तक आउटपुट लगातार टॉगल करता रहता है। इस अनिश्चित दोलन को रेस-अराउंड कंडीशन कहते हैं।
2. Master-Slave JK Flip-Flop Architecture (मास्टर-स्लेव JK फ्लिप-फ्लॉप आर्किटेक्चर)
[EN] A Master-Slave JK Flip-Flop connects two SR/JK latches in series: the Master is enabled when CLK = 1, and the Slave is enabled when CLK = 0 (via an inverter). Because the Slave is isolated while the Master changes, the output Q changes only once per clock cycle, eliminating race-around.
[HI] मास्टर-स्लेव JK फ्लिप-फ्लॉप में दो लैच श्रेणीक्रम में जुड़े होते हैं: मास्टर CLK = 1 पर और स्लेव CLK = 0 पर सक्रिय होता है। इससे आउटपुट प्रति क्लॉक साइकिल केवल एक बार बदलता है और रेस-अराउंड खत्म हो जाता है।
3. Level-Triggered vs Edge-Triggered Circuits (लेवल-ट्रिगर्ड बनाम एज-ट्रिगर्ड सर्किट)
[EN] Level-triggered circuits (latches) respond to inputs continuously while the enable/clock is HIGH (or LOW). Edge-triggered circuits (flip-flops) respond only at the instant of a positive (0->1) or negative (1->0) clock edge, making them immune to input glitches during the rest of the clock period.
[HI] लेवल-ट्रिगर्ड सर्किट (लैच) पूरे HIGH/LOW समय में इनपुट पर प्रतिक्रिया देते हैं। एज-ट्रिगर्ड सर्किट (फ्लिप-फ्लॉप) केवल क्लॉक के राइजिंग या फॉलिंग एज पर प्रतिक्रिया देते हैं।
4. Timing Parameters: Setup and Hold Time (टाइमिंग पैरामीटर: सेटअप और होल्ड टाइम)
[EN] For reliable edge-triggered operation, data must be stable before the clock edge (Setup Time, t_su) and remain stable after the clock edge (Hold Time, t_h). Violating these causes metastability.
[HI] सही एज-ट्रिगर्ड संचालन के लिए डेटा को क्लॉक एज से पहले (सेटअप टाइम) और बाद में (होल्ड टाइम) स्थिर रहना चाहिए।
Syntax, Formula & Technical Example (Master-Slave JK Flip-Flop and Edge-Triggered vs Level-Triggered Circuits)
// Positive Edge-Triggered JK Flip-Flop in Verilog
module jk_ff (input J, K, clk, output reg Q);
always @(posedge clk) begin
case ({J, K})
2'b00: Q <= Q; // No change
2'b01: Q <= 1'b0; // Reset
2'b10: Q <= 1'b1; // Set
2'b11: Q <= ~Q; // Toggle
endcase
end
endmodule
Master-Slave JK Flip-Flop and Edge-Triggered vs Level-Triggered Circuits Quick Reference & Comparison Table
| Feature | Level-Triggered (Latch) | Edge-Triggered (Flip-Flop) |
|---|---|---|
| Sampling Window | Entire active clock level | Only at rising/falling clock edge |
| Race-Around Risk | High when J=K=1 | Eliminated |
| Noise Immunity | Low (transparent to glitches) | High (ignores mid-cycle noise) |
| Hardware Cost | Fewer gates | More gates (Master-Slave / Pulse) |
Master-Slave JK Flip-Flop and Edge-Triggered vs Level-Triggered Circuits Top 20 Bilingual MCQs with Answers
Q1. When does the race-around condition occur in a JK flip-flop?
(JK फ्लिप-फ्लॉप में रेस-अराउंड कंडीशन कब होती है?)
(A) When CLK = 0
(B) When J = 1, K = 1, and clock pulse width > propagation delay
(C) When J = 0 and K = 0
(D) When J = 1 and K = 0
Correct Answer: (B)
[EN] In a level-triggered JK flip-flop, J=K=1 causes continuous toggling while CLK is HIGH.
[HI] लेवल-ट्रिगर्ड JK फ्लिप-फ्लॉप में J=K=1 होने पर CLK HIGH रहने तक लगातार टॉगलिंग होती है।
Q2. How does a Master-Slave JK flip-flop eliminate the race-around condition?
(मास्टर-स्लेव JK फ्लिप-फ्लॉप रेस-अराउंड कंडीशन को कैसे समाप्त करता है?)
(A) Master and Slave are driven by inverted clock signals so they are never active simultaneously
(B) By using a faster clock
(C) By setting J=0 permanently
(D) By removing the feedback path
Correct Answer: (A)
[EN] The Master samples on CLK=1 and the Slave updates on CLK=0.
[HI] मास्टर CLK=1 पर सैंपल लेता है और स्लेव CLK=0 पर आउटपुट अपडेट करता है।
Q3. In a Master-Slave JK flip-flop, when does the final output Q change?
(मास्टर-स्लेव JK फ्लिप-फ्लॉप में अंतिम आउटपुट Q कब बदलता है?)
(A) Continuously
(B) Only when power turns on
(C) On the negative (falling) clock edge
(D) On the positive (rising) clock edge
Correct Answer: (C)
[EN] The Slave is enabled when CLK goes LOW, updating Q at the falling edge.
[HI] स्लेव CLK के LOW होने पर सक्रिय होता है, जिससे Q फॉलिंग एज पर बदलता है।
Q4. What is the characteristic equation of a JK flip-flop?
(JK फ्लिप-फ्लॉप का कैरेक्टरिस्टिक समीकरण क्या है?)
(A) Q(next) = S + R'Q
(B) Q(next) = D
(C) Q(next) = J + K
(D) Q(next) = JQ' + K'Q
Correct Answer: (D)
[EN] Q(next) = JQ' + K'Q describes all four states (Hold, Reset, Set, Toggle).
[HI] Q(next) = JQ' + K'Q सभी चार अवस्थाओं का वर्णन करता है।
Q5. Which circuit is 'transparent' when the clock is HIGH?
(क्लॉक HIGH होने पर कौन सा सर्किट 'पारदर्शी' (transparent) होता है?)
(A) Level-triggered D Latch
(B) Edge-triggered D Flip-Flop
(C) ROM
(D) Master-Slave JK Flip-Flop
Correct Answer: (A)
[EN] A level-triggered latch passes input changes directly to output while enabled.
[HI] लेवल-ट्रिगर्ड लैच इनेबल रहने तक इनपुट बदलावों को सीधे आउटपुट पर भेजता है।
Q6. What is 'Setup Time' (t_su) in an edge-triggered flip-flop?
(एज-ट्रिगर्ड फ्लिप-फ्लॉप में 'सेटअप टाइम' (t_su) क्या है?)
(A) Minimum time data must be stable AFTER the clock edge
(B) Minimum time data must be stable BEFORE the active clock edge
(C) Clock period
(D) Time taken for output to change
Correct Answer: (B)
[EN] Setup time ensures data is valid before the clock samples it.
[HI] सेटअप टाइम सुनिश्चित करता है कि क्लॉक सैंपलिंग से पहले डेटा स्थिर रहे।
Q7. What is 'Hold Time' (t_h)?
('होल्ड टाइम' (t_h) क्या है?)
(A) Minimum time data must remain stable AFTER the active clock edge
(B) Time before the clock edge
(C) Propagation delay
(D) Time to reset the flip-flop
Correct Answer: (A)
[EN] Hold time prevents data from changing too soon after the clock edge.
[HI] होल्ड टाइम क्लॉक एज के तुरंत बाद डेटा को बदलने से रोकता है।
Q8. What happens if Setup or Hold time is violated?
(यदि सेटअप या होल्ड टाइम का उल्लंघन होता है तो क्या होता है?)
(A) Power consumption drops to zero
(B) Metastability (unpredictable output)
(C) The circuit runs twice as fast
(D) The clock stops
Correct Answer: (B)
[EN] Metastability can cause the output to settle at an invalid voltage or wrong logic state.
[HI] मेटास्टेबिलिटी के कारण आउटपुट अनिश्चित या गलत लॉजिक स्टेट में जा सकता है।
Q9. How many flip-flops are inside a Master-Slave JK flip-flop?
(एक मास्टर-स्लेव JK फ्लिप-फ्लॉप के अंदर कितने फ्लिप-फ्लॉप/लैच होते हैं?)
(A) 4
(B) 8
(C) 2 (one Master, one Slave)
(D) 1
Correct Answer: (C)
[EN] It cascades two gated latches.
[HI] इसमें दो गेटेड लैच श्रेणीक्रम में जुड़े होते हैं।
Q10. Which symbol on a clock input indicates negative edge-triggering?
(क्लॉक इनपुट पर कौन सा प्रतीक नेगेटिव एज-ट्रिगरिंग को दर्शाता है?)
(A) A plus sign (+)
(B) A triangle (>) alone
(C) A square
(D) A bubble (circle) followed by a triangle (>)
Correct Answer: (D)
[EN] The triangle indicates edge-triggering and the bubble indicates active-LOW (falling edge).
[HI] त्रिभुज एज-ट्रिगरिंग और बबल फॉलिंग एज को दर्शाता है।
Q11. Which flip-flop has NO invalid/forbidden state?
(किस फ्लिप-फ्लॉप में कोई अमान्य (invalid) अवस्था नहीं होती?)
(A) Both SR and JK
(B) SR Flip-Flop
(C) None
(D) JK Flip-Flop (and D, T)
Correct Answer: (D)
[EN] Unlike SR (where S=R=1 is forbidden), JK uses J=K=1 to toggle.
[HI] SR के विपरीत, JK में J=K=1 टॉगल के लिए उपयोग होता है।
Q12. How do you convert a JK flip-flop into a T (Toggle) flip-flop?
(आप JK फ्लिप-फ्लॉप को T (टॉगल) फ्लिप-फ्लॉप में कैसे बदलते हैं?)
(A) Connect J and K together to T
(B) Set K = 0 always
(C) Use an XOR gate
(D) Connect J to Q'
Correct Answer: (A)
[EN] When J = K = T, T=0 holds and T=1 toggles.
[HI] जब J = K = T होता है, तो T=0 पर होल्ड और T=1 पर टॉगल होता है।
Q13. Which is preferred for synchronous digital systems like CPUs?
(CPU जैसे सिंक्रोनस डिजिटल सिस्टम के लिए किसे प्राथमिकता दी जाती है?)
(A) Edge-triggered Flip-Flops
(B) Asynchronous SR Latches
(C) Unclocked gates
(D) Level-triggered Latches only
Correct Answer: (A)
[EN] Edge-triggered flip-flops synchronize all state transitions to a single clock edge.
[HI] एज-ट्रिगर्ड फ्लिप-फ्लॉप सभी स्टेट बदलावों को एक ही क्लॉक एज से सिंक्रनाइज़ करते हैं।
Q14. In a JK flip-flop, if J = 0 and K = 1, the next state Q(next) is:
(JK फ्लिप-फ्लॉप में, यदि J = 0 और K = 1 है, तो अगली अवस्था Q(next) क्या होगी?)
(A) 1 (Set)
(B) Q' (Toggle)
(C) Q (Hold)
(D) 0 (Reset)
Correct Answer: (D)
[EN] J=0, K=1 resets the flip-flop to 0.
[HI] J=0, K=1 फ्लिप-फ्लॉप को 0 पर रीसेट करता है।
Q15. What is '1s catching' in a Master-Slave JK flip-flop?
(मास्टर-स्लेव JK फ्लिप-फ्लॉप में '1s कैचिंग' क्या है?)
(A) A clock frequency divider
(B) A power surge
(C) If J or K glitches to 1 while CLK=1, the Master latches it even if it returns to 0 before the falling edge
(D) A type of ROM
Correct Answer: (C)
[EN] Because the Master is level-sensitive during CLK=1, it can catch brief input glitches.
[HI] चूंकि मास्टर CLK=1 पर लेवल-सेंसिटिव होता है, यह छोटे इनपुट ग्लिच को पकड़ सकता है।
Q16. Which circuit is used to build a Ripple (Asynchronous) Counter?
(रिपल (एसिंक्रोनस) काउंटर बनाने के लिए किस सर्किट का उपयोग किया जाता है?)
(A) Level-triggered SR Latches
(B) Multiplexers
(C) Edge-triggered T or JK Flip-Flops
(D) Decoders
Correct Answer: (C)
[EN] Counters require clean edge-triggered toggling.
[HI] काउंटर के लिए साफ एज-ट्रिगर्ड टॉगलिंग की आवश्यकता होती है।
Q17. Within Master-Slave JK Flip-Flop and Edge-Triggered vs Level-Triggered Circuits, which feature directly maps to: "Entire active clock level"?
(Master-Slave JK Flip-Flop and Edge-Triggered vs Level-Triggered Circuits में कौन सा Feature सीधे "Entire active clock level" से संबंधित है?)
(A) Noise Immunity
(B) Hardware Cost
(C) Race-Around Risk
(D) Sampling Window
Correct Answer: (D)
[EN] In Master-Slave JK Flip-Flop and Edge-Triggered vs Level-Triggered Circuits, 'Sampling Window' handles 'Entire active clock level' (Only at rising/falling clock edge).
[HI] Master-Slave JK Flip-Flop and Edge-Triggered vs Level-Triggered Circuits में 'Sampling Window' का कार्य/विवरण 'Entire active clock level' (Only at rising/falling clock edge) है।
Q18. Which option accurately describes 'Race-Around Risk' in Master-Slave JK Flip-Flop and Edge-Triggered vs Level-Triggered Circuits?
(Master-Slave JK Flip-Flop and Edge-Triggered vs Level-Triggered Circuits के संदर्भ में 'Race-Around Risk' की सही विशेषता कौन सी है?)
(A) High when J=K=1
(B) Low (transparent to glitches)
(C) Entire active clock level
(D) Fewer gates
Correct Answer: (A)
[EN] 'Race-Around Risk' provides 'High when J=K=1' — key point: Eliminated.
[HI] 'Race-Around Risk' का मुख्य विवरण 'High when J=K=1' है (Eliminated)।
Q19. In Master-Slave JK Flip-Flop and Edge-Triggered vs Level-Triggered Circuits, identify the correct parameter for the specification: "Low (transparent to glitches)".
(Master-Slave JK Flip-Flop and Edge-Triggered vs Level-Triggered Circuits में "Low (transparent to glitches)" विवरण किस विकल्प के लिए सही है?)
(A) Noise Immunity
(B) Hardware Cost
(C) Sampling Window
(D) Race-Around Risk
Correct Answer: (A)
[EN] 'Noise Immunity' corresponds to 'Low (transparent to glitches)' (High (ignores mid-cycle noise)).
[HI] 'Noise Immunity' का संबंध 'Low (transparent to glitches)' (High (ignores mid-cycle noise)) से है।
Q20. Considering Master-Slave JK Flip-Flop and Edge-Triggered vs Level-Triggered Circuits, what key behavior defines 'Hardware Cost'?
(Master-Slave JK Flip-Flop and Edge-Triggered vs Level-Triggered Circuits में 'Hardware Cost' की मुख्य भूमिका या मान क्या है?)
(A) Low (transparent to glitches)
(B) Entire active clock level
(C) Fewer gates
(D) High when J=K=1
Correct Answer: (C)
[EN] 'Hardware Cost' represents 'Fewer gates' (More gates (Master-Slave / Pulse)).
[HI] 'Hardware Cost' का अर्थ/मान 'Fewer gates' है (More gates (Master-Slave / Pulse))।
Master-Slave JK Flip-Flop and Edge-Triggered vs Level-Triggered Circuits — Exam FAQs
Q1: What is the difference between a Latch and a Flip-Flop?
लैच और फ्लिप-फ्लॉप में क्या अंतर है?
[EN] A latch is level-triggered and changes output whenever enabled, whereas a flip-flop is edge-triggered and changes output only on a clock transition.
[HI] लैच लेवल-ट्रिगर्ड होता है और इनेबल रहने पर आउटपुट बदलता है, जबकि फ्लिप-फ्लॉप एज-ट्रिगर्ड होता है और केवल क्लॉक ट्रांजिशन पर बदलता है।
Q2: Why is Edge-Triggered JK preferred over Master-Slave JK in modern ICs?
आधुनिक ICs में मास्टर-स्लेव JK के बजाय एज-ट्रिगर्ड JK को क्यों प्राथमिकता दी जाती है?
[EN] Because Master-Slave JK suffers from '1s catching' (glitches on J/K while CLK=1 affect the Master), whereas true edge-triggered flip-flops only sample at the exact clock edge.
[HI] क्योंकि मास्टर-स्लेव JK में '1s कैचिंग' की समस्या होती है, जबकि एज-ट्रिगर्ड फ्लिप-फ्लॉप केवल सटीक क्लॉक एज पर सैंपल लेते हैं।
Q3: How can race-around be avoided without a Master-Slave design?
मास्टर-स्लेव डिज़ाइन के बिना रेस-अराउंड से कैसे बचा जा सकता है?
[EN] By ensuring the clock pulse width (t_pw) is strictly less than the flip-flop propagation delay (t_pd), though this is hard to guarantee across temperature/voltage variations.
[HI] यह सुनिश्चित करके कि क्लॉक पल्स की चौड़ाई (t_pw) प्रोपेगेशन डिले (t_pd) से कम हो।
Post a Comment
Post a Comment