Embedded Basics From VTU
Embedded Basics From VTU
Embedded Basics From VTU
MODULE 3
Structure
3.1 Objevtive
3.2 Introduction
3.3 Basic Bistable element
3.4 Latches, SR latch,
3.5 Application of SR latch,-A Switch debouncer.
3.6 The gated SR latch.
3.7 The gated D Latch,
3.8 The Master-Slave Flip-Flops (Pulse-Triggered Flip-Flops): The master-slave SR Flip-Flops,
The master-slave JK Flip-Flop,
3.9 Edge Triggered Flip-flop: The Positive Edge-Triggered D Flip-Flop, Negative-Edge
Triggered D Flip-Flop - Characteristic equations.
3.10 Registers,
3.11 Counters-Binary Ripple Counter, Synchronous Binary counters, Counters based on Shift
Registers,
3.12 Design of a Synchronous counters, Design of a Synchronous Mod-N counters using clocked
JK FlipFlops
3.13 Design of a Synchronous Mod-N counter using clocked D, T, or SR Flip-Flops.
3.14 Outcome
3.15 Future Readings
3.1 Objevtive
• To know different between latches and flip flops
• Data storage elements
• Designing of flip flops
• Design of synchronous Mod N for all the flip flops
3.2 Introduction
Logic circuit is divided into two types.
inputs Combinational
outputs
Logic Circuit
2. Sequential Circuits :
Sequential Circuit is the logic circuit in which output depends on present value of inputs
at that instant and past history of circuit i.e. previous output. The past output is stored by
using memory device. The internal data stored in circuit is called as state. The clock is
required for synchronization. The delay depends on propagation delay of circuit and
clock frequency. The examples are flip-flops, registers, counters etc.
inputs outputs
Combinational
Logic Circuit
Memory Device
Flip
Latch is a storage device by using Flip-Flop.
Latch can be controlled by direct inputs.
Latch outputs can be controlled by clock or enable input.
Q and Q
Q are present state for output.
Q+ and Q+ are next states for output.
The function table / Truth table gives relation between inputs and outputs.
The S=R=1 condition
ition is not allowed in SR FF as output is unpredictable.
In SR Flip-Flop
Flop the input combination S=R=1 is not allowed.
JK FF is modified version of SR FF.
Due to feedback from slave FF output to master, J=K=1 is allowed.
J=K=1, toggle, action in FF.
This finds application in counter.
S = 0, R = 1, Q = 1 and Q = 0
3.10 Registers
Register is a group of Flip
Flip-Flops.
It stores binary information 0 or 1.
It is capable of moving data left or right with clock pulse.
Registers are classified as
• Serial-in
in Serial
Serial-Out
• Serial-in
in parallel Out
• Parallel-in
in Serial
Serial-Out
• Parallel-in
in parallel Out
Parallel-in
in Unidirectional Shift Register
Bidirectional Shifting.
Parallel Input Loading.
Serial-Input Serial
Input and Serial-Output.
Parallel-Input Serial
Input and Serial-Output.
Common Reset Input.
4:1 Multiplexer is used to select register operation.
000
111
001
110 010
101 011
100
The excitation table is written considering the present state and next state of counter.
By using flip-flops and logic gate the implementation of synchronous counter is obtained.
1. Clock input is applied to LSB FF. The output 1. Clock input is common to all FF.
of first FF is connected as clock to next FF.
3. Speed depends on no. of FF used for n bit . 3. Speed is indepenSdent of no. of FF used.
4. No extra Logic Gates are required. 4. Logic Gates are required based on
design.
The flip-flop delay time and possibility of glitches are overcome by the use of a synchronous
ornparallel counter. Every flip-flop is triggered in synchronism with the clock
3.14 Outcome
• Student will knoe the necessity of flip flops and its importance
• Design flip flops based on the characteristic equations.
• Will be able to design N Mod Synchronous counter
http://nptel.ac.in/courses/117105080/
https://www.youtube.com/watch?v=VnZLRrJYa2I