co lab practical viva questions
co lab practical viva questions
Latch: A level-sensitive memory element that stores data based on the input signal's level (HIGH or
LOW). It continuously responds to inputs when enabled, making it asynchronous.
Flip-Flop: An edge-triggered memory element that stores data only on the edge (rising or falling)
of a clock signal, ensuring synchronization with a clock pulse.
Differences:
Triggering Level-sensitive (active for input level). Edge-sensitive (active on clock edge).
Clock Dependency May not need a clock signal. Always requires a clock signal.
Speed Faster, less control over timing. Slower, ensures precise timing.
The J-K flip-flop eliminates the undefined state of the S-R flip-flop when S = 1, R = 1. Instead, it toggles
the output, making it more versatile.
Occurs in a J-K flip-flop when the clock pulse duration is longer than the propagation delay, causing
multiple toggles in a single clock pulse. It can be avoided by using a Master-Slave configuration or edge-
triggering.
A latch is a level-sensitive memory device that stores data based on the input level. It continuously
updates its output as long as the enable signal is active.
Triggering Level-sensitive (active for input level). Edge-sensitive (active on clock edge).
Operation Updates continuously when enabled. Updates only during clock edge.
IC 7400 (NAND gates) or 7402 (NOR gates) can be used to implement SR flip-flops.
Edge triggering avoids the continuous changes of level triggering, ensuring precise and synchronized
state changes, reducing errors.
Race Around Condition: In a J-K flip-flop, multiple toggles occur during one clock pulse when the
clock duration is greater than the propagation delay.
Solution: Use Master-Slave Flip-Flops or edge-triggering to restrict toggling.
POST-EXPERIMENT QUESTIONS:
Q1: Define ‘module’ (MOD) with respect to a counter.
The MOD number indicates the total number of unique states a counter cycles through
before resetting to 0.
Q2: Maximum number of states of a counter?
For an n-bit counter, the maximum number of states is 2ⁿ.
Q1: Define Half Adder
A half adder is a combinational circuit that performs the addition of two binary bits, producing a sum
and a carry as outputs.
A full adder adds three binary bits (two inputs and a carry-in) and produces a sum and a carry-out.
A half subtractor is a combinational circuit that subtracts one binary bit from another, producing a
difference and a borrow as outputs.
A full subtractor subtracts three bits (two inputs and a borrow-in) and produces a difference and a
borrow-out.
Digital counters.
Binary multipliers.
Digital comparators.