-
Notifications
You must be signed in to change notification settings - Fork 114
Conversation
* Clarify rules regarding NC pins * Clarify when they may be omitted * Clarify that they must be hidden when included.
content/klc/S4.6.adoc
Outdated
|
||
**Exceptions** | ||
|
||
. Unused NC pins can be set to invisible. In this case the electrical type must be `Not Connected`. The end of the pin should lie on the symbols outline box to prevent unwanted connections to the invisible pin (see screenshot below). | ||
. Power input pins must not be invisible unless used in power symbols. (Hidden power input pins are global labels.) Refer to the link:/libraries/klc/S4.3[requirements for pin stacking] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Punctuation is a bit odd on this sentence.
Otherwise, I think this PR looks OK.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The reason for the strange punctuation might be because i tried to use this strange RFC defined standardized language. #289
Do you have a better suggestion?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Something like this maybe?
Power input pins must not be invisible unless used in power symbols (hidden power input pins are global labels). Refer to the link:/libraries/klc/S4.3[requirements for pin stacking].
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Am i blind or is yours word for word the same?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The wording is the same. It's just the punctuation and capitalisation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed (forgot to mark it as such)
Fixed |
@poeschlr ok to merge? |
In my opinion yes. But i might be biased here ;) |
@marekr i think this is ready to go. Nobody complained about it for a month or so and this is more an update of the KLC to document how everything is done in the library already than a new rule. |
Thanks for having fixed that picky comment of mine.
Maybe "unless they are not connected or part of a stack or power symbols" Sorry I didn't come back on this earlier. Thanks! |
Also, it's been so long that we may want to update the date on the revision history. |
Since when would one use a construction like A or B or C instead of A, B or C? |
Please ignore. In my mind I had read it as: "Symbol pins must not be hidden unless they are not connected, part of a stack of power symbols" And by stack of power symbols I understood stack of power pins in a symbol, so I misread that too. After the date update, I think this can be merged. Thanks! |
@marekr it looks like the link checker keeps failing for the digikey links, but I can access those fine in my own browser. I wonder if there is anything to do about this. It is not 404, but 403. |
I did not touch these links. So i suggest to open a separate issue about it as nobody will find a discussion about them in here and the result of such an discussion should not impact this change anyways. |
I needed a merge commit as i had a conflict on the klc version page. |
|
Thanks, @poeschlr. Looks good to go. |
content/klc/S4.5.adoc
Outdated
. If the pin-count in the schematic does not match the pad-count on the footprint, the footprint filter must include the pad-count of the footprint (see also link:/libraries/klc/S5.2[requirements for footprint filters]) | ||
* `SOT?23?5` | ||
* `SOIC?8` | ||
. The footprint filter must include the pad-count of the footprint if the pin-count in the schematic does not match the pad-count on the footprint (see also link:/libraries/klc/S5.2[requirements for footprint filters]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe it sounds better to use "match the pad-count of the footprint".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
@poeschlr I know you're generally out for a couple weeks but when you have time can you please update this to 3.0.21, now the next available revision? |
content/libraries/klc_history.adoc
Outdated
== 3.0.19 - 2019-05-04 | ||
* Clarify rules regarding NC pins | ||
* Clarify when they may be omitted | ||
* Clarify that they must be hidden when |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not correct phrase. Is to missing something at the end or just need wordsmithing?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes something went wrong here. fixed
@poeschlr If you wanted to include that, since it's also about NC pins, nice. If not, that's OK too. |
@evanshultz i think the non response to our question can be seen as the go ahead for us to be responsible for merging website content for the KLC. Regarding test pins: Depends on how they are marked in the datasheet. If the datasheet mentions them as do not connect (without further information) then it is to be handled as a NC pin as described here. Only if the function of the test pin is described in the datasheet then we should handle it as a normal pin. Programming pins are normally not described as "do not connect" in datasheets and are therefore not really handled by this ruleset. (otherwise same as with test pin: normal pin if datasheet describes it otherwise NC) |
I don't really follow the KLC discussions so I let you handle this. I guess the same goes for @marekr. It would be nice if you just mention me in a comment on the pull request with a clear message that it should be merged. For example: "Please merge this now." And please use the github review feature then it is easier to see if there are pending inline comments. Right now @evanshultz has some outstanding comments. |
In my mind the person reviewing should be the person merging. (It makes zero sense to have a "ready please merge" comment at the end unless the person that would respond to that also makes a review.) |
I do review it, but not in detail with regard to the KLC, but only the technicalites about the website. I don't think it is a real impediment, we do merge KLC patches very fast when it is clear that it should be merged. |
392f56a
to
78e237e
Compare
I fixed all suggestions made. @evanshultz have i answered your inquiry regarding test pins to your satisfaction? I do not believe i would need to add anything to the KLC as the behaviour i describe above is already covered by it. |
@evanshultz could you take a quick look? I really would like to work on other sections of the KLC but this should really be merged first. |
content/klc/S4.5.adoc
Outdated
. If the pin-count in the schematic does not match the pad-count on the footprint, the footprint filter must include the pad-count of the footprint (see also link:/libraries/klc/S5.2[requirements for footprint filters]) | ||
* `SOT?23?5` | ||
* `SOIC?8` | ||
. The footprint filter must include the pad-count of the footprint if the pin-count in the schematic does not match the pad-count of the footprint (see also link:/libraries/klc/S5.2[requirements for footprint filters]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sounds better to me if in the schematic
changes to of the symbol
. Also, why hyphenate pincount
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
found an even better wording
content/klc/S4.6.adoc
Outdated
@@ -1,14 +1,15 @@ | |||
+++ | |||
brief = "Hidden pins" | |||
brief = "Symbol pins must not be hidden unless they are of type 'not connected', part of a stack or the label pin of a power symbol" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Below Not Connected
is used with regards to pin type. Should that be consistent? It feels like it to me.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I could have been more clear that there were two parts I was talking about being missing here but used below. Both capitalization and the code format (enclosed in grace accent marks) is used below. Capitalization is done but code style is still missing.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see. It appears to be the section header.
What about retaining the section header Hidden pins
and then moving the sentence down into this rule? As it is, that appears to be an awfully long name to section S4.6.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah you are right this is the header. (It is so long ago that i started this that i already forgot half of what i intended.)
I assume i had a good reason why i changed it. Is it possible that this wording matches travis output? I will check that tomorrow as it is way too late for me for today.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Perhaps. I wonder if such a verbose section header is a good idea, though? We already have the rule number to cross-reference with check script output.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i reverted the title as i am currently not finding something better that fulfils your requirement for a short one.
@poeschlr I made two more comments inline after re-reading the change log. Regarding test pins, see KiCad/kicad-symbols#1719 (datasheet at http://www.ti.com/lit/ds/symlink/tusb4020bi.pdf). This is an example what I had in mind. The pins aren't named |
Do you mean the reserved pins? These state "do not connect on pcb" so they fall under
And yes the manufacturer of the part will most likely use these pins for final testing. But our symbols are not meant for this usecase but for the more common usecase of the enduser who will want to follow the advice of "do not connect". The test pin however says "it is recommended to be pulled to ground" so it should be included like a normal pin with electrical type "input". |
Alright. Just the one note above using code style and then I'm good to merge this. |
And it doesn't really hurt anything, but the KLC changelog is broken down awfully fine. Just having the two major bullets would be satisfactory for me. |
history simplified |
OK. Works for me. @nickoe @marekr Edit: Note that @diegoherranz made requests above but already indicated this is ready to merge. |
@nickoe @marekr Would it make sense to have the head librarian (@poeschlr ) as part of the website team so they can merge KLC PRs? That would only be one person to manage with hopefully good stability. If the head librarian authors the PR someone else can sign off, but otherwise they'd be trusted to handle KLC tasks. |
@nickoe @marekr @stambaughw This is a perfect example why having the head librarian with merge rights to this repo, or another solution that allows the library team to manage the KLC page, would be a good idea. 4 days isn't an eternity, and maybe this is extremely unusual, but this has been ready for merge and yet waiting in purgatory... |
@evanshultz @marekr I was waiting for go on #355 (comment) |
Inspiration: KiCad/kicad-library-utils#285