delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to geda-user-bounces using -f |
X-Recipient: | geda-user AT delorie DOT com |
X-Original-DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; |
d=gmail.com; s=20161025; | |
h=date:from:to:subject:message-id:in-reply-to:references:mime-version | |
:content-transfer-encoding; | |
bh=+kRSIMyaFTOfx5Bd2k0HGp4Mo7CZ2GMQlwMvCAqA9Dw=; | |
b=LKejxy18NlcRYtpyfjJC6SGr3KAOQFIuUN+HkNQWWiR5C96tu79d1WAKUWdv17Mc1e | |
FgGl1rqiS3pOMlwVtzPl73MNBvsCfE5xkydaz+nf1iu06uAaVeIpN81lXUZlgTRoP1yX | |
Q2b8tFW682g41i4BRJPySJA8RLMwt/M6LfBmCtyb9t6p6apuuTbc2WQzkG3vrF5xdqTC | |
gO3IZ3CuL4k2EKT1l4omDtJJOqiEeBjrwv2Th3lP839/0q+2WB5uTRY3iu3XMzRBjlPG | |
VtsWeHiWUnuwmvchyQqOe6XtjahqBBa58i7mfm1AJna2KAT3ohEBkb/jIbzmqFLf891y | |
xwCA== | |
X-Google-DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; |
d=1e100.net; s=20161025; | |
h=x-gm-message-state:date:from:to:subject:message-id:in-reply-to | |
:references:mime-version:content-transfer-encoding; | |
bh=+kRSIMyaFTOfx5Bd2k0HGp4Mo7CZ2GMQlwMvCAqA9Dw=; | |
b=iRMvXhQ990QLNVavdm1IhWJCIWJa3uHCTIEv9cr0DfeSGRAA3WEs5YbpU6ZUOonraS | |
YY89WHG9yasp+bLZ2ixdNFbiuKyyWzgyY3mLUm98EXo24ILfgeTc5HIPZM6I3nfrY0vI | |
aQX9jCDBBtnBOuGYPo6UxfLw3dzzG7U/wIuJFFIjZWG8x91saU/VxXPT1tZdR7FBhXOu | |
+qFpq0SbbHmoZqy8l0g2LD0cshxzgWAL+U4YQSIw+lSrJeTRMe+jQ70+gCG3qV2kg9Gr | |
nJgukM+8G+sfg+hCnINUSuQ9ZTpUpfDPFbsZh5awiWhX5sirCtE1yygkosi2zTgVw/Ui | |
7lSQ== | |
X-Gm-Message-State: | AKGB3mJaSymjr7uBNvBKMS4MlsErbV75RcERQUU/amvLPlIM5YcrHkOc |
RhxK5TpIDnJ94UOAOqGIEnXSPw== | |
X-Google-Smtp-Source: | ACJfBos/BNDueebsAGCoPdFbOZf9yguOWTUgJ+Bh+cwUyNrQ0jfIknPttslN3GeeoAg/QPqJHqQWOQ== |
X-Received: | by 10.46.9.70 with SMTP id 67mr3651559ljj.144.1515266923960; |
Sat, 06 Jan 2018 11:28:43 -0800 (PST) | |
Date: | Sat, 6 Jan 2018 20:28:40 +0100 |
From: | "Nicklas Karlsson (nicklas DOT karlsson17 AT gmail DOT com) [via geda-user AT delorie DOT com]" <geda-user AT delorie DOT com> |
To: | geda-user AT delorie DOT com |
Subject: | Re: [geda-user] why pinnumber in sym pins? |
Message-Id: | <20180106202840.7ff17e1a815764a79ef9447b@gmail.com> |
In-Reply-To: | <20180106190939.D712A804CEEF@turkos.aspodata.se> |
References: | <20171226122009 DOT 366BF804CEDE AT turkos DOT aspodata DOT se> |
<alpine DOT DEB DOT 2 DOT 20 DOT 1801022021340 DOT 14184 AT nimbus> | |
<20180106155314 DOT 38132804CECC AT turkos DOT aspodata DOT se> | |
<20180106171455 DOT 2518ffeb48c5079339697e0b AT gmail DOT com> | |
<20180106165242 DOT D5C1A804CEEF AT turkos DOT aspodata DOT se> | |
<20180106183020 DOT d07a529ba8108dafa4c64e9e AT gmail DOT com> | |
<20180106190939 DOT D712A804CEEF AT turkos DOT aspodata DOT se> | |
X-Mailer: | Sylpheed 3.5.1 (GTK+ 2.24.31; x86_64-pc-linux-gnu) |
Mime-Version: | 1.0 |
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 |
> Niklas: > ... > > I understand the mapping and use gschem and pcb often though. Even > > though current mechanism work I think about if it could be improved. > > Ok. > > Using some text in the pinnumber attribute works well enough: > like in > > P 300 200 0 200 1 0 1 > { > T 275 225 5 6 1 1 0 6 1 > pinnumber=-Vin > } > > which gives me a sane netlist like: > > 0V U1--Vin X1-1 U2--Vin > > What could be improved is that pcb could map the -Vin from the netlist > to this pin in the footprint: > > a: Pin [ 0.000mm 0.000mm 2.000mm 0.500mm 2.400mm 1.000mm "-Vin" "1" "" ] > > so I don't have the edit it to look like: > > b: Pin [ 0.000mm 0.000mm 2.000mm 0.500mm 2.400mm 1.000mm "-Vin" "-Vin" "" ] > > I.e., if not fount the "pinnumber" in the "number" field, look at the > "name" field. > > Another way to do the same thing is to have two fp, one with pin > definitions like a above, and one like b. > > /// > > What improvement did you think of ? Avoid duplicate information, normally I think the visible label is a good identifier just because it's visible on the schematic. Pin mapping is not always ideal to have in symbol but work well sometimes, it need to be somewhere, kept me thinking but did not come up with anything perfect, in sort of it come later in workflow but ... In cschem I pin mapping is handled by plugin. Overall gschem is a great program to draw schematics, it is simple to make symbols and connect them, attributes could be added as needed.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |