User Activity

  • Posted a comment on ticket #883 on ngspice

    Thanks Holger, glad it checks out. I'll try a longer optran run like you suggest and open a separate ticket for it, with a small circuit that shows the problem. One more thing. While chasing the pswitch bug I put together a small checker that compares the AC result with the slope of the DC solution, and ran it over the other XSPICE analog models and the common built-in devices. It turned up 14 more bugs, where the AC matrix doesn't match the DC behaviour, for example: the native S/W switch loses...

  • Posted a comment on ticket #883 on ngspice

    Thanks for confirming it @h_vogt. I've attached a patch against current master (a80f6e3e). The problem is in the AC branch of the pswitch code model. Its conductance entries use the opposite sign to the DC current Jacobian, and it never stamps the control port's input loading. While checking that, I also found that the derivative in the logarithmic transition region wasn't normalized by the control voltage span, and that the control derivative stays nonzero where the resistance is clamped. aswitch...

  • Created ticket #883 on ngspice

    PSpice VSWITCH (XSPICE pswitch) gives impossible AC gain (~4.6e15) in a passive divider, ps/ltps mode

View All

Personal Data

Username:
uspraveenraj
Joined:
2026-10-23 20:02:02.686000

Projects

  • No projects to display.

Personal Tools