X-Authentication-Warning: delorie.com: mail set sender to geda-user-bounces using -f X-Recipient: geda-user AT delorie DOT com X-TCPREMOTEIP: 98.110.213.70 X-Authenticated-UID: jpd AT noqsi DOT com From: John Doty Content-Type: multipart/alternative; boundary="Apple-Mail=_0EE9FE2E-4630-4932-88C8-28CCAFCA8A74" Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.1\)) Subject: Re: [geda-user] Schematic attributes: device Date: Fri, 26 Aug 2022 08:31:24 -0400 References: <20220826110318 DOT 4823680724AA AT turkos DOT aspodata DOT se> To: "karl AT aspodata DOT se [via geda-user AT delorie DOT com]" In-Reply-To: <20220826110318.4823680724AA@turkos.aspodata.se> Message-Id: <58228AFD-355F-4D6E-8D6B-BBF8172C8A87@noqsi.com> X-Mailer: Apple Mail (2.3696.120.41.1.1) 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=_0EE9FE2E-4630-4932-88C8-28CCAFCA8A74 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > On Aug 26, 2022, at 7:03 AM, karl AT aspodata DOT se [via = geda-user AT delorie DOT com] wrote: >=20 > We have: > http://wiki.geda-project.org/geda:master_attributes_list#device = > = https://graahnul-grom.github.io/ref-manual/lepton/device-attribute.html = >=20 > /// >=20 > There is a typo in the geda text: > Do not confuse this attribute with just having a text label which the = device name. > It should probaby say "with the device name." >=20 > /// >=20 > It seems to be required and made invisible, it doesn't say what is the > point of having this and why I should have it in my symbols. >=20 > So, > . which backends are using this ? A bunch. grep '"device"' gnet-*.scm yields a page of hits. > . what kind of values do they exspect ? The section "Built-in default prototypes=E2=80=9D at = https://github.com/noqsi/gnet-spice-noqsi/wiki/Reference = lists devices = that spice-noqsi recognizes. spice-sdb recognizes a similar list, but = handles each device with Scheme code rather than macro expansion. Other back ends have other devices that get special treatment. > . can we make a list of legal values ? I believe that all back ends treat any value as legal, with default = behavior for unrecognized values. John Doty Noqsi Aerospace, Ltd. jpd AT noqsi DOT com --Apple-Mail=_0EE9FE2E-4630-4932-88C8-28CCAFCA8A74 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8


We have:
http://wiki.geda-project.org/geda:master_attributes_list#device=
https://graahnul-grom.github.io/ref-manual/lepton/device-attrib= ute.html

///

There is a typo in the geda = text:
Do not = confuse this attribute with just having a text label which the device = name.
It should = probaby say "with the device name."

///

It seems to be required and made invisible, it doesn't say = what is the
point of = having this and why I should have it in my symbols.

So,
. which backends are using this = ?

A = bunch.

grep '"device"' gnet-*.scm

yields = a page of hits.

. what kind = of values do they exspect ?

The = section "Built-in default prototypes=E2=80=9D=  at https://github.com/noqsi/gnet-spice-noqsi/wiki/Reference&nb= sp;lists devices that spice-noqsi recognizes. spice-sdb recognizes a = similar list, but handles each device with Scheme code rather than macro = expansion.

Other back ends have other devices that get special = treatment.

. can we make = a list of legal values ?

I believe that all back ends treat any = value as legal, with default behavior for unrecognized values.

John Doty              Noqsi = Aerospace, Ltd.

jpd AT noqsi DOT com




= --Apple-Mail=_0EE9FE2E-4630-4932-88C8-28CCAFCA8A74--