[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gEDA: generating a spice netlist
Charlie wrote:
> Charlie wrote:
>
>> What modifications need to be made to this circuit.sch file in order
>> to do a gnetlist -g spice... (it works with -g geda)
>> The circuit.net file it creates says No valid value attribute found
>> for R and B
>>
>> v 20020209
>> C 57300 44800 1 90 0 battery-1.sym
>> {
>> T 56800 45100 5 10 1 0 90 0
>> uref=B1
>> net=-12v:1
>> net=+12v:2
>> label=12V Battery
>> value=12V
>> }
>> C 57800 45900 1 0 0 resistor-1.sym
>> {
>> T 58000 46200 5 10 1 0 0 0
>> uref=R1
>> label=C1
>> value=500
>> }
>> C 57300 43500 1 0 0 gnd-1.sym
>> N 57100 45500 57100 46000 4
>> N 57100 46000 57800 46000 4
>> N 58700 46000 59200 46000 4
>> N 59200 46000 59200 44300 4
>> N 59200 44300 57100 44300 4
>> N 57100 44300 57100 44800 4
>> N 57400 43800 57400 44300 4
>>
>>
> Wrong schematic! The one I had trouble with was this:
>
> v 20020209
> T 74800 45500 8 10 1 0 90 0
> uref=C2
> T 70400 47800 8 10 1 0 0 0
> uref=C1
> T 70100 48100 8 14 1 0 0 0
> label=C1
> T 70000 48400 8 14 1 0 0 0
> value=1uF
> T 72000 45500 8 10 1 0 90 0
> uref=R1
> T 72400 45900 8 14 1 0 0 0
> label=R1
> T 72400 46200 8 14 1 0 0 0
> value=2K
> T 73000 47700 8 10 1 0 0 0
> uref=R2
> T 72500 48400 8 14 1 0 0 0
> value=500
> T 72600 48000 8 14 1 0 0 0
> label=R2
> T 68800 45600 8 10 1 0 90 0
> uref=V1
> T 67400 45900 8 14 1 0 0 0
> label=V1
> T 66900 46300 8 14 1 0 0 0
> value=1V 0Deg
> T 68600 43600 8 14 1 0 0 0
> label=GND
> C 75300 45300 1 90 0 capacitor-1.sym
> C 70200 47300 1 0 0 capacitor-1.sym
> C 72300 45300 1 90 0 resistor-1.sym
> C 72800 47400 1 0 0 resistor-1.sym
> C 69300 45300 1 90 0 voltage-1.sym
> C 69000 44100 1 0 0 gnd-1.sym
> N 69100 46200 69100 47500 4
> N 69100 47500 70200 47500 4
> N 71100 47500 72800 47500 4
> N 73700 47500 75100 47500 4
> N 75100 47500 75100 46200 4
> N 75100 45300 75100 44500 4
> N 75100 44500 69100 44500 4
> N 69100 44400 69100 45300 4
> N 72200 46200 72200 47500 4
> N 72200 45300 72200 44500 4
> T 75200 49400 9 14 1 0 0 0
> Band-Pass Filter
>
> This gives me :
>
> * Spice netlister for gnetlist
> * Spice backend written by Bas Gieltjes
> U? 0 2 ERROR_INVALID_PIN ERROR_INVALID_PIN ERROR_INVALID_PIN
> ERROR_INVALID_PIN ERROR_INVALID_PIN ERROR_INVALID_PIN
> ERROR_INVALID_PIN ERROR_INVALID_PIN <No valid value attribute found>
> .END
>
>
I decided to try re-entering the value attributes and the uref
attributes and it worked. Now I have a spice netlist and I'm going to
load it into gnucap. The thing is, there was something in the docs about
the net= attribute.
Hey by the way, I installed gnucap on my "new" Tecra 510CDT, it took 5
hours to build :)
--
L8er,
Charles
http://www.demartigny.com (under construction, updated frequently)