Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Positive edge-triggered flip flop does not work

mohamis288

Full Member level 2
Full Member level 2
Joined
Mar 1, 2022
Messages
133
Helped
0
Reputation
0
Reaction score
1
Trophy points
18
Activity points
992
I have implemented the Positive edge-triggered flip flop using the D-latch based diagram in cadence virtuoso.
For D-latch I have used the diagram in AckLP.png .
But it seems both edges are working.
What is the reason?

D-latch-based-positive-edge-triggered-D-flip-flop.png


AckLP.png
 

crutschow

Advanced Member level 6
Advanced Member level 6
Joined
Feb 22, 2012
Messages
4,261
Helped
974
Reputation
1,946
Reaction score
1,047
Trophy points
1,393
Location
Colorado USA Zulu -7
Activity points
24,122
But it seems both edges are working. What is the reason?
How fast are the edges (rise and fall times)?
They must be less than the circuit propagation delay.
 
Last edited:
Solution

crutschow

Advanced Member level 6
Advanced Member level 6
Joined
Feb 22, 2012
Messages
4,261
Helped
974
Reputation
1,946
Reaction score
1,047
Trophy points
1,393
Location
Colorado USA Zulu -7
Activity points
24,122
About 300us or lower
That's way too slow, and it causing your problem.
As I said, the rise/fall times need to be less than the circuit propagation delay, which is likely in the low ns region.
Use a Schmitt-trigger to reduce the signal transition times.
 

dick_freebird

Advanced Member level 7
Advanced Member level 7
Joined
Mar 4, 2008
Messages
8,244
Helped
2,293
Reputation
4,596
Reaction score
2,334
Trophy points
1,393
Location
USA
Activity points
65,957
Question what "implemented" means. A DFF made of
verilog gates that have no delay, will fail because the
"hang time" is -too short- (0) and the DFFs need the
phase lag as "transient memory", to work. I have seen
this while building "structural verilog" views from transistor
level cell libraries. Delay properties or delay elements
had to be added.

The same may be true with too-slow-changing inputs
using SPICE modeled transistors but the question is
fundamental.
 

manish12

Advanced Member level 3
Advanced Member level 3
Joined
Nov 21, 2006
Messages
983
Helped
66
Reputation
132
Reaction score
33
Trophy points
1,308
Activity points
6,116
remove first inv from the diagram, and remove the inv from 2nd dff , and try

[Moderator] Deleted unrelated advertising link
 
Last edited by a moderator:

LaTeX Commands Quick-Menu:

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top