[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-user: not quite hierarchical netlist



Hi everybody,

probaly this is a stupid question, but I am having difficulties
generating a hierachical spice netlist: I have tried to follow the
instructions in the manual and ended up with the following netlist:

*******************************
* Begin .SUBCKT model         *
* spice-sdb ver 12.27.2005    *
*******************************
.SUBCKT Amp
*==============  Begin SPICE netlist of main design ============
MX1/M1 X1/N1 NN X1/GND X1/GND NMOS  l=1.2 w=2.2
V1 NIN 0 VIN
X1/C1 NOUT X1/N1 Ccomp
R2 NN NOUT RR2
R1 NIN NN RR1
MX1/M2 NOUT X1/N1 X1/GND X1/GND NMOS  l=1.2 w=2.2
.ENDS Amp
*******************************


while I was hoping to get something like:


.SUBCKT Amp IN OUT
*==============  Begin SPICE netlist of main design ============
MX1/M1 X1/N1 NN X1/GND X1/GND NMOS  l=1.2 w=2.2
X1/C1 NOUT X1/N1 Ccomp
MX1/M2 NOUT X1/N1 X1/GND X1/GND NMOS  l=1.2 w=2.2
.ENDS Amp

V1 NIN 0 VIN
R2 NN NOUT RR2
R1 NIN NN RR1
X1 NN NOUT Amp

i.e. I would prefer a hierarchical netlist rather than an expanded one.

Any hints on what I skewed up are welcome.

Kind regards
	Wolfgang


-----------------------------------------------------------------------------
Wolfgang Buesser        Voice: +49(0)8161 98 68 30
Hittostr. 8             
DE-85354 Freising       Email: wolfgang.buesser@xxxxxx