my flip-flop does not change state between 1.2 V and 0 V

mohamis288

Full Member level 3
Joined
Mar 1, 2022
Messages
165
Helped
0
Reputation
0
Reaction score
1
Trophy points
18
Activity points
1,233
Hello,

I have created a flip-flop using the following structure:



it is my flip-flop testbench circuit:


I have simulated this circuit and here is output result:




it seems it wants to change, but it can not. what is the problem do you think?

I have tested Nand3 lonely in schematic and it works correctly. here is the testbench for simulation of NAND3 and output result of NAND3:


 

That is a latch (at best, if wired right). A flip-flop has master and
slave latches.

Crack open any '80s RCA CMOS databook and find schematics.
 

Here is the link to this flip flop:


I just used this
 

Then this is a lesson about believing things you find on the Internet.
As is far too common "the exercise is left..."

Begin with some reading on latches / half-latches / flip-flops and the
classic forms (these days nobody makes D FFs out of NAND gates
and hardly anyone uses a JK unless they are doing custom transistor
level, primitive gate level bottom-up).
 

Cookies are required to use this site. You must accept them to continue using the site. Learn more…