[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gEDA: generating a spice netlist



 Charlie wrote:
> 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

This seems, that what you exepect to be device attributes, is really a text 
placed somewhere on the sheet. The attributes atached to a component are 
placed in braces {} below the component line:

C 72300 45300 1 90 0 resistor-1.sym
{
> 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
}

You should select the component then right click and choose Edit (or type e 
twice) and then add/modify the needed attribute.
You can try to attach attributes to the component.

W. Kazubski