EE365 Adv. Digital Circuit Design Clarkson University Lecture #12 Registers and Counters.

Slides:



Advertisements
Similar presentations
Announcements Assignment 7 posted, due Friday 18 th All project components ordered Dates –Thursday 12/1 review lecture –Tuesday 12/6 project demonstrations.
Advertisements

Ch 8. Sequential logic design practices 1. Documentation standards ▶ general requirements : signal name, logic symbol, schematic logic - state machine.
Digital Digital: Chapter 8. Sequential Logic Design Practices 1 Chapter 8. Sequential Logic Design Practices.
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:
11/16/2004EE 42 fall 2004 lecture 331 Lecture #33: Some example circuits Last lecture: –Edge triggers –Registers This lecture: –Example circuits –shift.
Shift Registers and Shift Register Counters
Logic and Computer Design Fundamentals Registers and Counters
Parallel–to-serial conversion(P712) 8.5 Shift Registers NextReturn serial input Shift-Register Structure serial output parallel input parallel output.
David Culler Electrical Engineering and Computer Sciences
11/15/2004EE 42 fall 2004 lecture 321 Lecture #32 Registers, counters etc. Last lecture: –Digital circuits with feedback –Clocks –Flip-Flops This Lecture:
Sequential PLD timing Registers Counters Shift registers
Digital Logic Design Lecture 24. Announcements Homework 8 due today Exam 3 on Tuesday, 11/25. – Topics for exam are up on the course webpage.
EE365 Adv. Digital Circuit Design Clarkson University Lecture #10 Latches, Flip Flops & Sequential PALS.
EE365 Adv. Digital Circuit Design Clarkson University Lecture #8 Buffers, Drivers, Encoders, MUXs & XORs.
Sistemas Digitais I LESI - 2º ano Lesson 8 - Sequential Design Practices U NIVERSIDADE DO M INHO E SCOLA DE E NGENHARIA Prof. João Miguel Fernandes
ENGIN112 L26: Shift Registers November 3, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 26 Shift Registers.
Sequential Circuit Introduction to Counter
KU College of Engineering Elec 204: Digital Systems Design
1 Digital Design: Sequential Logic Blocks Credits : Slides adapted from: J.F. Wakerly, Digital Design, 4/e, Prentice Hall, 2006 C.H. Roth, Fundamentals.
Lecture 21 Overview Counters Sequential logic design.
A State Element “Zoo”.
Chapter 1_4 Part II Counters
EE345: Introduction to Microcontrollers Register and Counters Prof. Ahmad Abu-El-Haija.
Registers and Counters
ECE2030 Introduction to Computer Engineering Lecture 15: Registers, Toggle Cells, Counters Prof. Hsien-Hsin Sean Lee School of Electrical and Computer.
Counters Clocked sequential circuit whose state diagram contains a single cycle. Modulus – number of states in the cycle. Counters with non-power of 2.
1 Shift Registers. –Definitions –I/O Types: serial, parallel, combinations –Direction: left, right, bidirectional –Applications –VHDL implementations.
Registers and Counters
EE24C Digital Electronics Projects
Digital Design: Principles and Practices
Synchronous Counters with SSI Gates
Fall 2004EE 3563 Digital Systems Design EE3563 Chapter 8 Reading Assignments  8.1, ,   8.5.1, 8.5.2,  8.8  We will.
SEQUENTIAL CIRCUITS Component Design and Use. Register with Parallel Load  Register: Group of Flip-Flops  Ex: D Flip-Flops  Holds a Word of Data 
Princess Sumaya Univ. Computer Engineering Dept. Chapter 6:
Counters By Taweesak Reungpeerakul
Digital Design Lectures 11 & 12 Shift Registers and Counters.
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.
Lecture #27 Page 1 ECE 4110– Sequential Logic Design Lecture #27 Agenda 1.Counters Announcements 1.HW #12 due.
Abdullah Said Alkalbani University of Buraimi
Sequential logic circuits
Synchronous Counter with MSI Gates
Digital Electronics Electronics Technology Landon Johnson Shift Registers.
 Seattle Pacific University EE Logic System DesignCounters-1 Shift Registers DQ clk DQ DQ ShiftIn Q3Q3 Q2Q2 DQ Q1Q1 Q0Q0 A shift register shifts.
EE121 John Wakerly Lecture #9
Counters.
Digital System Design using VHDL
ECE/CS 352 Digital System Fundamentals© T. Kaminski & C. Kime 1 ECE/CS 352 Digital Systems Fundamentals Fall 2000 Chapter 5 – Part 2 Tom Kaminski & Charles.
SYEN 3330 Digital SystemsJung H. Kim 1 SYEN 3330 Digital Systems Chapter 7 – Part 2.
Lecture #27 Page 1 ECE 4110–5110 Digital System Design Lecture #27 Agenda 1.Counters Announcements 1.Finish reading Wakerly sections 8.1, 8.2, 8.4, 8.5.
ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN Dr. Shi Dept. of Electrical and Computer Engineering.
Shift Register Counters
Digital Design: Sequential Logic Blocks
Registers and Counters
Registers and Counters
Synchronous Counter with MSI Gates
Prof. Hsien-Hsin Sean Lee
Sequential Logic Counters and Registers
Sequential Circuit: Counter
DR S. & S.S. GHANDHY ENGINEENRING COLLEGE
Synchronous Counters with MSI Gates
Synchronous Counters with MSI Gates
ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN
Registers and Counters
CSE 370 – Winter Sequential Logic-2 - 1
Switching Theory and Logic Design Chapter 5:
14 Digital Systems.
Presentation transcript:

EE365 Adv. Digital Circuit Design Clarkson University Lecture #12 Registers and Counters

Topics Rissacher EE365Lect #12 Registers Counters

Multibit registers and latches 74x175 Rissacher EE365Lect #12

8-bit (octal) register 74x374 –3-state output Rissacher EE365Lect #12

Other octal registers 74x273 –asynchronous clear – Non-three state output 74x377 –clock enable –no tristate-buffer Rissacher EE365Lect #12

Octal latch 74x373 –Output enable –Latch-enable input “C” or “G” Register vs. latch, what’s the difference? –Register: edge-triggered behavior –Latch: output follows input when G is asserted Rissacher EE365Lect #12

Counters Any sequential circuit whose state diagram is a single cycle. RESET EN Rissacher EE365Lect #12

Rissacher EE365Lect #12

LSB MSB Synchronous counter Serial enable logic Rissacher EE365Lect #12

LSB MSB Synchronous counter Parallel enable logic Rissacher EE365Lect #12

74x163 MSI 4-bit counter Rissacher EE365Lect #12

74x163 internal logic diagram XOR gates embody the “T” function Mux-like structure for loading Rissacher EE365Lect #12

Counter operation Free-running  16 Count if ENP and ENT both asserted. Load if LD is asserted (overrides counting). Clear if CLR is asserted (overrides loading and counting). All operations take place on rising CLK edge. RCO is asserted if ENT is asserted and Count = 15. Rissacher EE365Lect #12

Free-running 4-bit ’163 counter “divide-by-16” counter Rissacher EE365Lect #12

Modified counting sequence Load 0101 (5) after Count = 15 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 5, 6, … “divide-by-11” counter Rissacher EE365Lect #12

Another way Clear after Count = 1010 (10) 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 0, 1, 2, 3, … “modulo-11” or “divide-by-11” counter trick to save gate inputs Rissacher EE365Lect #12

Counting from 3 to 12 Rissacher EE365Lect #12

Cascading counters RCO (ripple carry out) is asserted in state 15, if ENT is asserted. Rissacher EE365Lect #12

Decoding binary-counter states Rissacher EE365Lect #12

Decoder waveforms Glitches may or may not be a concern. Rissacher EE365Lect #12

Glitch-free outputs Registered outputs delayed by one clock tick. We’ll show another way to get the same outputs later, using a shift register. Rissacher EE365Lect #12

Shift registers For handling serial data, such as RS-232 and modem transmission and reception, Ethernet links, etc. Serial-in, serial- out Rissacher EE365Lect #12

Serial-to-parallel conversion Use a serial- in, parallel- out shift register Rissacher EE365Lect #12

Parallel-to-serial conversion Use parallel- in, serial-out shift register mux Rissacher EE365Lect #12

Do both Parallel- in, parallel- out shift register Rissacher EE365Lect #12

“Universal” shift register 74x194 Shift left Shift right Load Hold Rissacher EE365Lect #12

One stage of ’194 Rissacher EE365Lect #12

Shift-register counters Ring counter Rissacher EE365Lect #12

Johnson counter “Twisted ring” counter Rissacher EE365Lect #12

LFSR counters Pseudo-random number generator 2 n - 1 states before repeating Same circuits used in CRC error checking in Ethernet networks, etc. Rissacher EE365Lect #12

Next time More Serial Clock Skew Synchronization Rissacher EE365Lect #12