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.

  • lurucaOP
    link
    fedilink
    English
    arrow-up
    2
    ·
    23 days ago

    The problem was the source voltage. Increasing it to 1.5 V solved the issue.

    • lurucaOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      23 days ago

      They are 1kOhm but even if I remove them the outputs are the same.

  • lurucaOP
    link
    fedilink
    English
    arrow-up
    1
    ·
    23 days ago

    This is the working Voltsim version :