X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com X-TCPREMOTEIP: 207.224.51.38 X-Authenticated-UID: jpd AT noqsi DOT com Content-Type: multipart/signed; boundary="Apple-Mail=_DDA8FFB6-3735-4DC3-B1EB-2F8CCE73B6B1"; protocol="application/pgp-signature"; micalg=pgp-sha512 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: [geda-user] first attempt at bus support in gnetlist for pcb X-Pgp-Agent: GPGMail 2.5.2 From: John Doty In-Reply-To: <201601162211.u0GMB1E4032505@envy.delorie.com> Date: Sat, 16 Jan 2016 16:19:47 -0700 Message-Id: References: <201601080714 DOT u087Ejj5032766 AT envy DOT delorie DOT com> <201601161959 DOT u0GJxa4G027544 AT envy DOT delorie DOT com> <0E73A3F8-8B1B-4C2A-9792-766AA724905D AT noqsi DOT com> <201601162211 DOT u0GMB1E4032505 AT envy DOT delorie DOT com> To: geda-user AT delorie DOT com X-Mailer: Apple Mail (2.1878.6) Reply-To: geda-user AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: geda-user AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk --Apple-Mail=_DDA8FFB6-3735-4DC3-B1EB-2F8CCE73B6B1 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 On Jan 16, 2016, at 3:11 PM, DJ Delorie wrote: >=20 >> By default, a net nBL,A[8:2] internal to a subcircuit with refdes A1 >> will get the name A1/nBL,A[8:2] when gnetlist flattens >> hierarchy. That won't expand right. And note that the user can >> decide to use a different separator and whether hierarchy is prefix >> or postfix in gnetlistrc, so it isn't as simple as looking for the >> last /. >=20 > Hmmm... so introducing the <> syntax, either explicitly or as part of > the netlisting, gives us a foo/ -> foo/a,foo/b,foo/c path? That=92s the idea. >=20 > I think my [] syntax could be made nestable, and expanded to include > <> or () pairings. Perhaps the netlister could auto-wrap everything > in a sub-circuit, then expand everything back up. Not quite sure what you mean here. The back end and plug in have no = control of hierarchical expansion. >=20 > In the case where we *don't* flatten, we can still expand busses on > either side of the boundary, but I don't know how that affects the > net-matching mechanism in gnetlist to stitch the heirarchy together. For hierarchical SPICE, we separately netlist the modules, so it=92s = SPICE that notices if the definition and the instance match. >=20 >>> Sigh. >>=20 >> What do you expect? >=20 > Just sighing because it's yet another not-easy-to-do-generically > problem. >=20 John Doty Noqsi Aerospace, Ltd. http://www.noqsi.com/ jpd AT noqsi DOT com --Apple-Mail=_DDA8FFB6-3735-4DC3-B1EB-2F8CCE73B6B1 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQIcBAEBCgAGBQJWmtATAAoJEF1Aj/0UKykRQhMQALZVMO/uNUby71Hb7afU2FKN LAIJf3EworVn1sD9BhDdf+2dU56ffyPlLKZDy0yd4KKNEGygCqEuQgjCLstE1LPi xzsDZdYGy5rYIZyOG6sGrR+9Aw/yIey/X0jwQLvR6nauRuVeptPXFcquNfQKkVaN WOW+P/HkTQeEx/z8zPCptGgeBGPkwERhIu3nzXjWzzEc9sz2U/PbFVOMWCGzk7bJ F7qtGAI3io/xeO1YXocYGNQozVR5EDDKgJDAbFOlmsT0z7ZrStZa5h7wg9l4JN4f sVoZMsD1GD43zF48CPTf2XKb08KdpuivuGpSI5HBXyZ116pOXelSxnsl8mtRizb5 GpS0x7TtY/6+UREO+DAsIOCcb8RyYatw318Uf+IN9oatQpVGhCjn1pBx9ZKnNMq9 HgcV6zkOr5+U8/oy+xUhR0HjfhEhuLBo/N742HE+2/ADB8REgfFRZsBKWZkO1K8C 6KbEGQAKBwclc6//7Rgt2HaNiEK7mHB/NHABRLBm0T0uUv3Lq1VsRh57R54ObMqU ekyPmhWRBeYpDgVI9OlRlDYHM7n2tCRVGJtTD/S/UiJhW3vEKtjHjxZXNzWw3C3S X194hYhYkIFrE2pHl8ThUUOgxK4HHonJ2CS5GPh6gf4B6Mx4P+vTFijDxRK3zdUQ oliALaEUSortERnT2PSN =uDvg -----END PGP SIGNATURE----- --Apple-Mail=_DDA8FFB6-3735-4DC3-B1EB-2F8CCE73B6B1--