Code Monkey home page Code Monkey logo

Comments (6)

evanshultz avatar evanshultz commented on July 17, 2024 1

Maybe it's just the wording.

Logical = the symbol that contains the pins and their functions (which drives the netlist)
Physical = the tangible package that a part is delivered in; there can be many

Real parts have one logical representation but may come in many physical versions. For example, ON Semi sells LM393 in 3 physical variants: https://www.onsemi.com/pub/Collateral/LM393-D.PDF.

In the libraries above, they are mixed which can lead to user problems. I can't recall exactly where a problem was reported, but somebody (I think on the forum) had noted this after I cleaned up the old opamp library. To illustrate this, let's look at https://github.com/KiCad/kicad-symbols/blob/master/Amplifier_Operational.lib and investigate two symbols which don't have a default footprint specified so the package is chosen in CvPcb:

  1. ADA4807-1 has two footprint filters which are both valid packages for this symbol. See the last page of https://www.analog.com/media/en/technical-documentation/data-sheets/ADA4807-1_4807-2_4807-4.pdf. So even though there is no default footprint, the user should only be able to choose a footprint that the part can be bought in. We haven't specified the full MPN, but the user can't pick a logical and physical combination that doesn't exist.
  2. LM2902 is the first symbol that can truly be used generically. This logical symbol applies to many, many MPNs. The datasheet (http://www.ti.com/lit/ds/symlink/lm324-n.pdf) shows three packages available but there are more than those three footprints in the FP filter. Similar problems exist as you review all the ALIASes. It looks like as more ALIASes were added, footprints that applied to the new ALIAS were added but those footprints are not available for all combinations KiCad allows a user to pick.

I finished, or nearly finished, doing this for the comparator library a while ago but didn't post it because I was sure there would be some discussion and it would break things which wasn't allowed then. I'm sure new comparator symbols have been added so it needs reviewed. I consider it a bug, but a minor one, so we will need to decide when to roll this out. I'll try to polish up and submit the comparator PR soon so it will give an example of what could happen, then we can decide exactly how to do this (in the best interest of KiCad users) and when to do it.

Let me know if that's still unclear or it makes sense what I'm talking about and why it could be a problem. Like I said, I think it's a minor bug.

from kicad-symbols.

poeschlr avatar poeschlr commented on July 17, 2024

This issue does confuse me. I really don't know what you mean by physically.

From another comment of yours (can't find it now) i would guess you want to make these parts more atomic. (Meaning not only separate the symbols from others but also the footprints)

Edit: If you want this to happen make sure you do it in the next few weeks as i will limit lib resorting and symbol/footprint renamings during the version 5 release cycle. (Next chance for a large scale change will be the version 6 release. Or if this is too far in the future and there is enough interest in it we might make a mid release for the lib. But this will not be shipped with any version 5 kicad as wayne wants to keep the lib stable during the whole release cycle.)

from kicad-symbols.

myfreescalewebpage avatar myfreescalewebpage commented on July 17, 2024

@evanshultz is this issue still valid today ?

from kicad-symbols.

evanshultz avatar evanshultz commented on July 17, 2024

Yes

from kicad-symbols.

myfreescalewebpage avatar myfreescalewebpage commented on July 17, 2024

Ok, but as indicated by Rene, can you explain more the purpose here, I'm also a little bit lost... Maybe with an example ?

from kicad-symbols.

myfreescalewebpage avatar myfreescalewebpage commented on July 17, 2024

Thanks @evanshultz that's definitely more detailed, I agree with you on this subject. The best solution according to me is to have possibility to specify the footprint for each aliases of a symbol in KiCad, but this is maybe not planned yet...? I'm not aware at this moment of the v6 roadmap.

from kicad-symbols.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.