RE: [ng-spice] OP-AMP linux


To "'ng-spice@ieee.ing.uniroma1.it'" <ng-spice@ieee.ing.uniroma1.it>
From "Gillespie, Alan" <Alan.Gillespie@analog.com>
Date Wed, 24 Oct 2001 17:02:24 +0100
Delivered-To mailing list ng-spice@ieee.ing.uniroma1.it
Mailing-List contact ng-spice-help@ieee.ing.uniroma1.it; run by ezmlm
Reply-To ng-spice@ieee.ing.uniroma1.it


I think polynomial sources were dropped in spice3. They
were replaced with the arbitrary source (B) device. If
you can get hold of manuals for both spice2 and spice3,
you should be able to convert the two lines with poly()
in them to B devices. I'm afraid I can't remember the
old syntax, off-hand,

Cheers,

Alan

> -----Original Message-----
> From: rapela [mailto:rapela@usc.edu]
> Sent: 24 October 2001 16:58
> To: ng-spice@ieee.ing.uniroma1.it
> Subject: [ng-spice] OP-AMP linux
> 
> 
> Hello,
> 
> First, I am a linux fun. Second, I am taking a course in 
> linear circuits
> and I need to use an opamp in spice. I have installed spice3f4 and
> realized that there was not a card for an opamp. I asked my 
> TA about how
> to use opamp with my linux version of spice and he told me 
> that I should
> go to Win because spice under linux does not have opapms. It would be
> something really sad to go to windows so I am trying to get an opamp
> model.
> 
> I found a macromodel for the ua741 (attached file ua741.inc) and when
> I tried to use it (comparator.cir) I got the following errors:
> 
> ********************
> Error on line 30 : e:test:gnd test:99 0 test:poly(2) 
> test:(3,0) (4,0) 0 .5
> .5
>        unknown parameter (test:) 
> Error on line 31 : f:test:b test:7 test:99 p:test:oly(5) vb 
> vc ve vlp vln
> 0 10.61e6 -10e6 10e6 10e6 -10e6
>        unknown parameter (vb) 
> Fatal error: f:test:b: unknown controlling source p:test:oly
> doAnalyses: No such parameter on this device
> 
> run simulation(s) aborted
> ********************
> 
> I am new to spice and if something could point me to a model 
> for any opamp
> or tell me what am I doing wrong with ua741.ing. I will 
> really appreciate
> it.
> 
> Thanks in advance, Joaquin
> 
> ----------------------------------
> Joaquin Rapela
> PhD Student, Signal and Image Processing Institute
> University of Southern California
> 3740 McClintock Ave, EEB 424
> Los Angeles, CA 90089-2564
> tel: (213) 740-6430
> fax: (213) 740-4651
> ----------------------------------
> 

Partial thread listing: