Synchronous Counter with MSI Gates

Slides:



Advertisements
Similar presentations
Lab 13 : Binary Counter Systems:
Advertisements

Synchronous Counters with SSI Gates
Lecture 23: Registers and Counters (2)
Asynchronous Counter with MSI Gates
Digital Logic Circuit Analysis & Design 王 军 王 军 王晓东.
CMPUT Computer Organization and Architecture II1 CMPUT329 - Fall 2003 TopicJ: Counters José Nelson Amaral.
8.4 Counters NextReturn Any clocked sequential circuit whose state diagram contains a single cycle is called a counter. The number of states in the cycle.
Contemporary Logic Design Sequential Case Studies © R.H. Katz Transparency No Chapter #7: Sequential Logic Case Studies 7.1, 7.2 Counters.
Registers & Counters Registers. Shift Registers: Counters:
ENGIN112 L27: Counters November 5, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 27 Counters.
Sequential PLD timing Registers Counters Shift registers
CS370 Counters. Overview °Counter: A register that goes through a prescribed series of states °Counters are important components in computers. °Counters.
ECE 331 – Digital System Design Counters (Lecture #18)
Sequential Circuit Introduction to Counter
EET 1131 Unit 11 Counter Circuits  Read Kleitz, Chapter 12, skipping Sections and  Homework #11 and Lab #11 due next week.  Quiz next week.
Lab 5 :JK Flip Flop and Counter Fundamentals:
Digital Fundamentals with PLD Programming Floyd Chapter 10
Electronics Technology
Counters.
Chapter 1_4 Part II Counters
Registers and Counters
ECE 301 – Digital Electronics Counters (Lecture #16)
Electronics Technology
EE24C Digital Electronics Projects
Rabie A. Ramadan Lecture 3
Digital Design: Principles and Practices
Synchronous Counters with SSI Gates
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Fundamentals Tenth Edition Floyd.
2017/4/24 CHAPTER 6 Counters Chapter 5 (Sections )
EE365 Adv. Digital Circuit Design Clarkson University Lecture #12 Registers and Counters.
Counters By Taweesak Reungpeerakul
ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN Lecture 17 Dr. Shi Dept. of Electrical and Computer Engineering.
7-6 단일 레지스터에서 Microoperation Multiplexer-Based Transfer  Register 가 서로 다른 시간에 둘 이상의 source 에서 data 를 받을 경우 If (K1=1) then (R0 ←R1) else if (K2=1) then.
© 2009 Pearson Education, Upper Saddle River, NJ All Rights ReservedFloyd, Digital Fundamentals, 10 th ed Digital Fundamentals Tenth Edition Floyd.
MSI Counters Counter ICs Technician Series ©Paul Godin Updated Feb 2015 gmail.com.
Sequential logic circuits
Decade Counter (BCD Counter). Introduction A counter which is reset at the 10 th clock pulse is called decade counter. The decade counter is otherwise.
Registers and Counters
EE121 John Wakerly Lecture #9
Counters.
THEME 6: Frequency dividers. Digital counters with reduced counting modulus. Programmable digital counters. If the input pulses are more than K, the counter.
EGR 2131 Unit 9 Registers and Counters
Homework Reading Machine Projects Labs Tokheim Chapter 9.1 – 9.6
Registers and Counters
EET 1131 Unit 11 Counter Circuits
Synchronous Counter with MSI Gates
Asynchronous Counters with SSI Gates
EKT 221 – Counters.
Prof. Hsien-Hsin Sean Lee
EKT 221 : Digital 2 COUNTERS.
Sequential Logic Counters and Registers
Flip-FLops and Latches
Sequential Circuit: Counter
Flip-FLops and Latches
Flip-FLops and Latches
Digital Fundamentals with PLD Programming Floyd Chapter 10
Asynchronous Counters with SSI Gates
Flip-FLops and Latches
Asynchronous Counter with MSI Gates
Synchronous Counters with MSI Gates
Flip-FLops and Latches
Synchronous Counters with MSI Gates
CSE 370 – Winter Sequential Logic-2 - 1
EET 1131 Unit 11 Counter Circuits
Chapter 8 Counters Changjiang Zhang
Switching Theory and Logic Design Chapter 5:
14 Digital Systems.
Flip-FLops and Latches
Registers and Counters
LS00 3 IN OUT Gnd Figure 1: (a) Logic Level Measurement (Measure voltage at OUT node). (b) Power Supply Wiring.
Presentation transcript:

Synchronous Counter with MSI Gates Synchronous Counters with MSI Gates Digital Electronics TM 3.3 Synchronous Counters Synchronous Counter with MSI Gates Project Lead The Way, Inc. Copyright 2009

Synchronous MSI Counter Synchronous Counters with MSI Gates Digital Electronics TM 3.3 Synchronous Counters Synchronous MSI Counter This presentation will Introduce the 74LS163 Synchronous 4-Bit Binary Up Counter. Review the 74LS163’s connection diagrams, signal descriptions, logic and timing diagrams. Provide an examples of a counter application implemented with the 74LS163. Introduce the 74LS193 Synchronous 4-Bit Binary Up/Down Counter. Review the 74LS193’s connection diagrams, signal descriptions, logic and timing diagrams. Provide an examples of a counter application implemented with the 74LS193. Introductory Slide / Overview of Presentation Project Lead The Way, Inc. Copyright 2009

74LS163 Synchronous Binary Up Counter Synchronous Counters with MSI Gates Digital Electronics TM 3.3 Synchronous Counters 74LS163 Synchronous Binary Up Counter Four Bit Synchronous Up Counting. Pre-loadable Count Start Synchronous Load Synchronous Clear Two Count Enable Inputs Carry-Out Signal for Counter Cascading Summary of 74LS163 Feature Set. Project Lead The Way, Inc. Copyright 2009

Synchronous Counters with MSI Gates Digital Electronics TM 3.3 Synchronous Counters 74LS163 Component Diagram 74LS163 Component Diagram From CDS 74LS163 Connection Diagram From Datasheet 74LS163 connection diagrams from circuit design software and manufacturer’s datasheet. Project Lead The Way, Inc. Copyright 2009

74LS163 Signal Descriptions (1 of 2) Synchronous Counters with MSI Gates Digital Electronics TM 3.3 Synchronous Counters 74LS163 Signal Descriptions (1 of 2) Signal Name: A : Data Input (LSB) B : Data Input C : Data Input D : Data Input (MSB) QA : Data Output (LSB) QB : Data Output QC : Data Output QD : Data Output (MSB) 74LS163 signal descriptions A, B, C, D : Are the data inputs, this is the data that can be load into the counter. This is how the lower limit of the count is set. QA, QB, QC, QD : Are the data outputs. This is the count of the counter. Project Lead The Way, Inc. Copyright 2009

74LS163 Signal Descriptions (2 of 2) Synchronous Counters with MSI Gates Digital Electronics TM 3.3 Synchronous Counters 74LS163 Signal Descriptions (2 of 2) Signal Name: ENP : Count Enable P ENT : Count Enable T LOAD : Data Load CLEAR : Clears The Counter CLOCK : Clock Input RCO : Ripple Carry Out 74LS163 signal descriptions ENP & ENT : These are enable inputs. They both need to be a logic (1) for the counter to be enabled. For most free running counters, these input will be tied high. LOAD : This is the load input. When this input is a logic (0), the data on the Data Input lines is loaded into the counter. Note, LOAD is a synchronous input. Thus, the Data Input will be loaded into the counter on the next rising edge of the clock when the LOAD input is a logic (0). CLEAR : This is the clear input. When this input is a logic (0), and the counter is disabled, the counter will be cleared. Another words, you can’t clear an enabled counter. The counter must first be disabled, then cleared. CLOCK : This is the clock input. It is a positive edge trigger clock. RCO : This is the Ripple Carry Output. This output is a logic (1) when the counter is at it upper limit (1111). This signal is typically used to when the multiple counters are cascaded. Project Lead The Way, Inc. Copyright 2009

Synchronous Counters with MSI Gates Digital Electronics TM 3.3 Synchronous Counters 74LS163 Logic Diagram 74LS163 logic diagrams from manufacturer’s datasheet. The students are not responsible for this material, but it is here just as a reference to show them the complexity of this MSI counter. Also, point out the all the clocks are tied together, that is why this is a synchronous counter design. Project Lead The Way, Inc. Copyright 2009

Synchronous Counters with MSI Gates 74LS163 Timing Diagram (1 of 3) Digital Electronics TM 3.3 Synchronous Counters A B CLEAR set to a logic (0); Outputs are cleared on next rising edge of clock. LOAD set to a logic (0); Outputs are loaded with input data on next rising edge of clock. In this example a 12 (1100) is loaded. Shown is the composite timing diagram for the 74LS163 & 74LS161 counter. Since we will only be discussing the 74LS163 the two waveform on the diagram the are for the 74LS161 can be ignored. Project Lead The Way, Inc. Copyright 2009

Synchronous Counters with MSI Gates 74LS163 Timing Diagram (2 of 3) Digital Electronics TM 3.3 Synchronous Counters C Counting is enabled; ENT & ENP are both set to a logic (1). On every rising edge of clock, the output count is incremented by one. In this example 12, 13, 14, 15, 0, 1, 2. Note, when the count is 15, RCO is a logic (1) for the full clock cycle . Shown is the composite timing diagram for the 74LS163 & 74LS161 counter. Since we will only be discussing the 74LS163 the two waveform on the diagram the are for the 74LS161 can be ignored. Project Lead The Way, Inc. Copyright 2009

Synchronous Counters with MSI Gates 74LS163 Timing Diagram (3 of 3) Digital Electronics TM 3.3 Synchronous Counters D E ENP set to a logic (0); Counting is disabled. ENT set to a logic (0); Counting is disabled. Shown is the composite timing diagram for the 74LS163 & 74LS161 counter. Since we will only be discussing the 74LS163 the two waveform on the diagram the are for the 74LS161 can be ignored. Project Lead The Way, Inc. Copyright 2009

Synchronous Counters with MSI Gates Digital Electronics TM 3.3 Synchronous Counters 74LS163 Design Example #1 In this example, the 74LS163 is setup as a free running (i.e. no enable & no clear) up counter from 0 to 15. Note that the RCO is high when the count is F=15=1111. “0” “1” “2” “3” “4” “5” “6” “7” “8” “9” “A” “B” “C” “D” “E” “F” “0” Repeats → RCO QD QC QB QA CLK Project Lead The Way, Inc. Copyright 2009

Synchronous Counters with MSI Gates Digital Electronics TM 3.3 Synchronous Counters 74LS163 Design Example #2 “B” “C” “D” “3” “4” “5” “6” “7” “8” “9” “A” “B” “C” “D” “3” “4” “5” Repeats → In this example, the 74LS163 is setup as a 3 to D (13) up counter. Note, LOAD signal goes low when the count is 1101 (D). Because the LOAD signal is a synchronous input, input data of 3 (0011) is not loaded until the next rising edge of the clock. RCO QD QC QB QA LOAD CLK Project Lead The Way, Inc. Copyright 2009

74LS193 Synchronous Binary Up/Down Ctr Synchronous Counters with MSI Gates Digital Electronics TM 3.3 Synchronous Counters 74LS193 Synchronous Binary Up/Down Ctr Four Bit Synchronous Up / Down Counting. Separate Clock Inputs for Up & Down Counting Pre-loadable Count Start Asynchronous Load Asynchronous Clear Carry-Out Signal for Counter Cascading Up Counters Borrow-Out Signal for Counter Cascading Down Counters Summary of 74LS193 Feature Set. Project Lead The Way, Inc. Copyright 2009

Synchronous Counters with MSI Gates Digital Electronics TM 3.3 Synchronous Counters 74LS193 Component Diagram 74LS193 Component Diagram From CDS 74LS193 Connection Diagram From Datasheet 74LS193 connection diagrams from circuit design software and manufacturer’s datasheet. Project Lead The Way, Inc. Copyright 2009

74LS193 Signal Descriptions (1 of 2) Synchronous Counters with MSI Gates Digital Electronics TM 3.3 Synchronous Counters 74LS193 Signal Descriptions (1 of 2) Signal Name: A : Data Input (LSB) B : Data Input C : Data Input D : Data Input (MSB) QA : Data Output (LSB) QB : Data Output QC : Data Output QD : Data Output (MSB) 74LS193 signal descriptions A, B, C, D : Are the data inputs, this is the data that can be load into the counter. This is how the up/lower limit of the count is set. QA, QB, QC, QD : Are the data outputs. This is the count of the counter. Project Lead The Way, Inc. Copyright 2009

74LS193 Signal Descriptions (2 of 2) Synchronous Counters with MSI Gates Digital Electronics TM 3.3 Synchronous Counters 74LS193 Signal Descriptions (2 of 2) Signal Name: UP : Up Counter Clock Input DOWN : Down Counter Clock Input ~LOAD : Data Load CLR : Clears The Counter ~BO : Borrow Output ~CO : Carry Output 74LS193 signal descriptions UP : This is the clock input for the up counter. DOWN must be held at a logic (1). DOWN : This is the clock input for the down counter. UP must be held at a logic (1). LOAD : This is the load input. When this input is a logic (0), the data on the Data Input lines is loaded into the counter. Note, LOAD is an asynchronous input. Thus, the Data Input will be loaded immediately. CLR : This is the clear input. When this input is a logic (1), the counter will be cleared. Note, CLR is an asynchronous input. Thus, the Data Output will be cleared immediately. CO : This is the Carry Output. This output is a logic (0) when the counter is at it upper limit (1111) when the counter is an up counter. This signal is typically used to when the multiple counters are cascaded. BO : This is the Borrow Output. This output is a logic (0) when the counter is at it lower (000) when the counter is a down counter. This signal is typically used to when the multiple counters are cascaded. Project Lead The Way, Inc. Copyright 2009

Synchronous Counters with MSI Gates Digital Electronics TM 3.3 Synchronous Counters 74LS193 Logic Diagram 74LS193 logic diagrams from manufacturer’s datasheet. The students are not responsible for this material, but it is here just as a reference to show them the complexity of this MSI counter. Also, point out the all the clocks are tied together, that is why this is a synchronous counter design. Project Lead The Way, Inc. Copyright 2009

Synchronous Counters with MSI Gates 74LS193 Timing Diagram (1 of 3) Digital Electronics TM 3.3 Synchronous Counters A B CLEAR set to a logic (1); Outputs are cleared immediately. CLEAR is an asynchronous input. LOAD set to a logic (0); Outputs are loaded with input data immediately. In this case13 (1101). LOAD is an asynchronous input. Shown is the composite timing diagram for the 74LS193 counter. Project Lead The Way, Inc. Copyright 2009

Synchronous Counters with MSI Gates 74LS193 Timing Diagram (2 of 3) Digital Electronics TM 3.3 Synchronous Counters C COUNT UP is clocked and COUNT DOWN is a logic (1). On every rising edge of clock, the output count is incremented by one. In this example 13, 14, 15, 0, 1, 2. Note, when the count is 15, CARRY is a logic (0) for ½ the clock cycle . Shown is the composite timing diagram for the 74LS193 counter. Project Lead The Way, Inc. Copyright 2009

Synchronous Counters with MSI Gates 74LS193 Timing Diagram (3 of 3) Digital Electronics TM 3.3 Synchronous Counters D COUNT DOWN is clocked and COUNT UP is a logic (1). On every rising edge of clock, the output count is decremented by one. In this example 2, 1, 0, 15, 14, 13. Note, when the count is 0, BORROW is a logic (0) for ½ the clock cycle . Shown is the composite timing diagram for the 74LS193 counter. Project Lead The Way, Inc. Copyright 2009

Synchronous Counters with MSI Gates Digital Electronics TM 3.3 Synchronous Counters 74LS193 Design Example #1 “C” “D” “E” “F” “0” “1” “2” “3” “4” “5” “6” “7” “8” “9” “A” “B” “C” “D” “E” “F” “0” “1” “2” “3” In this example, the 74LS193 is setup as a free running up counter (i.e. no enable & no clear) from 0 to 15. Note that the CO is low when the count is F=15=1111. CO BO QD QC QB QA CLK Repeats → Project Lead The Way, Inc. Copyright 2009

Synchronous Counters with MSI Gates Digital Electronics TM 3.3 Synchronous Counters 74LS193 Design Example #2 “3” “2” “1” “0” “F” “E” “D” “C” “B” “A” “9” “8” “7” “6” “5” “4” “3” “2” “1” “0” “F “E” “D” “C” Repeats → In this example, the 74LS193 is setup as a free running (i.e. no enable & no clear) down counter from 15 to 0. Note that the BO is low when the count is 0=0000. CO BO QD QC QB QA CLK Project Lead The Way, Inc. Copyright 2009

Synchronous Counters with MSI Gates Digital Electronics TM 3.3 Synchronous Counters 74LS193 Design Example #2 “5” “4” “3” “D” “C” “B” “A” “9” “8” “7” “6” “5” “4” “3” “D” “C” In this example, the 74LS193 is setup as a D (13) to 3 down counter. Note, LOAD signal goes low when the count is 2 (0010). Because the LOAD signal is an asynchronous input, the output 2 (0010) is only at the output VERY briefly until the input data (D=13=1101) is loaded. The LOAD signal is low so briefly, it doesn’t even show on the waveform. RCO QD QC QB QA LOAD CLK Repeats → Project Lead The Way, Inc. Copyright 2009