X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com X-TCPREMOTEIP: 75.104.17.9 X-Authenticated-UID: jpd AT noqsi DOT com Content-Type: multipart/signed; boundary="Apple-Mail=_8FA7C4F4-D59B-49AA-98EA-500BA8F40961"; protocol="application/pgp-signature"; micalg=pgp-sha512 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: [geda-user] Can an attribute be attached to text for later inclusion in gnetlist backend? X-Pgp-Agent: GPGMail From: John Doty In-Reply-To: Date: Fri, 2 Sep 2016 08:39:59 -0400 Message-Id: <95E39BFD-E22B-4D51-A5A9-E4F4BB83C5FA@noqsi.com> References: <20160823053301 DOT 865f671a1b40b5a422e59ce7 AT gmail DOT com> <20160824185818 DOT GD14293 AT localhost DOT localdomain> <20160831221409 DOT GA2585 AT localhost DOT localdomain> 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=_8FA7C4F4-D59B-49AA-98EA-500BA8F40961 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 On Sep 1, 2016, at 5:22 PM, Svenn Are Bjerkem = (svenn DOT bjerkem AT googlemail DOT com) [via geda-user AT delorie DOT com] = wrote: > I noted that the verilog back-end expects the attribute which define > the name of the module to build a netlist for to be module-name and > the vhdl back-end expects the attribute to be module_name. I don't > know what the spice back-end expects. I=92m not sure about the original spice back end. spice-sdb uses a model-name attribute attached to a spice-subcircuit-LL = block. spice-noqsi can do it that way also, but I usually use a toplevel = spice-prolog attribute containing a .subckt card. In spice-noqsi, you = could have a toplevel attribute: spice-prolog=3D.subckt module_name@ %io This would pick up a toplevel module_name attribute and insert it in the = prolog. >=20 >>=20 >>>=20 >>> My main target is to just create top-level block-type schematics. I = am >>> not sure gnetlist could handle a "real" hierarchical design. I know >>> too little about its capabilities. >>>=20 >>=20 >> If I would know what is "real" hierarchical design... ;-) Yes, >> gnetlist has many limitations, though it has some means for >> working with hierarchical schematics. >=20 > I find it hard to describe what makes a design a real hierarchical > design other than that a symbol can represent a new schematic filled > with symbols which again represent schematics. Kind of the way scheme > works recursively into its problem solution. geda users make > hierarchical spice netlists all the time, so I am not sure what really > is the snag with gnetlist here, but for my most frequent use-case, a > schematic will be one level only where each symbol represent a file > with vhdl code (or verilog). gnetlist cannot assemble a hierarchical netlist by itself: it can only = do one module at a time. But for SPICE the hierarchical netlist is just = the concatenation of the module netlists. Easy Makefile job. John Doty Noqsi Aerospace, Ltd. http://www.noqsi.com/ jpd AT noqsi DOT com --Apple-Mail=_8FA7C4F4-D59B-49AA-98EA-500BA8F40961 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 iQIcBAEBCgAGBQJXyXMgAAoJEF1Aj/0UKykRC+IP/jMHnLNbHtqymbqxQ1M6ZFmf N3gn4uRofj5aWd1o2caqg4uQEpcmlZ0FKT2X0UR6S1hP52GcA5seB5gkRifhiLeO 8VxwygPNykx3ZHo+C+2Fqtu9dWnvI7W947pJqBZIESYyCcjf3D3kpGSv2iNSFdeL M8RsUsim+2KTbUgO/q9YU/LrkPAaVyCsDHzRtulhMDh1RNevOr3fbdPtPwOj52NP 7bivYfzm4a8bVzL5DmdPdP4mbkGw5m7Kbx6tT9kknA+FIQLvurUjVUiwhBIl1MqF jpS5zvdH5HKrRnQ8FmI1YtMPpsTDlATTW+WP5270edqoORNiccz1n7xcU16Z6RY/ P/90tp5xPwgGSquR1CXtS92xt/4G+L1RtI30LAfWaH6+wNElnTg2936agi1sTera j0zhFq7rgf4rAJZI8KZSRBxmz7bpWOQOdhqbXW4sO05KCRBo5otEEQpio/7y6YTq 510OhSofrjIFx3mcgmyai56z3CoCogHBbLTtMAiHWm7m7m6/IXP/d1SThP7bLi0r 88bUdECUWh0RVEp69sIYyMAah0v7qDQnbPxc8UuubkaLPzVDFi/BWhvfMwi/INtb /mgv62ExLUIC4ol7wKeCS8W/N+41t97mA8kO0GzRLcjS+kq0OEgzk7uFZx9xiVb8 f6RFDkTTYGQoxMAezW94 =styu -----END PGP SIGNATURE----- --Apple-Mail=_8FA7C4F4-D59B-49AA-98EA-500BA8F40961--