Newbie help with Ng-spice-rework10


To ng-spice@ieee.ing.uniroma1.it
From Erik de Castro Lopo <erikd@zip.com.au>
Date Wed, 19 Apr 2000 22:17:37 +0000
Delivered-To mailing list ng-spice@ieee.ing.uniroma1.it
Mailing-List contact ng-spice-help@ieee.ing.uniroma1.it; run by ezmlm
Organization Erik Conspiracy Secret Labs
Reply-To ng-spice@ieee.ing.uniroma1.it
Sender erikd@zip.com.au

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: