Re: [ng-spice] Newbie help with Ng-spice-rework10
Hello Erik,
I think the init file is a throwback to the berkley spice code,
you can find out where it belongs and what might be in it
be examining that code (my system's not up or I'd look myself).
I have also had those reisistor parameter errors, It has something
to do with the "rework" versions of ng-spice. The non-rework
versions do not do it (they are however not the most current).
cinbody
Erik de Castro Lopo wrote:
> Hi all,
>
> I last used the original spice about 10 years ago at university
> and PSpice about 5 years ago. I'm now having a look a ng-spice and
> would appreciate a little help.
>
> I've got a simple spice netlist named "test1.cir" as follows :
>
> ------------------------------------------------------
> A Simple AC Run
>
> .OPTIONS LIST NODE POST TRANS
> .OP
> .AC DEC 10 1k 1Meg
> .PRINT AC V(2)
>
> V1 1 0 DC 0 AC 1 SIN 0 1 1K 0 0 DISTOF1 0 DISTOF2 0
> R1 1 2 10k
> R2 2 0 10k
> C1 2 0 1n
>
> .END
> ------------------------------------------------------
>
> When I run this using "ngspice <test1.cir I get two types of
> warning messages. The first is :
>
> > Note: can't find init file.
>
> What init file is it looking for, where should it be and what
> should be in it?
>
> Secondly, I get the following messages about the resistors:
>
> > Error on line 7 : r1 1 2 10k
> > No such parameter on this device
> > Error on line 8 : r2 2 0 10k
> > No such parameter on this device
>
> What parameter is it looking for and why?
>
> Thanks in advance,
> Erik
> --
> +-------------------------------------------------+
> Erik de Castro Lopo erikd@zip.com.au
> +-------------------------------------------------+
> "I love deadlines. I especially like the whooshing sound
> they make as they go flying by." -- Douglas Adams
Partial thread listing: