[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gnetlist -g PCB* (Re: gEDA-user: gEDA/PCB quick start tutorial?)
On Fri, 31 May 2002, Marc Reibel wrote:
> On Thu, 30 May 2002 mcmahill@mtl.mit.edu wrote:
>
> > I played around a little bit with:
> >
> > gnetlist -g PCBboard -o PreAmp.pcb PreAmp.sch
> > gnetlist -g PCB -o PreAmp.net PreAmp.sch
> >
> > and indeed the PreAmp.net file appears to be a netlist. However, the
> > Preamp.pcb file seems to be noticibly bare. There is some stuff there,
> > but no Elements at all. I tried out gschem2pcb, and after changing
> > --lines to -n for head(1) and tail(1), it runs, but the output is not much
> > better. No elements still. I have the 'footprint' attribute set for all
> > of my components.
> >
> > Any suggestions?
> >
> > -Dan
> >
>
> Have you named them all?
> E.g. U1 U2 U3 U4 R1 R2 R3 C1 C2...?
> gnetlist only lists parts with correct footprint _and_
> names.
>
yes. Looking at PreAmp.net, I see the correct netlist along with the
correct reference designators. ie:
[...]
unnamed_net7 C15-1 C13-2 R8-2 U1-3
unnamed_net6 J3-1 R17-2 R16-1 C15-2 C13-1 R7-2
GND J4-2 J3-2 J2-1 C14-2 C9-2 C8-2 R15-1 C7-1 U2-4 C6-2 C5-2 C4-1 U1-4
R7-1 C3-2 C2-2 R5-1
unnamed_net5 C8-1 R13-2 R9-2 R8-1 R6-1 R5-2
[...]
The .pcb file ends up with:
# release: pcb 1.6.3
PCB("" 6000 5000)
Grid(10 0 0)
Cursor(10 270 3)
Flags(0x000000d0)
Groups("1,2,3,s:4,5,6,c:7:8:")
Styles("Signal,10,40,20:Power,25,60,35:Fat,40,60,35:Skinny,8,36,20")
Layer(1 "solder")
(
)
Layer(2 "GND-sldr")
(
)
Layer(3 "Vcc-sldr")
(
)
Layer(4 "component")
(
)
Layer(5 "GND-comp")
(
)
Layer(6 "Vcc-comp")
(
)
Layer(7 "unused")
(
)
Layer(8 "unused")
(
)