[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-gnucap] Newbie question: using Vsupply command in batch mode?
From: |
Orestes Mas |
Subject: |
Re: [Help-gnucap] Newbie question: using Vsupply command in batch mode? |
Date: |
Thu, 26 Apr 2012 11:32:58 +0200 |
User-agent: |
KMail/4.8.2 (Linux/3.2.0-23-generic; KDE/4.8.2; x86_64; ; ) |
El Dijous 26 Abril 2012, a les 12:05:26, Duncan Bayne va escriure:
> Hi All,
>
> I am simulating a circuit with Gnucap, and I'm automating several
> steps in a Makefile:
>
> =====
> all:
> gnetlist power_switch_replacement.sch -s -g spice-sdb -o
> power_switch_replacement.net
> gnucap -i power_switch_replacement.gnucap
> =====
> Unfortunately this doesn't work. The get, model and list commands run
> correctly but the Vsupply command fails:
>
> =====
> Vsupply +9v 0 9
> ^ ? what's this?
I think node numbers should go before voltage value, i.e.:
Vsupply 0 9 +9v
(note that "as is", voltage at node number 9 will be -9v)
If this is a gnetlist auto-generated line from the schematics file, then you
should blame gnetlist for doing it that way.
Orestes Mas.