Basic Sequential Components CT101 – Computing Systems Organization.

Slides:



Advertisements
Similar presentations
컴퓨터구조론 교수 채수환. 교재 Computer Systems Organization & Architecture John D. Carpinelli, 2001, Addison Wesley.
Advertisements

Lecture 23: Registers and Counters (2)
Sequential Logic Design
1 Fundamentals of Computer Science Sequential Circuits.
CS 151 Digital Systems Design Lecture 19 Sequential Circuits: Latches.
Multiplexors Sequential Circuits and Finite State Machines Prof. Sin-Min Lee Department of Computer Science.
Sequential circuits The digital circuits considered thus far have been combinational, where the outputs are entirely dependent on the current inputs. Although.
Module 12.  In Module 9, 10, 11, you have been introduced to examples of combinational logic circuits whereby the outputs are entirely dependent on the.
Dr. ClincyLecture1 Appendix A – Part 2: Logic Circuits Current State or output of the device is affected by the previous states Circuit Flip Flops New.
Programmable Logic Devices
Implementing Logic Gates and Circuits Discussion D5.1.
ECE 331 – Digital System Design Flip-Flops and Registers (Lecture #18) The slides included herein were taken from the materials accompanying Fundamentals.
Implementing Logic Gates and Circuits Discussion D5.3 Section 11-2.
ENGIN112 L20: Sequential Circuits: Flip flops October 20, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 20 Sequential Circuits: Flip.
Programmable logic and FPGA
Logic and Computer Design Fundamentals Registers and Counters
CS 151 Digital Systems Design Lecture 20 Sequential Circuits: Flip flops.
Multiplexers, Decoders, and Programmable Logic Devices
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 Tristate Buffers, Read-Only Memories and Programmable Logic Devices (Lecture #16) The slides included herein were taken.
ENGIN112 L26: Shift Registers November 3, 2003 ENGIN 112 Intro to Electrical and Computer Engineering Lecture 26 Shift Registers.
Programmable Array Logic (PAL) Fixed OR array programmable AND array Fixed OR array programmable AND array Easy to program Easy to program Poor flexibility.
SEQUENTIAL CIRCUITS USING TTL 74XX ICS
Flip Flops. Clock Signal Sequential logic circuits have memory Output is a function of input and present state Sequential circuits are synchronized by.
Sequential Circuits Chapter 4 S. Dandamudi To be used with S. Dandamudi, “Fundamentals of Computer Organization and Design,” Springer,  S.
ETE Digital Electronics
Unit 9 Multiplexers, Decoders, and Programmable Logic Devices
Rabie A. Ramadan Lecture 3
CPLD (Complex Programmable Logic Device)
J. Christiansen, CERN - EP/MIC
Programmable Logic Devices
SEQUENTIAL CIRCUITS Component Design and Use. Register with Parallel Load  Register: Group of Flip-Flops  Ex: D Flip-Flops  Holds a Word of Data 
ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN Lecture 17 Dr. Shi Dept. of Electrical and Computer Engineering.
ECA1212 Introduction to Electrical & Electronics Engineering Chapter 9: Digital Electronics – Sequential Logic by Muhazam Mustapha, November 2011.
Sequential Logic Combinatorial components: the output values are computed only from their present input values. Sequential components: their output values.
Abdullah Said Alkalbani University of Buraimi
CHAPTER-2 Fundamentals of Digital Logic. Digital Logic Digital electronic circuits are used to build computer hardware as well as other products (digital.
Programmable Logic Devices (PLDs)
Sequential logic circuits
ESS | FPGA for Dummies | | Maurizio Donna FPGA for Dummies Basic FPGA architecture.
1 Lecture #11 EGR 277 – Digital Logic Ch. 5 - Synchronous Sequential Logic There are two primary classifications of logic circuits: 1.Combinational logic.
Logic Design / Processor and Control Units Tony Diep.
Digital System Design using VHDL
Synchronous Sequential Logic A digital system has combinational logic as well as sequential logic. The latter includes storage elements. feedback path.
Chapter5: Synchronous Sequential Logic – Part 1
Sequential Logic Flip-Flop Circuits By Dylan Smeder.
Synchronous Sequential Circuits by Dr. Amin Danial Asham.
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.
1 Homework Reading –Tokheim Chapter 9.1 – 9.6 Machine Projects –Continue on mp3 Labs –Continue in labs with your assigned section.
Sequential logic circuits First Class 1Dr. AMMAR ABDUL-HAMED KHADER.
This chapter in the book includes: Objectives Study Guide
ETE Digital Electronics
Sequential Programmable Devices
Sequential Logic Design
CS Chapter 3 (3A and ) Part 6 of 8
Flip Flops.
Dr. Clincy Professor of CS
CS Chapter 3 (3A and ) – Part 4 of 5
This chapter in the book includes: Objectives Study Guide
ECE Digital logic Lecture 16: Synchronous Sequential Logic
Chapter 11 Sequential Circuits.
COE 202: Digital Logic Design Sequential Circuits Part 4
ECEN 248: INTRODUCTION TO DIGITAL SYSTEMS DESIGN
Dr. Clincy Professor of CS
Computer Architecture and Organization: L02: Logic design Review
CSE 370 – Winter Sequential Logic-2 - 1
University of Maryland Baltimore County Department of Computer Science and Electrical Engineering   CMPE 212 Laboratory (Discussion 10) Hasib Hasan
FLIP-FLOPS.
Programmable logic and FPGA
Presentation transcript:

Basic Sequential Components CT101 – Computing Systems Organization

Overview The most fundamental sequential components are the latch and flip-flop They store one bit of data and make it available to other components The main difference between a latch and a flip-flop is that the first are level triggered and the latter are edge triggered Flip-flops and latches have a clock input

Clock It is usually derived from an oscillator or other circuitry that alternates its output between 1 and 0 It is used to synchronize the flow of data in a digital system

D flip-flop Flip-flop: –One data input D –When the clock input changes from 0 to 1 (positive edge), the data on the D input is loaded –The data is made available via output Q and its complement via Q’ –Some variations have also a load signal (LD) that has to be high (active) in order for data to be loaded into the flip-flop

D latch Positive level triggered latch It loads data as long as both its clock and load signals are 1. If both are one, the value of data D is passed to the Q output. If D changes while clock and load are 1, then the output changes accordingly If either the clock or load signals go to 0, the Q value is latched and held

D latch with clear/set capabilities Some variants of D latch and flip-flops have asynchronously set and clear capabilities – they can be set and clear regardless of the value of the other inputs to the latch (including the clock and load inputs)

SR latch The S input sets the latch to 1 and the R input resets the latch to 0 When both S and R are 0 the output remains unchanged Doesn’t have a clock input The output of the latch is undefined when both the S and R are 1; the designer has to ensure that S and R inputs are never set to 1

JK flip-flop Resolves the problem of undefined outputs associated with SR latch J=1 sets the output to 1 and K=1 resets the output to 0. JK=11 inverts the stored current value of the output It is often used instead of SR latch

T (toggle) flip-flop The T input doesn’t specify a value for its output, it specifies only whether or not the output should be changed On the rising edge of the clock, if T = 0 then the output of the flip-flop is unchanged; if T=1, the output is inverted.

Observations All of the flip-flops and latches shown so far are positive edge triggered or positive level triggered. They also have active high load, set and clear inputs. It is possible for those components to be negative edge triggered or negative level triggered and have active low control signals as well. Flips-flops and latches can be combined in parallel to store data with more than one bit

4 bit D flip-flop Control signals are tied together Act as one unified data register They usually output only the data (not the complement of the data as the 1 bit flip-flops)

Counters Store a binary value and when signaled to do so, it increments or decrements its value Can be loaded with an externally supplied value INC=1 Current Counter Value: 1111 Next Counter Value: 0000

Up/down counter with parallel load Ability to load external data as well as count Down counter decrements its value rather than increment and generates a borrow rather than a carry out Up/down counter can do both operations according with the signal U/D’

Shift Registers Can shift its data one bit position to the right or left It is useful for hardware multipliers/dividers It may shift left, right or both directions under certain control conditions (like the up/down counter)

Programmable Logic Devices Most of the circuits presented so far are available on a TTL IC chip. Circuits can be constructed using these chips and wiring them together An alternative to this method would be to program all the components into a single chip, saving wiring, space and power One type of such device is PLA (Programmable Logic Array) that contains one or more and/or arrays.

PLA The inputs and their complements are made available to several AND gates. An X indicates that the value si input to the AND gate The output from the AND gates are input into the OR gates, which produce the chip’s outputs Functions: –b = X2’ + X1’X0’+X1X0 –c = X2 + X1’ + X0 Simulator

PAL Programmable Array of Logic – its OR blocks are not programmable Certain AND gates serve as input to specific OR gates Same b and c function implementation: –b = X2’ + X1’X0’+X1X0 –c = X2 + X1’ + X0 PLA and PAL are limited because they can implement only combinatorial logic, they don’t contain any latches nor flip-flops

PLD Programmable Logic Device is a more complex component that is needed to realize sequential circuits It is usually made up of logic blocks with the possibility to interconnect them. Each logic bloc is made out of macro cells, that may be equivalent to a PAL with an output flip- flop The input/output pins of an PLD can be configured to the desired function (unlike for PLA or PAL, where they are fixed) Used in more complex design than the PAL or PLA

CPLDs Array of PLDs Has global routing resources for connections between PLDs and between PLDs to/from IOs

FPGAs Field Programmable Gate Array is one of the most powerful and complex programmable circuit available Contain an array of cells, each of which can be programmed to realize a function There are programmable interconnects between the cells, allowing connect to each other Includes flip-flops allowing the design and implementation of complex sequential circuit on a chip (of a complexity of a processor) Often contains the equivalent of 100k to a few million simple logic gates on a single chip

FPGAs Configuration Memory Programmable Logic Blocks (PLBs) Programmable Input/Output Cells Programmable Interconnect Typical Complexity = 5M - 100M transistors

Basic FPGA Operation Load Configuration Memory Defines system function –Input/Output Cells –Logic in PLBs –Connections between PLBs & I/O cells Changing configuration memory => changes system function Can change at anytime –Even while system function is in operation –Run-time reconfiguration (RTR)

Programmable Logic Blocks PLBs can perform any logic function –Look-Up Tables (LUTs) Combinational logic Memory (RAM) –Flip-flops Sequential logic –Special logic Add, subtract, multiply Count up and/or down Dual port RAM #PLBs/FPGA: 100 to 500,000 LUT/ RAM FF LUT/ RAM FF LUT/ RAM FF LUT/ RAM FF PLB architecture

Programmable Interconnect Wire segments & Programmable Interconnect Points (PIPs) –cross-point PIPs – connect/disconnect wire segments To turn corners –break-point PIPs – connect/disconnect wire segments To make long and short signal routes –multiplexer (MUX) PIPs select 1 of many wires for output Used at PLB inputs Primary interconnect media for new FPGAs configurationmemoryelement wire A wire B cross-point PIP wire A wire B wire A wire B break-point PIP wire A wire B output multiplexer PIP wire C

References “Computer Systems Organization & Architecture”, John D. Carpinelli, ISBN: