Question

In: Electrical Engineering

What is the main difference between gated and edge triggered digital devices?

What is the main difference between gated and edge triggered digital devices?

Solutions

Expert Solution

Gated devices means sequential circuits almost work like a gate (like combinational circuts). ie level sensitive devices. based on 1 or 0 at clk it works.example Latches

Edge triggered means these sequential circuits will change state when there transition between 0 to 1 or 1 to 0 on clock.

Ex: flipflops

The difference between a latch and a flip-flop is that a latch is level-triggered (outputs can change as soon as the inputs changes) and Flip-Flop is edge triggered (only changes state when a control signal goes from high to low or low to high).

Latches are something in your design which always needs attention. There are tools that help designers pin-point existence of latches in their design as ‘must know’ information. And then, it is the designer’s responsibility to correct if the latch usage is unintentional, as this could easily have happened due to poor RTL coding practices.

Once the latch existence is acknowledged at synthesis level, then the downstream tools follow those conventions. This statement is suitable for ASICs, but latch existence is not acceptable for FPGAs. It would be fine to say that FPGA tools have more accurate timing analysis for the flop-based designs.

An expert designer knows how to utilize the time-borrowing capability of a latch for slack balancing while optimizing latch based critical paths in the design. Once he or she decides to use latches in a particular design, the engineer has to make sure that the enable signal is stable and valid data is being captured in the latch. This helps to avoid unstable states in the design.

Latch Flip-Flop
Latch is transparent – because input is directly connected to output when enable is high. It means Latch is sensitive to pulse duration (also called soft barrier) Flip-flop is a pair of latches (master and slave flop). Flip-flop is sensitive to pulse transition. The signal only propagates through on the rising/falling edge (also called hard barrier)
Less Area (less gates) More Area (more gates) because flip-flop contains two latches.
Less Power (less gates) More Power (more gates)
Fast –
(The longer combinational path can be compensated by shorter path delays in the subsequent logic stages. That’s why, for higher performance, circuits designer are turning to latched based design.)
Slow –
(The delay of a combinational logic path of a design using edge-triggered flip-flops always less than the clock period except for those specified as false paths and multiple-cycle paths. Hence the longest path of a design limits the circuit performance.)
Require more tool manipulation and more hand-calculations to verify that they meet timing Easy to check design timing using Static Timing Analysis (STA) tools
Cycle-borrowing to gain more setup time on the next register stage, as long as each loop completes in one cycle

To meet the timing in the design, Designers consider latches to adjust timing mismatch.

Data launches on one rising edge, so it must setup before next rising edge. If it arrives late, system fails. If it arrives early, time is wasted due to hard edges in Flops
For ASICs with large clock skew, latches have substantial benefits for reducing the clock period Even for the high speed pulsed flip-flops with zero setup time, as they are not transparent, the impact of the clock skew is not reduced
Level-sensitive latches reduce the impact of inaccuracy of wire load models and process variation. Flip-flops demands for the highly accurate wire load model and process
In DFT, Latches needed as a lockup state at the clock domain crossings in the scan chain to avoid unpredictable behavior In DFT, use flops that can be scanned (controllable and observable)
In FPGA, level-sensitive transparent latches should be avoided in FPGAs In FPGA, edge-sensitive flip-flops are used exclusively. Timings analysis is more appropriate with flops for FPGA tools
Circuit analysis is complex. You may see last minutes timing mismatch surprises at the implantation stage. Circuit analysis is easy
High-speed microprocessor designs typically use master-slave latches instead of flip-flops so that logic can be added between the rising and falling clock edges.

Most of these companies have written their own specialized STA tools to verify latch-based designs.

The most commonly used flop in the design world is D type flip-flop.

FSM implementation mostly involves D Flip-flops due to minimum number of logic gates and lesser cost as compared to other types of flip-flops.

For non-timing-critical configuration registers, latches work great, due to fewer gates and less power consumption For non-power aware design, Flip flops are preffered over Latches
Latch is an asynchronous block. Therefore you must ensure that the combinational functions, which generate input signals for the latch, are race-free. Otherwise they may generate glitches, which may be latched, causing hazards in your system. A flip-flop, on the other hand, is edge-triggered and only changes state when a control signal goes from high to low or low to high
Latch based design is noisy, because any noise in the enable signal disrupts the latch output easily. Flip-flop based design is robust

Related Solutions

What is the main difference between notes payable and bonds payable? What is the main difference...
What is the main difference between notes payable and bonds payable? What is the main difference between a bond and a share of stock? What does it mean to issue bonds at Par? Discount? Premium? What is the contract rate and the market rate for bonds? How do you compute total bond interest expense when a bond is sold at a discount? Explain your answer. How do you compute bond interest expense when a bond is sold at a premium?...
What is the main difference between numeric variable and categorical variable; the main difference between ordinal...
What is the main difference between numeric variable and categorical variable; the main difference between ordinal variable and nominal variable; the main difference between ratio variable and interval variable?
What is the difference between traditional media channels and digital channels?
What is the difference between traditional media channels and digital channels?
What is the main difference between polygene inheritance and heritability?
What is the main difference between polygene inheritance and heritability?
What are the main difference between plant and animal cells?
What are the main difference between plant and animal cells?
Explain in detail the differences between 4-Bit Synchronous and Asynchronous Counters. Each Flip-Flop is negative-edge triggered....
Explain in detail the differences between 4-Bit Synchronous and Asynchronous Counters. Each Flip-Flop is negative-edge triggered. Use the relevant block diagrams, Truth Table of state sequence, and Timing Diagram to support your explanation.
Explain in detail the differences between 4-Bit Synchronous and Asynchronous Counters. Each Flip-Flop is negative-edge triggered....
Explain in detail the differences between 4-Bit Synchronous and Asynchronous Counters. Each Flip-Flop is negative-edge triggered. Use the relevant block diagrams, Truth Table of state sequence, and Timing Diagram to support your explanation.
Deserializer Explain how this circuit works. Note that these flip-flops are positive edge-triggered. What requirements of...
Deserializer Explain how this circuit works. Note that these flip-flops are positive edge-triggered. What requirements of setup time, hold time, and propagation delay must be met for this circuit to work? Imagine that clock had a slow rising edge (for example, it could be coming through a long path from a separate circuit board, or the clock driver might be undersized). Considering that, due to random mismatch, each flip-flop will trigger at a slightly different threshold, what behavior could result...
a)(5%) Briefly explain the difference between hardness and hardenability.b)(5%) What is the main difference between eutectic,...
a)(5%) Briefly explain the difference between hardness and hardenability.b)(5%) What is the main difference between eutectic, eutectoid and peritectic reactions? c)(10%) A cylindrical piece of 5140 steel heated to γ region and OQ. If the hardness at the surface must be ≥ 35HRC, what is the maximum allowable dia.? Explain.
What is the main difference between the “Protestant Ethic” and the “Spirit of Capitalism”?
What is the main difference between the “Protestant Ethic” and the “Spirit of Capitalism”?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT