Presentation is loading. Please wait.

Presentation is loading. Please wait.

Electronic memory & logic devices. Solid State Physics N N P P +- Transistors And diodes Logic gates Memory devices : Flip flops Flip Flop Flip Flop Flip.

Similar presentations


Presentation on theme: "Electronic memory & logic devices. Solid State Physics N N P P +- Transistors And diodes Logic gates Memory devices : Flip flops Flip Flop Flip Flop Flip."— Presentation transcript:

1 Electronic memory & logic devices

2 Solid State Physics N N P P +- Transistors And diodes Logic gates Memory devices : Flip flops Flip Flop Flip Flop Flip Flop Output Clock Input Output’ Input 2

3 Transistors

4 Abstract Transistors have six salient features. First, they rapidly switch between two states in response to an input signal. Second, a small input voltage can control a large output voltage. Third, voltage is the common I/O signal carrier. Fourth, wires are the common interconnect. Fifth, common I/O and wires enable addressable signals, which means specific connections between devices. Sixth, amplification and addressable signals enables restoration, because the output voltage greatly exceeds the voltage necessary to control a downstream transistor.

5 A transistor

6 In the schematic below, current through the load resistor determine the output (state) of the device.

7 Current through the load is determined by the current through the two lower terminals of the device.

8 The current through the two lower terminals of the device is non-linearly responsive to the input voltage.

9 Therefore the output voltage is non-linearly responsive to the input voltage.

10 Logic gates

11 Abstract Transistors can be assembled into devices that render Boolean logic functions. The input and output voltages represent logic 0 or 1. NAND is the universal logic gate, and underpins design of higher level memory devices like latches and flip-flops.

12 R A NAND gate If either input is a logic 0, output is a logic 1.

13 R Function No current travels through circuit if either transistor switch is open (logic 0 input A or B). Thus, no voltage drop across the load (4.7K) resistor and all voltage drop across transistors. Because output is taken across the transistors, rather than the load, and because voltage drop across transistors is high, logic 1 is output if either input A or B is a logic 0.

14 Vb = 0.6V NAND is the universal logic gate

15 Latches

16 Abstract NAND gate latch, implemented in flip-flops, is a simple memory device that will latch onto an output state when both inputs are one. If zero is input, the latch output is 1, independent of prior state. The latch will hold state if both inputs are equal to 1.

17 Input 1 Input 2 Output Output ’ NAND gate latch

18 S QR S QR Prior state = 1 0 Prior state = 0 Holds state if both inputs are one

19 D-type flip-flops

20 Abstract D-flip flop implements a NAND gate latch. The flip-flop output equals the Input, if enabled. The enable can be a clock. In this case, the output tracks the input when the clock is a logic 1.

21 In Q, output Latch Enable 0 or 1 Enable 0 or 1 D-type flip-flop

22 D QE Latch Output equals input if enabled.

23 Clock A clock can serve as the enable.

24 In Output Latch Clock In Output Enable Output tracks input when clock is logic 1.

25 JK-type flip-flops

26 Abstract JK flip-flops also implement latches. Because of feedback, this flip-flop architecture will toggle output states when both inputs are logic 1. The enable can be a clock. In this case, the state of the flip-flop will toggle at the positive going transition of the clock, if both input are logic 1. Flip-flops have at least four salient features that admit well to implementation in systems. They perform fast computation. They have a consistent definition for logic 0 and 1. They perform the same function independent of their position (context) within a circuit. They have common interconnect and I/O signal carrier, which enable programming via specific device connections.

27 K QE Input Latch Enable No Change Input 2 J Toggle 1 JK Fli-flop : Output state toggles if both inputs are logic 1. Output Output ’

28 K QE 1 11 Toggle Latch J Prior output = 1 New output = 0

29 K QE 1 11 Toggle 0 1 J Prior output = 0 New output = 1 Latch 1 1

30 A clock can serve as the enable. Each positive going clock transition serves as a trigger. Clock

31 “Trigger” “Inputs” Bit State Output state toggles if both inputs are logic 1.

32 “Trigger” “Inputs” Bit State But both flip-flop inputs must be high.

33 Flip Flop Flip Flop Output Clock Input Output’ Input 2 Output Clock Input 2 Input 1 High Function


Download ppt "Electronic memory & logic devices. Solid State Physics N N P P +- Transistors And diodes Logic gates Memory devices : Flip flops Flip Flop Flip Flop Flip."

Similar presentations


Ads by Google