From: Eric L. <ela...@sy...> - 2010-11-08 17:01:02
|
Hi all, (sorry my previous post was sent in HTML) I believe to have found a bug for the current-controlled switch device. The ciruit below produces a syntax error while it shouldn't. After some code debugging time, I have pinpointed the error in the frontend module inpcom.c. I have attached a proposed patch (iswitch.patch) that solves the problem. I have verified past releases, and this bug has been introduced in release 18. Release 17 doesn't produce any error. --- current controlled switch VS 1 0 DC 10V VC 10 0 DC 1V W1 1 2 VC SMOD OFF R1 2 0 1k .MODEL SMOD CSW IT=1mA RON=1ohm ROFF=1meg .END --- Best Regards, -- Éric Larouche B.Sc. (physics) M.Sc.A (computer engineering) UQAC university |