Unit 2[1] . technology with the informationpptx

abhinegi063 5 views 70 slides Mar 02, 2025
Slide 1
Slide 1 of 70
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21
Slide 22
22
Slide 23
23
Slide 24
24
Slide 25
25
Slide 26
26
Slide 27
27
Slide 28
28
Slide 29
29
Slide 30
30
Slide 31
31
Slide 32
32
Slide 33
33
Slide 34
34
Slide 35
35
Slide 36
36
Slide 37
37
Slide 38
38
Slide 39
39
Slide 40
40
Slide 41
41
Slide 42
42
Slide 43
43
Slide 44
44
Slide 45
45
Slide 46
46
Slide 47
47
Slide 48
48
Slide 49
49
Slide 50
50
Slide 51
51
Slide 52
52
Slide 53
53
Slide 54
54
Slide 55
55
Slide 56
56
Slide 57
57
Slide 58
58
Slide 59
59
Slide 60
60
Slide 61
61
Slide 62
62
Slide 63
63
Slide 64
64
Slide 65
65
Slide 66
66
Slide 67
67
Slide 68
68
Slide 69
69
Slide 70
70

About This Presentation

hi how are you


Slide Content

Unit 2 Sequential Logic

Unit 2 Sequential Logic: Introduction, Types of Seguential circuits Basic storage elements (Latch and Flip-flops), Characteristic equations & tables, excitation table, Flip-flop conversion, Register, Universal Shift register.

Sequential Logic Sequential circuits are digital circuits that store and use the previous state information to determine their next state. Unlike combinational circuits, which only depend on the current input values to produce outputs, sequential circuits depend on both the current inputs and the previous state stored in memory elements. Sequential circuits are commonly used in digital systems to implement state machines, timers, counters, and memory elements. The memory elements in sequential circuits can be implemented using flip-flops, which are circuits that store binary values and maintain their state even when the inputs change. There are two types of sequential circuits: finite state machines (FSMs) and synchronous sequential circuits. FSMs are designed to have a limited number of states and are typically used to implement state machines and control systems. Synchronous sequential circuits, on the other hand, are designed to have an infinite number of states and are typically used to implement timers, counters, and memory elements.

As shown in the figure, there are two types of input to the combinational logic :  External inputs which are not controlled by the circuit. Internal inputs, which are a function of a previous output state. Secondary inputs are state variables produced by the storage elements, whereas secondary outputs are excitations for the storage elements. 

Types of Sequential Circuits: There are two types of sequential circuits:   Type 1:  Asynchronous sequential circuit:   These circuits  do not use a clock signal  but uses the pulses of the inputs. These circuits are  faster  than synchronous sequential circuits because there is clock pulse and change their state immediately when there is a change in the input signal. We use asynchronous sequential circuits when speed of operation is important and  independent  of internal clock pulse.  But these circuits are more  difficult  to design and their output is  uncertain .   

Type2:  Synchronous sequential circuit: These circuits  uses clock signal  and level inputs (or pulsed) (with restrictions on pulse width and circuit propagation). The output pulse is the same duration as the clock pulse for the clocked sequential circuits. Since they wait for the next clock pulse to arrive to perform the next operation, so these circuits are bit  slower  compared to asynchronous. Level output changes state at the start of an input pulse and remains in that until the next input or clock pulse.  We use synchronous sequential circuit in synchronous counters, flip flops, and in the design of MOORE-MEALY state management machines. We use sequential circuits to design Counters, Registers, RAM, MOORE/MEALY Machine and other state retaining machines. 

Advantages of Sequential Circuits: Memory : Sequential circuits have the ability to store binary values, which makes them ideal for applications that require memory elements, such as timers and counters. Timing : Sequential circuits are commonly used to implement timing and synchronization in digital systems, making them essential for real-time control applications. State machine implementation : Sequential circuits can be used to implement state machines, which are useful for controlling complex digital systems and ensuring that they operate as intended. Error detection : Sequential circuits can be designed to detect errors in digital systems and respond accordingly, improving the reliability of digital systems.

Disadvantages of Sequential Circuits: Complexity : Sequential circuits are typically more complex than combinational circuits and require more components to implement. Timing constraints : The design of sequential circuits can be challenging due to the need to ensure that the timing of the inputs and outputs is correct. Testing and debugging : Testing and debugging sequential circuits can be more difficult compared to combinational circuits due to their complex structure and state- dependant outputs.

Difference between Flip-flop and Latch S. NO. Flip-flop Latch 1 Flip-flop is a bistable device i.e., it has two stable states that are represented as 0 and 1. Latch is also a bistable device whose states are also represented as 0 and 1. 2 It checks the inputs but changes the output only at times defined by the clock signal or any other control signal. It checks the inputs continuously and responds to the changes in inputs immediately. 3 It is a edge triggered device. It is a level triggered device. 4 Gates like NOR, NOT, AND, NAND are building blocks of flip flops. These are also made up of gates. 5 They are classified into asynchronous or synchronous flipflops. There is no such classification in latches. 6 It forms the building blocks of many sequential circuits like counters. These can be used for the designing of sequential circuits but are not generally preferred. 7 a, Flip-flop always have a clock signal Latches doesn’t have a clock signal 8 Flip-flop can be build from Latches Latches can be build from gates 9 ex:D Flip-flop, JK Flip-flop ex:SR Latch, D Latch

Race-round Condition in JK FF If both the  J  and  K  inputs are HIGH at logic “1” (J = K = 1), when the clock input goes HIGH, the circuit will “ toggle ” as its outputs switch and change state complementing each other. This results in the JK flip-flop acting more like a T-type toggle flip-flop when both terminals are “ HIGH ”. However, as the outputs are fed back to the inputs, this can cause the output at  Q  to oscillate between SET and RESET continuously after being complemented once. While this JK flip-flop circuit is an improvement on the clocked SR flip-flop it also suffers from timing problems called “ race ” if the output  Q  changes state before the timing pulse of the clock input has time to go “OFF ”. To avoid this the timing pulse period (  T  ) must be kept as short as possible (high frequency). As this is sometimes not possible with basic JK’s built using basic NAND or NOR gates, far more advanced master-slave (edge-triggered) flip-flops were developed which are more stabe .

M aster-Slave (edge-triggered) flip-flops

Preset /clear

Characteristic equations & tables: RS LATCH

1 1 Characteristic equations & tables: D LATCH

Characteristic equations & tables: JK LATCH

Characteristic equations & tables: T LATCH

Excitation Table and Flip -F lop conversion

Conversion of SR FF into D FF

Conversion of SR FF into JK FF KQ(t)

Conversion of SR FF into T FF

Conversion of D FF into JK FF

Conversion of D FF into JK FF

Shift Registers

SISO Shift Registers

SIPO Shift Registers

PISO Shift Registers

PIPO Shift Registers

Universal Shift Registers