I’m trying to simulate a NAND gate using MOSFETs in QUCS, but I’m having trouble getting it to work. Could someone help me figure out what’s going wrong?
All the resistors are set to 1 kΩ, the supply voltage is 1 V, and the square wave generator has a period of 1 ms and 2 ms with a 10 ns switching time. When I draw the same circuit in Voltsim on my phone, it works as expected.

4 Comments
luruca@lemmy.world · 2 pts · 287d
The problem was the source voltage. Increasing it to 1.5 V solved the issue.
luruca@lemmy.world · 1 pts · 287d
This is the working Voltsim version :
luruca@lemmy.world · 1 pts · 287d
Poach@lemmy.world · 1 pts · 287d
Did you set R3 and R4?
luruca@lemmy.world · 1 pts · 287d
They are 1kOhm but even if I remove them the outputs are the same.