1 Homework Reading –Tokheim Chapter 9.1 – 9.6 Machine Projects –Continue on mp3 Labs –Continue in labs with your assigned section.

Slides:



Advertisements
Similar presentations
COUNTERS Counters with Inputs Kinds of Counters Asynchronous vs
Advertisements

CHAPTER 3 Sequential Logic/ Circuits.  Concept of Sequential Logic  Latch and Flip-flops (FFs)  Shift Registers and Application  Counters (Types,
Digital Logic Chapter 5 Presented by Prof Tim Johnson
Sequential Logic Latches and Flip-Flops. Sequential Logic Circuits The output of sequential logic circuits depends on the past history of the state of.
EET 1131 Unit 10 Flip-Flops and Registers
EKT 124 / 3 DIGITAL ELEKTRONIC 1
Half Adder Sum = X’Y+XY’ = X  Y Carry = XY YXYXYX  YYYX  XX XOR XNOR.
Counter Circuits and VHDL State Machines
Homework Reading Machine Projects Labs Tokheim Chapter 9.1 – 9.6
ENGIN112 L20: Sequential Circuits: Flip flops October 20, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 20 Sequential Circuits: Flip.
CS 151 Digital Systems Design Lecture 20 Sequential Circuits: Flip flops.
ENGIN112 L27: Counters November 5, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 27 Counters.
CS370 Counters. Overview °Counter: A register that goes through a prescribed series of states °Counters are important components in computers. °Counters.
C.S. Choy1 SEQUENTIAL LOGIC A circuit’s output depends on its previous state (condition) in addition to its current inputs The state of the circuit is.
Sequential Circuit Introduction to Counter
Lab 5 :JK Flip Flop and Counter Fundamentals:
Introduction Flip-flops are synchronous bistable devices. The term synchronous means the output changes state only when the clock input is triggered. That.
Sequential Circuit  It is a type of logic circuit whose output depends not only on the present value of its input signals but on the past history of its.
Chapter 3: Sequential Logic Circuit EKT 121 / 4 ELEKTRONIK DIGIT 1.
A presentation on Counters
Electronics Technology
1 Sequential Circuits Registers and Counters. 2 Master Slave Flip Flops.
Registers and Counters
Electronics Technology
EE2174: Digital Logic and Lab Professor Shiyan Hu Department of Electrical and Computer Engineering Michigan Technological University CHAPTER 9 Sequential.
Rabie A. Ramadan Lecture 3
CENT-113 Digital Electronics 1 Flip Flops TI Type 502 Flip Flop: 1st production IC in 1960.
2017/4/24 CHAPTER 6 Counters Chapter 5 (Sections )
ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN Lecture 17 Dr. Shi Dept. of Electrical and Computer Engineering.
FLIP FLOP By : Pn Siti Nor Diana Ismail CHAPTER 1.
 Counters are sequential circuits which "count" through a specific state sequence. They can count up, count down, or count through other fixed sequences.
ECA1212 Introduction to Electrical & Electronics Engineering Chapter 9: Digital Electronics – Sequential Logic by Muhazam Mustapha, November 2011.
Digital Logic Design.
Counter Circuits and VHDL State Machines
Sequential logic circuits
1 Lecture #11 EGR 277 – Digital Logic Ch. 5 - Synchronous Sequential Logic There are two primary classifications of logic circuits: 1.Combinational logic.
Counters and Registers Synchronous Counters. 7-7 Synchronous Down and Up/Down Counters  In the previous lecture, we’ve learned how synchronous counters.
EKT 121 / 4 ELEKTRONIK DIGIT I
Unit 1 – Counters and Registers Mr. Grimming. Introduction FFs and logic gates are combined to form various counters and registers. Unit Goals Goals:
Chapter 6 – Digital Electronics – Part 1 1.D (Data) Flip Flops 2.RS (Set-Reset) Flip Flops 3.T Flip Flops 4.JK Flip Flops 5.JKMS Flip Flops Information.
Flip Flops 3.1 Latches and Flip-Flops 3 ©Paul Godin Created September 2007 Last Edit Aug 2013.
Counters and registers Eng.Maha Alqubali. Registers Registers are groups of flip-flops, where each flip- flop is capable of storing one bit of information.
1 Registers A register is a group of n flip-flops each of them capable of storing one bit of information There are two types of registers: parallel and.
Chapter 35 Sequential Logic Circuits. Objectives After completing this chapter, you will be able to: –Describe the function of a flip-flop –Identify the.
Flip-Flop Flip-flops Objectives Upon completion of this chapter, you will be able to :  Construct and analyze the operation of a latch flip-flop made.
Sequential logic circuits First Class 1Dr. AMMAR ABDUL-HAMED KHADER.
Sequential Logic Design
FLIP FLOPS Binary unit capable of storing one bit – 0 or 1
LATCHED, FLIP-FLOPS,AND TIMERS
Homework Reading Machine Projects Labs Tokheim Chapter 9.1 – 9.6
Asynchronous Counters with SSI Gates
EKT 221 – Counters.
EKT 221 : Digital 2 COUNTERS.
Sequential Logic Counters and Registers
Flip-Flop.
ECE Digital logic Lecture 16: Synchronous Sequential Logic
Digital Fundamentals with PLD Programming Floyd Chapter 10
Registers and Counters Register : A Group of Flip-Flops. N-Bit Register has N flip-flops. Each flip-flop stores 1-Bit Information. So N-Bit Register Stores.
COE 202: Digital Logic Design Sequential Circuits Part 4
Counters and Registers
29-Nov-18 Counters Chapter 5 (Sections ).
CSE 370 – Winter Sequential Logic-2 - 1
FLIP-FLOPS.
Digital Logic Department of CNET Chapter-6
Digital Logic Department of CNET Chapter-6
Flip-Flops.
14 Digital Systems.
Outline Registers Counters 5/11/2019.
Counters.
Week 11 Flip flop & Latches.
Presentation transcript:

1 Homework Reading –Tokheim Chapter 9.1 – 9.6 Machine Projects –Continue on mp3 Labs –Continue in labs with your assigned section

2 Sequential Circuits A sequential circuit is constructed using a combinational circuit with memory circuits Similar to a C function with static internal variables (state memory) One additional input is a clock signal Combinational Logic Memory Elements Input(s) Output(s) Clock

3 Simple Memories (Flip-Flops) Simplest is Reset-Set (R-S type) Note the inverted signal inputs Can buy a standard TTL R-S flip-flop (279) SRQQ no change 00prohibited R SQ Q NAND R S Q Q

4 Simple Memories (Flip-Flops) Timing Diagram S R Q SetResetHold No Effect No Effect Hold

5 Synchronous Flip-Flops Use of a clock to make the circuit synchronous Syn (with) + chronous (clock) => with a clock Level-triggered (changes state while clock high) NAND R-S Flip Flop NAND R Clock S Q Q TRUTH TABLE S R Clock Q No Chg 1 1 Prohibited S R

6 The D-Type Flip-Flop Single data input and edge-triggered clock Also called a “Delay” flip-flop (D-type) Changes state on either rising or falling edge TRUTH TABLE D Clock Q 0 1 NAND R-S Flip Flop NAND Clock Q Q S R Edge To Pulse Converter ABC (Due to delay through inverter) 100 D (Data) AND A B C

7 Actual D-Type Flip-Flop Has preset (PR) and clear (CLR) inputs which can be set asynchronously (but not both at same time) Nomenclature use > for an edge-triggered input D > Clk Q Q PR CLR

Reset Circuitry When power is turned on, there is a time delay for power to reach each part of the circuit and to stabilize at the rated voltage We need to apply a reset signal for longer than that time delay to all memories Reset signal presets (to 1) or clears (to 0) every flip-flop in the system as needed Reset signal is released after a time delay Reset button causes reset signal to be asserted and released again after time delay 8

Example Reset Circuitry 9 R C Reset Button To All Flip-Flops Ground Power Time Constant = R * C V Time

10 Timing Diagrams for D Flip-Flop

11 Clock - Divide by Two Counter Connect Q output back to D input Timing Diagram (after starting with Q = 0) D > Clk Q Q PR CLR Clk Q Q is an output clock at ½ the frequency of the input clock

12 Shift Registers Serial in, Parallel out: DQ FF3 DQ FF2 DQ FF1 DQ FF0 Serial Data In Clock In Four Bit Parallel Output Available After Four Clocks/Shifts

13 Shift Registers Parallel in, Serial out: DQ FF3 DQ FF2 DQ FF1 DQ FF0 Serial Data Out Clock In Four Bit Parallel Input Presented for One Clock Edge while “Load” Signal is True MUxMUx MUxMUx Load/Shift# MUxMUx MUxMUx 1

14 The J-K or Universal Flip-Flop Named for Jack Kilby (TI Engineer / Inventor of IC) Three synchronous inputs (plus preset and clear) J-K flip-flop is available as a 7473 chip Can be edge-triggered or level-triggered Example shown is falling “edge triggered” J K Q Q PR CLR >Clk TRUTH TABLE J K Clock Q 0 0 Stays same Toggles

15 J-K Flip-Flop Internals AND R-S Flip Flop AND Clock Q Q S R K Edge Detect J Avoids an invalid input such as 0 0 to the R-S Flip Flop

16 Using J-K Flip-Flops Primary use is for storage registers and counters Mod-16 counter also known as a ripple counter > J K Q X0X0 > J K Q X1X1 > J K Q X2X2 > J K Q X3X3 X 3 X 2 X 1 X 0 counts 0x0... 0xF (Hexadecimal) sequentially Vcc (+5 V) Clk

17 Timing diagram for Mod-16 Counter Note that the counter actually serves to divide down the input clock!

18 Counter Range != 2 N Can we we make it count to something different than 2 N ? Ans. Yes, using a combinational logic (a NAND Gate in this case) Counts: 0, 1, 2, 3, 4, 5, 0, 1, … > J K Q X0X0 > J K Q X1X1 > J K Q X2X2 Clk Vcc (+5 V) NAND Reset

19 Synchronous BCD up/down counter BCD Up/Down Counter is available as a BCD stands for Binary Coded Decimal Counts , then carries QDQD QCQC QBQB QAQA Borrow Carry BCD Up/Down Counter Clear Count Up Count Down Load Data D C B A LED Bit Display

20 Describing Sequential Circuits In general, –Next state = f(inputs, current state) –Outputs = f(inputs, current state) Example: State diagram:

21 Digital Logic Summary Combinational circuits: –Made from gates without feedback –Have no internal states –Outputs depend only on current inputs –Fully defined by truth table on the inputs –Passes clocks (if any) as wave trains –Output states constantly change with inputs

22 Digital Logic Summary Sequential circuits: –Have feedback among the gates –Can have internal states –Outputs depend on inputs and past inputs (via values of internal states) –Not completely described by pure truth table on inputs –Usually one input is a clock signal –Outputs usually change on one clock edge only