delorie.com/archives/browse.cgi   search  
Mail Archives: geda-help/2017/02/18/05:41:19

X-Authentication-Warning: delorie.com: mail set sender to geda-help-bounces using -f
X-Recipient: geda-help AT delorie DOT com
X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=googlemail.com; s=20161025;
h=mime-version:in-reply-to:references:from:date:message-id:subject:to;
bh=+ugkhn87ygkTtZfnIDY6JI/MCWll91pBBgDewZqMfJk=;
b=lOuWPnPqa0olDmpAYB2vHvW3KW99OlLyN6gUuOWBpNZcFiUqN2yX8jpQ/xZwDeyd2y
m0d0Yms4ug3YE1aS6373qoJTuL71CGVoljJP+/+ZMjtZ5rygYXpeAqbuK+v6+E2k+yQ7
xjjVIA+T1UpSqIYxFiT9mJiQtNf72OQH7zMq11Op1HciPUqmVKvRIpJ3Bb7NlO0KWp9g
L7IDI9QokeEteaws11fiVsmSIUZq00afMihIpbx/0q30l7tMdUwx7bU9qz32xjSB2YaX
YoISOwak1VI9iyPip2aoaMPEEKjuidxQyEdBT6JvJcWpPsVQMGNbAMcFiyj3HBEZE6l6
fL6A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:mime-version:in-reply-to:references:from:date
:message-id:subject:to;
bh=+ugkhn87ygkTtZfnIDY6JI/MCWll91pBBgDewZqMfJk=;
b=WqR8XC773uTY26LN1/QUqlIAQJYBswgKwItB+fm8xw+mWaTFaSBvShg9kYzhZphvkr
DrjJwLQkGlqvX/lIfS6pDzrFPPlz69/6D07n6Ebjqf/AsYx592tIMAeZRDgLpVS2UpWp
toQf1oo2yLH4NdVJABcANWjmucQFjMKsUJSZbS7OE/bUDOVXN2JsX08yGpRvM6R9tSmS
kyjiBJbm18Mhf0PhVZQKDU7Xp1Cj62r9EQRfrtY6K0dSmM3APc6wfoiV54R0RPEF/KbS
DlPHi5ZnhOjLUPe8aRlHULDU4jWOGF7fMl2a/grHosd81RgMwxdXYDNKCXi9OgH/d2lw
BJQg==
X-Gm-Message-State: AMke39kX1D/CBBNWr5x+7PF3UUAxfAAUGwghShMVB5Yd69cPK8ZZswhCNQanOOU5xESYR8rTWLiB0LHTQT89tA==
X-Received: by 10.55.104.13 with SMTP id d13mr12796633qkc.9.1487414467841;
Sat, 18 Feb 2017 02:41:07 -0800 (PST)
MIME-Version: 1.0
In-Reply-To: <CAEoZ9HgxR8qm9vfr6TUHgxPTeOGZ=a7Mc8NrwmPvJOLyXHa5fg@mail.gmail.com>
References: <CAEoZ9Hi01S7_QOETXLyBF1fOPeFUT_34YRiooJbbFSrDV956NQ AT mail DOT gmail DOT com>
<FE10A69B-DB86-4182-A223-25AEE5FF697E AT noqsi DOT com> <CAEoZ9HgxR8qm9vfr6TUHgxPTeOGZ=a7Mc8NrwmPvJOLyXHa5fg AT mail DOT gmail DOT com>
From: "Peter Clifton (petercjclifton AT googlemail DOT com) [via geda-help AT delorie DOT com]" <geda-help AT delorie DOT com>
Date: Sat, 18 Feb 2017 10:41:07 +0000
Message-ID: <CAJXU7q8-XPJ+9k3C4bVWvYe5ci1eFGrnNfeCBQoykhdWAM9s0g@mail.gmail.com>
Subject: Re: [geda-help] Please help with multiple-pages schematics
To: geda-help AT delorie DOT com
Reply-To: geda-help AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: geda-help AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

--94eb2c059574fd56f60548cbaadd
Content-Type: text/plain; charset=UTF-8

On 18 February 2017 at 08:27, Vasily Olekhov (olekhov AT gmail DOT com) [via
geda-help AT delorie DOT com] <geda-help AT delorie DOT com> wrote:

> Thank you John, I've got your point.
> Can you hint how should I reference CONN1 on the second page?
> It should be the same component CONN1 from the first page.
>

This is a slightly unusual way of doing things. I _thought_ it should work,
but having checked, it is actually generating a bad netlist.

My Windows dual-boot has gEDA 1.6.1..... so this could be some bug which is
fixed since then. What version do you use?

C:\Users\Peter\Downloads>gnetlist -g PCB p1.sch p2.sch -o test1.net
Loading schematic [C:\Users\Peter\Downloads\p1.sch]
Loading schematic [C:\Users\Peter\Downloads\p2.sch]

C:\Users\Peter\Downloads>more test1.net
unnamed_net2    TP1-1 CONN1-2
GND     CONN2-1 CONN1-3
Vcc     CONN2-3 CONN1-1
unnamed_net1    CONN2-2 CONN1-2


Notice how CONN1-2 appears in two distinct nets?



For how to achieve what you want... I think you should name the nets you
are taking between pages.

This can be done by attaching a "netname=...." attribute to the net you
want to connect on both pages. Don't repeat components between pages.

Note that your power rail symbols also "name" nets (it is how they work),
so wherever you use those symbols on multiple pages, they will connect to
the "GND" net and the "Vcc" net.

Peter

--94eb2c059574fd56f60548cbaadd
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_extra"><br><div class=3D"gmail_quote">=
On 18 February 2017 at 08:27, Vasily Olekhov (<a href=3D"mailto:olekhov AT gma=
il.com">olekhov AT gmail DOT com</a>) [via <a href=3D"mailto:geda-help AT delorie DOT com=
">geda-help AT delorie DOT com</a>] <span dir=3D"ltr">&lt;<a href=3D"mailto:geda-h=
elp AT delorie DOT com" target=3D"_blank">geda-help AT delorie DOT com</a>&gt;</span> wro=
te:<br><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;=
border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir=3D"ltr">T=
hank you John, I&#39;ve got your point.<div>Can you hint how should I refer=
ence CONN1 on the second page?=C2=A0</div><div>It should be the same compon=
ent CONN1 from the first page.</div></div></blockquote><div><br></div><div>=
This is a slightly unusual way of doing things. I _thought_ it should work,=
 but having checked, it is actually generating a bad netlist.</div><div><br=
></div><div>My Windows dual-boot has gEDA 1.6.1..... so this could be some =
bug which is fixed since then. What version do you use?</div><div><br></div=
><div><div>C:\Users\Peter\Downloads&gt;gnetlist -g PCB p1.sch p2.sch -o <a =
href=3D"http://test1.net">test1.net</a></div><div>Loading schematic [C:\Use=
rs\Peter\Downloads\p1.sch]</div><div>Loading schematic [C:\Users\Peter\Down=
loads\p2.sch]</div><div><br></div><div>C:\Users\Peter\Downloads&gt;more <a =
href=3D"http://test1.net">test1.net</a></div><div>unnamed_net2 =C2=A0 =C2=
=A0TP1-1 CONN1-2</div><div>GND =C2=A0 =C2=A0 CONN2-1 CONN1-3</div><div>Vcc =
=C2=A0 =C2=A0 CONN2-3 CONN1-1</div><div>unnamed_net1 =C2=A0 =C2=A0CONN2-2 C=
ONN1-2</div><div><br></div><div></div></div><div><br></div><div>Notice how =
CONN1-2 appears in two distinct nets?<br></div><div><br></div><div><br></di=
v><div><br></div><div>For how to achieve what you want... I think you shoul=
d name the nets you are taking between pages.</div><div><br></div><div>This=
 can be done by attaching a &quot;netname=3D....&quot; attribute to the net=
 you want to connect on both pages. Don&#39;t repeat components between pag=
es.</div><div><br></div><div>Note that your power rail symbols also &quot;n=
ame&quot; nets (it is how they work), so wherever you use those symbols on =
multiple pages, they will connect to the &quot;GND&quot; net and the &quot;=
Vcc&quot; net.</div><div><br></div><div>Peter</div></div></div></div>

--94eb2c059574fd56f60548cbaadd--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019