DOC PREVIEW
MIT 6 111 - Sequential Building Blocks

This preview shows page 1-2-23-24 out of 24 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 24 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 24 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 24 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 24 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 24 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

L4: Sequential Building Blocks (Flip-flops, Latches and Registers)Combinational Logic ReviewA Sequential SystemA Simple ExampleImplementing State: Bi-stabilityNOR-based Set-Reset (SR) FlipflopMaking a Clocked Memory Element: Positive D-LatchMultiplexor Based Positive & Negative Latch74HC75 (Positive Latch)Building an Edge-Triggered RegisterLatches vs. Edge-Triggered Register Important Timing ParametersThe J-K Flip-FlopJ-K Master-Slave RegisterPulse Based Edge-Triggered J-K RegisterD Flip-Flop vs. Toggle Flip-Flop Realizing Different Types of Memory ElementsDesign ProcedureDesign Procedure (cont.)System Timing ParametersSystem Timing (I): Minimum PeriodSystem Timing (II): Minimum DelayShift-RegisterL4: 6.111 Spring 2006 1Introductory Digital Systems LaboratoryL4: Sequential Building BlocksL4: Sequential Building Blocks(Flip(Flip--flops, Latches and Registers)flops, Latches and Registers)Acknowledgements: J. Rabaey, A. Chandrakasan, B. Nikolic. Digital Integrated Circuits: A Design Perspective.Prof. Randy Katz (Unified Microelectronics Corporation Distinguished Professor inElectrical Engineering and Computer Science at the University of California, Berkeley)and Prof. Gaetano Borriello (University of Washington Department of ComputerScience & Engineering) from Chapter 2 of R. Katz, G. Borriello. Contemporary Logic Design. Materials in this lecture are courtesy of the following sources and are used with permission.2nd ed. Prentice-Hall/Pearson Education, 2005.Prentice Hall/Pearson, 2003.L4: 6.111 Spring 2006 2Introductory Digital Systems LaboratoryCombinational Logic ReviewCombinational Logic Review Combinational logic circuits are memoryless No feedback in combinational logic circuits  Output assumes the function implemented by the logic network, assuming that the switching transients have settled Outputs can have multiple logical transitions before settling to the correct valueCombinationalCircuit in0in1inN-1in0in1inM-1L4: 6.111 Spring 2006 3Introductory Digital Systems LaboratoryA Sequential SystemA Sequential System Sequential circuits have memory (i.e., remember the past) The current state is “held” in memory and the next state is computed based the current state and the current inputs In a synchronous systems, the clock signal orchestrates the sequence of eventsCOMBINATIONALLOGICRegistersOutputsNext stateCLKQDCurrent StateInputsMemory elementL4: 6.111 Spring 2006 4Introductory Digital Systems LaboratoryA Simple ExampleA Simple Examplein0in1in2inN-1Adding N inputs (N-1 Adders)inD QresetclkCurrent_SumUsing a sequential (serial) approachL4: 6.111 Spring 2006 5Introductory Digital Systems LaboratoryImplementing State: BiImplementing State: Bi--stabilitystabilityVi1ACBVo2Vi1=Vo2Vo1Vi2Vi2=Vo1Vo1=Vi2Vo2 =Vi1Point C is MetastableVi2=VoVi1= Vo2AδVi2=Vo1Vi1= Vo2Cδ1Points A andB are stable(represent 0 & 1)BL4: 6.111 Spring 2006 6Introductory Digital Systems LaboratoryNORNOR--based Setbased Set--Reset (SR) Reset (SR) FlipflopFlipflop Flip-flop refers to a bi-stable element (edge-triggered registers are also called flip-flops) – this circuit is not clocked and outputs change “asynchronously” with the inputsQ Q Q QQ Q0 11 00 0SR = 1 0SR = 0 1SR = 0 1SR = 1 1SR = 1 0SR = 1 1SR = 00, 01SR = 00, 10SR = 0 0SR = 11SR = 0 0ResetHoldSet SetResetRSQQ??Forbidden StateSSRQQQQRSQ00101010011RQQQ010L4: 6.111 Spring 2006 7Introductory Digital Systems LaboratoryMaking a Clocked Memory Element:Making a Clocked Memory Element:Positive DPositive D--LatchLatchCLKDQDQclk A Positive D-Latch: Passes input D to output Q when CLK is high and holds state when clock is low (i.e., ignores input D) A Latch is level-sensitive: invert clock for a negative latchSRclockR and Ssample holdsample holdholdGL4: 6.111 Spring 2006 8Introductory Digital Systems LaboratoryMultiplexorMultiplexorBased Positive & Negative LatchBased Positive & Negative Latch10in0in1outSELOut = sel * in1+ sel * in0 2:1 multiplexor10DQCLKPositive Latch01DQCLKNegative Latch"remember""load""data""stored value"clkclkL4: 6.111 Spring 2006 9Introductory Digital Systems Laboratory74HC75 (Positive Latch)74HC75 (Positive Latch)2131D 1Q2Q3Q4Q16LE1-2LE3-41Q2Q3Q4Q1DCPCPCPCPL2L1L3L4QQQQ3 2D3D1514647 4D101198QDQDQDQOperating ModesInputs OutputsLEn-nnD nQ nQData EnabledData LatchedHH H LL X q qLH L HFigures by MIT OpenCourseWare.L4: 6.111 Spring 2006 10Introductory Digital Systems LaboratoryBuilding an EdgeBuilding an Edge--Triggered RegisterTriggered Register Master-Slave Register Use negative clock phase to latch inputs into first latch Use positive clock to change outputs with second latch View pair as one basic unit master-slave flip-flop twice as much logic10DMaster01QSlaveQMQMQDCLKDGQ DGQCLKCLKCLKCLKDQD QQDQMNegative latchPositive latchImage by MIT OpenCourseWare.L4: 6.111 Spring 2006 11Introductory Digital Systems LaboratoryLatches vs. EdgeLatches vs. Edge--Triggered Register Triggered Register Edge triggered device sample inputs on the event edgeTransparent latches sample inputs as long as the clock is assertedTiming Diagram:Behavior the same unless input changes while the clock is high74747475Bubble herefor negativeedge triggeredregisterPositive edge-triggered registerLevel-sensitive latch D Q D Q C ClkClkD ClkQ Q 7474 7475L4: 6.111 Spring 2006 12Introductory Digital Systems LaboratoryImportant Timing ParametersImportant Timing ParametersSetup Time (Tsu)Clock: Periodic Event, causes state of memoryelement to changememory element can be updated on the: rising edge, falling edge, high level, low levelThere is a timing "window" around the clocking event during which the input must remain stable and unchanged in order to be recognizedThere is a timing "window" around the clocking event during which the input must remain stable and unchanged in order to be recognizedMinimum time before the clocking event by which the input must be stableHold Time (Th)Minimum time after the clocking event during which the input must remain stableInput Clock T suT h Propagation Delay (Tcqfor an edge-triggered register and Tdqfor a latch)Delay overhead of the memory elementL4: 6.111 Spring 2006 13Introductory Digital Systems LaboratoryThe JThe J--K FlipK Flip--FlopFlop Eliminate the forbidden state of the SR Flip-flop Use output feedback to guarantee that R and S are never both oneJKQ+Q+0101Q01Q0Q01101QJ K Q \ Q 100 SRQQJKL4: 6.111 Spring 2006 14Introductory Digital Systems LaboratoryJJ--K MasterK


View Full Document

MIT 6 111 - Sequential Building Blocks

Documents in this Course
Verilog

Verilog

21 pages

Video

Video

28 pages

Bass Hero

Bass Hero

17 pages

Deep 3D

Deep 3D

12 pages

SERPENT

SERPENT

8 pages

Vertex

Vertex

92 pages

Vertex

Vertex

4 pages

Snapshot

Snapshot

15 pages

Memories

Memories

42 pages

Deep3D

Deep3D

60 pages

Design

Design

2 pages

Frogger

Frogger

11 pages

SkiFree

SkiFree

81 pages

Vertex

Vertex

10 pages

EXPRESS

EXPRESS

2 pages

Labyrinth

Labyrinth

81 pages

Load more
Download Sequential Building Blocks
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view Sequential Building Blocks and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view Sequential Building Blocks 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?