240 likes | 421 Views
Objectives:. Given input logice levels, state the output of an RS NAND and RS NOR. Given a clock signal, determine the PGT and NGT. Define “Edge Triggered” and “Level Triggered”. Draw a Clocked F/F with and “Edge Triggered” clock input and a “Level Triggered” clock input. LOGIC CIRCUITS.
E N D
Objectives: Given input logice levels, state the output of an RS NAND and RS NOR. Given a clock signal, determine the PGT and NGT. Define “Edge Triggered” and “Level Triggered”. Draw a Clocked F/F with and “Edge Triggered” clock input and a “Level Triggered” clock input.
LOGIC CIRCUITS Logic circuits are classified into two groups: Combinational logic circuits Logic gates make decisions Basic building blocks include: Sequential logic circuits Flip Flops have memory Basic building blocks include FLIP-FLOPS:
FLIP-FLOPS • Memory device capable of storing one bit • Memory means circuit remains in one state after condition that caused the state is removed. • Two outputs designated Q and Q-Not that are always opposite or complimentary. • When referring to the state of a flip flop, referring to the state of the Q output.
FLIP-FLOPS Symbol SET • To SET a flip flop means to make Q =1 • To RESET a flip flop means to make Q = 0 RESET Truth Table
FLIP-FLOPS • The flip flop is a bi-stable multivibrator; it has two stable states. • The RS flip flop can be implemented with transistors.
Set Normal S Q FF R Q Reset Comple-mentary Mode of OperationInputsOutputs S R Q Q’ Prohibited0 0 1 1 Set 0 1 1 0 Reset 1 0 0 1 Hold1 1 Q Q’ NOTE: Active-LOW inputs R-S FLIP-FLOP Symbols: Truth Table:
R-S FLIP-FLOP Active-Low NAND LATCH DEMORGANIZED NAND LATCH
ACTIVE-LOW R-S FLIP-FLOP TIMING DIAGRAMS
R-S FLIP-FLOP Active-High
ACTIVE-HIGH R-S FLIP-FLOP TIMING DIAGRAMS
TEST Memory 1. Logic gates make decisions, flip flops have ____________________? 2. One flip flop can store how many bits? 3. What are the two outputs of a flip flop? 4. When referring to the state of a flip flop, we’re referring to the state of which output? 5. What does it mean to SET a flip flop? 6. What does it mean to RESET a flip flop? 1 Q Q-NOT Q Q = 1 Q = 0
L ? H Mode of operation = ? H ? H Mode of operation = ? H ? L Mode of operation = ? TEST What is the mode of operation of the R-S flip-flop (set, reset or hold)? What is the output at Q from the R-S flip-flop (active LOW inputs)? High Set High Hold Low Reset
Set Set FF FF S S Q Q Clock CLK Q Q Reset Reset R R ASYNCHRONOUS SYNCHRONOUS Outputs of logic circuit can change state anytime one or more input changes Clock signal determines exact time at which any output can change state CLOCKED R-S FLIP-FLOP
Clock Digital signal in the form of a rectangular or square wave Astable multivibrator A clocked flip flop changes state only when permitted by the clock signal
H L Negative-edge triggering Positive-edge triggering time Level triggering TRIGGERING OF FLIP-FLOPS • Level-triggering is the transfer of data from input to output of a flip-flop anytime the clock pulse is proper voltage level. • Edge-triggering is the transfer of data from input to output of a flip-flop on the rising edge (L-to-H) or falling edge (H-to-L) of the clock pulse. Edge triggering may be either positive-edge (L-to-H) or negative-edge (H-to-L). NGT-Negative Going Transition PGT-Positive Going Transition
Set FF Normal S Q Clock CLK Q Reset R Comple-mentary CLOCKED R-S FLIP-FLOP Symbols: Truth Table: Mode of operationInputsOutputs Clk S R Q Q’ Hold + pulse 0 0 no change Reset + pulse 0 1 0 1 Set+ pulse 1 0 1 0 Prohibited 1 1 0 0 NOTE: Active-High inputs
H ^ L ? Mode of operation = ? L ^ L ? Mode of operation = ? L ^ H ? Mode of operation = ? TEST What is the mode of operation of the clocked R-S flip-flop (set, reset, hold)? What is the output at Q from the clocked R-S flip-flop (active HIGH inputs)? High Set High Hold Low Reset
CLOCKED R-S FLIP-FLOP TIMING DIAGRAMS
POSITIVE EDGE TRIGGERED R-S FLIP-FLOP Symbols: Truth Table:
POSITIVE EDGE TRIGGERED R-S FLIP-FLOP TIMING DIAGRAMS
NEGATIVE EDGE TRIGGERED R-S FLIP-FLOP Symbols: EDGE DETECTOR Truth Table:
NEGATIVE EDGE TRIGGERED R-S FLIP-FLOP TIMING DIAGRAMS
TEST 1. Type of flip flop where the outputs of circuit can change state anytime one or more input changes? ASYNCHRONOUS 2. Type of flip flop where the clock signal controls when any output can change state? SYNCHRONOUS 3. What do we call a digital signal in the form of a repetitive pulse or square wave? CLOCK 4. Which is easier to design and troubleshoot, clocked or not clocked flip flops? Clocked flip flops are easier to troubleshoot because we can stop the clock and examine one set of input and output conditions.