Two types of edge-triggered flip flop?

  • Thread starter Thread starter stug
  • Start date Start date
  • Tags Tags
    Flip flop
Click For Summary
SUMMARY

The discussion focuses on two types of positive-edge triggered flip-flops: the "classical" and "master-slave" designs. The master-slave flip-flop is predominantly used in CMOS technology due to its ease of verification in clocking relationships, while the classical version is reserved for specific applications like comparators. The majority of D flip-flops in industry are master-slave types, as they offer better performance in terms of setup and hold times. For high-speed applications, True Single Phase Clock-style flip-flops and current-mode logic (CML) are recommended for optimal performance.

PREREQUISITES
  • Understanding of D flip-flops and their role in sequential logic
  • Familiarity with CMOS technology and its applications
  • Knowledge of digital design languages such as VHDL or Verilog
  • Basic concepts of timing analysis in digital circuits
NEXT STEPS
  • Research the differences between classical and master-slave flip-flops in detail
  • Explore the implementation of True Single Phase Clock-style flip-flops
  • Study current-mode logic (CML) and its advantages in high-speed applications
  • Learn about timing analysis techniques for digital circuits, focusing on setup and hold times
USEFUL FOR

Digital circuit designers, electrical engineers, and students studying sequential logic who wish to deepen their understanding of flip-flop designs and their applications in modern electronics.

stug
Messages
1
Reaction score
0
I've lately been going through the Nand2Tetris course since I never had the chance to take anything like it in college, and in its chapter on sequential logic , it treats the D flip-flop as a fundamental component. I found that somewhat unsatisfying, so I went and started reading up on flip-flops and latches, and have found two seemingly analogous ways to make a positive-edge triggered flip-flop, which Wikipedia refers to as "classical" and "master-slave".

I was wondering if there was any reason that one gets used over the other (other than the fact that the "classical" version seems to employ fewer gates). Any insight would be appreciated!
 
Engineering news on Phys.org
In CMOS, master slave is most common but implemented using inverters and transmission gates (for area and performance).
http://www.play-hookey.com/digital/alt_flip_flops/cmos_d_flip-flop.html

I've never gone through and traced the timing paths for the 2 gate level approaches to see if minimum clock pulse width, setup, hold, and propagation delay times are any different due to the architecture. You might also consider what it takes to implement a set and reset function.
 
The VAST majority of D flip-flops used in industry are Master Slave type, as linked to by meBigGuy. The only time the "classical" approach is used is in special circumstances such as in a comparator or in the sense-amplifier of a memory circuit.

The reason the transmission gate style is used is that it is much easier to verify its clocking relationship, so it is easier for a computer to place and route. The vast majority of digital logic these days is described using a high-level language (VHDL or Verilog) and then a computer program actually designs the circuit for you. That is why the author treats the D Flip-Flop as a fundamental brick. Unless you're pushing the edge of performance, most professional designers treat it the same way.

For highest speed using rail to rail swings, check out True Single Phase Clock-style flip-flops. For the maximum speed in a process, current-mode logic (CML) is used. It's work looking up these because they are interesting, and you're learning for fun, right?
 

Similar threads

  • · Replies 10 ·
Replies
10
Views
4K
Replies
5
Views
9K
Replies
20
Views
4K
  • · Replies 2 ·
Replies
2
Views
18K
Replies
1
Views
4K
  • · Replies 2 ·
Replies
2
Views
31K
  • · Replies 7 ·
Replies
7
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
22
Views
6K
Replies
2
Views
31K