Chapter 8: Latches and Flip-Flops Flashcards
(43 cards)
Digital systems can be classified as either:
- combinational
2. sequential
Combinational system’s outputs:
are completely determined by its present input values.
Sequential system’s output:
is a function of both its present input values and present state.
History is represented:
by the binary present state value stored in memory elements in the sequential system.
How many states does a memory element have? Specify them.
Two:
1
0
When a memory element stores a 0:
clear
When it stores a 1
set
Synchronous inputs:
are inputs whose values can change the memory element’s state only in response to a clock pulse at its clock input.
Synchronous input memory:
2
- After a memory element has been placed in a particular state, a change in the values of its synchronous inputs cannot change its state until the next clock pulse occurs.
- Tthe memory element stores (remembers) its state value until the next clock pulse.
What’s a pulse?
A pulse is a shot duration change in a signal’s value.
Leading and trailing edge in:
(i) positive-triggered clock
(ii) negative-triggered clock
Refer to the final folder inside the FPGA file.
Edge:
A signal transition is also called an edge.
Positive Edge:
A transition from 0 to 1 is a rising edge or positive edge.
Negative Edge:
A transition from 1 to 0 is a falling edge or negative edge.
First Pulse to occur:
The first edge of a pulse to occur in time is its leading edge and the last edge to occur is its trailing edge.
Leading edge of a positive pulse:
For a positive pulse, the leading edge is a 0 to 1 transition and the trailing edge is a 1 to 0 transition.
What’s a clock signal?
A clock signal is a train (sequence) of pulses used as a timing signal.
What can a clock signal controls in a synchronous sequential system?
In a fully synchronous sequential system, a single clock signal controls when all the memory elements can change state.
Periodic signal:
4
- clock signal is periodic.
- time between corresponding edges of a periodic signal is constant.
- changes of state occur at regular intervals.
- period, clock cycle, frequency, clock width, duty cycle measurement.
Nonperiodic signal:
- the time between corresponding edges of a nonperiodic clock signal is not constant.
- a nonperiodic signal’s clock width may also vary.
The clock pulse of a:
- Periodic signal.
- Nonperiodic signal.
Refer to the final folder inside the FPGA file.
Primary difference between latches and flip-flop:
- A latch’s state can be changed by its synchronous inputs during the entire time its clock is asserted.
- A flip-flop’s state can be changed by its synchronous inputs only at the edge of a clock pulse.
Which memory element is the most used between latches and flip-flops?
Flip-flops are used much more extensively as memory elements in PLD based designs than are latches.
Clocked latch/ Gated latch:
8
- sensitive to its clock’s level.
- displays a level-sensitive synchronous behavior.
- the state of the latch can be changed by the values of its synchronous inputs during the entire time the clock is at its asserted level.
- The state of the latch at the time its clock changes to its unasserted level is stored in the latch.
- If a latch is sensitive to a high or positive clock level, its clock signal is considered asserted when it is 1.
- If a latch is sensitive to the low or negative clock level, its clock signal is considered asserted when it is 0.
- The value Qt is the previously stored value of Q. That is, the value of Q when CLK was previously changed to its unasserted level.
- When a latch’s clock is at its unasserted logic level, its synchronous inputs have no effect on its state.