DOC PREVIEW
RIT EECC 341 - Sequential Logic Circuits

This preview shows page 1-2-3-4-5 out of 15 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 15 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 15 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 15 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 15 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 15 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 15 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

Sequential Logic CircuitsSlide 2Sequential Circuit Buliding Blocks: Generic Memory ElementsThe State of A sequential CircuitClock Signals & Synchronous Sequential CircuitsSequential Circuit Memory Elements: Latches, Flip-FlopsSlide 7S-R LatchS-R Latch With EnableD-LatchEdge-Triggered D Flip-FlopMaster/Slave S-R Flip-FlopMaster/Slave J-K Flip-FlopEdge Triggered J-K Flip-FlopT Flip-Flop With EnableEECC341 - ShaabanEECC341 - Shaaban#1 Lec # 13 Winter 2001 1-29-2002Sequential Logic Circuits•Unlike combinational logic circuits, the output of sequential logic circuits not only depends on current inputs but also on the past sequence of inputs.•Sequential circuits are constructed using combinational logic and a number of memory elements with some or all of the memory outputs fed back into the combinational logic forming a feedback path or loop.•A very simple sequential circuit with no inputs created using inverters to form a feedback loop:QQNWhen this circuit is powered up it randomly outputs Q = 0 or Q =1EECC341 - ShaabanEECC341 - Shaaban#2 Lec # 13 Winter 2001 1-29-2002Sequential Logic CircuitsCombinational logic Memory elements Combinational outputs Memory outputs Inputs Sequential circuit = Combinational logic + Memory ElementsCurrent State of A sequential Circuit: Value stored in memory elements (value of state variables).State transition: A change in the stored values in memory elements thus changing the sequential circuit from one state to another state.EECC341 - ShaabanEECC341 - Shaaban#3 Lec # 13 Winter 2001 1-29-2002Sequential Circuit Buliding Blocks: Generic Memory Elements•A Memory Element: A logic device that can remember a single-bit value indefinitely, or change its value on command from its inputs.•The output Q of the memory element represents the value stored in the memory element. This is also called the state variable of the memory elements. A memory element can be in one of two possible states:–Q = 0 (the memory element has 0 stored), also said be in state 0.–Q =1 (the memory element has 1 stored), also said to be in state 1.•The commands to the memory element formed by its input(s) may include:–Set: Store 1 (Q=1) in the memory element.–Reset: Store 0 (Q=0) in the memory element.–Flip: Change stored value from 0 to 1 or from 1 to 0.–Hold value: Memory value does not change.•Memory Element state transition: A change in the stored value from 0 to 1, or from 1 to 0 such as that caused by a flip command.command Memory elementMemory Element Output:stored single-bit value QEECC341 - ShaabanEECC341 - Shaaban#4 Lec # 13 Winter 2001 1-29-2002The State of A sequential CircuitThe State of A sequential Circuit•A state variable in a sequential circuit represents the single-bit variable Q stored in a memory element in circuit.–Each memory element may be in state 0 or state 1 depending on the current value stored in the memory element.•The State of A sequential Circuit:–The collection of all state variables (memory element stored values) that at any time contain all the information about the past necessary to account for the circuit’s future behavior.–A sequential circuit that contains n memory elements could be in one of a maximum of 2n states at any given time depending on the stored values in the memory elements.–Sequential Circuit State transition: A change in the stored values in memory elements thus changing the sequential circuit from one state to another.EECC341 - ShaabanEECC341 - Shaaban#5 Lec # 13 Winter 2001 1-29-2002Clock Signals & Synchronous Sequential CircuitsClock Signals & Synchronous Sequential Circuits•A clock signal is a periodic square wave that indefinitely switches values from 0 to 1 and 1 to 0 at fixed intervals.•Clock cycle time or clock period: The time interval between two consecutive rising or falling edges of the clock.•Clock Frequency = 1 / clock cycle time (measured in cycles per second or Hz)–Example: Clock cycle time = 1ms clock frequency = 1000Hz •Synchronous Sequential Circuits: Sequential circuits that have a clock signal as one of its inputs:–All state transitions in such circuits occur only when the clock value is either 0 or 1 or All state transitions in such circuits occur only when the clock value is either 0 or 1 or happen at the rising or falling edges of the clock depending on the type of memory happen at the rising or falling edges of the clock depending on the type of memory elements used in the circuit.elements used in the circuit.Rising edges of the clockFalling edgesof the clockClock signalClock CycleTime10EECC341 - ShaabanEECC341 - Shaaban#6 Lec # 13 Winter 2001 1-29-2002Sequential Circuit Memory Elements: Latches, Flip-Flops•Latches and flip-flops are the basic single-bit memory elements used to build sequential circuit with one or two inputs/outputs, designed using individual logic gates and feedback loops.•Latches:–The output of a latch depends on its current inputs and on its previous inputs and its change of state can happen at any time when its inputs change. • Flip-Flop:–The output of a flip-flop also depends on current and previous input but the change in output (change of state or state transition) occurs at specific times determined by a clock input.EECC341 - ShaabanEECC341 - Shaaban#7 Lec # 13 Winter 2001 1-29-2002•Latches:–S-R Latch–S-R Latch With Enable–D-Latch•Flip-Flops:–Edge-Triggered D Flip-Flop–Master/Slave S-R Flip-Flop–Master/Slave J-K Flip-Flop–Edge-Triggered J-K Flip-Flop–T Flip-Flop With EnableSequential Circuit Memory Elements: Latches, Flip-FlopsEECC341 - ShaabanEECC341 - Shaaban#8 Lec # 13 Winter 2001 1-29-2002S-R Latch•An S-R (set-reset) latch can be built using two NOR-gates forming a feedback loop.•The output of the S-R latch depends on current as well as previous inputs or state, and its state (value stored) can change as soon as its inputs change.RSQQN S R Q QN 0 0 last Q Last QN 0 1 0 1 1 0 1 0 1 1 0 0Function TableCircuitEECC341 - ShaabanEECC341 - Shaaban#9 Lec # 13 Winter 2001 1-29-2002S-R Latch With Enable•Since the S-R latch is responsive to its inputs at all times an enable line C is used to disable or enable state transitions.•Behaves similar to a regular S-R latch when enable C=1QQNSEnable CR S R C Q QN


View Full Document
Download Sequential Logic Circuits
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 Logic Circuits 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 Logic Circuits 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?