Friday, April 27, 2012

Advanced Eagle Layout Tutorial - Building Better Library Parts - Variants and Technologies

Advanced Variants

Everybody knows that to create a device set you must have at least one variant of the device that binds the symbol to the package. The default variant is called ''. That is right. Double single quotes. It represents an empty string.

Naming Variants

You may have also noticed that if you name a variant, the name is appended to the device name. For example, if you have a device named

WIDGET

and a variant

123

the resulting name will appear as

WIDGET123

Pretty cool, huh? Often manufacturers will have a package code embedded in the device part number. For example, if

WIDGET-

is the base part number, and the manufacturer has package codes

S

for the SOT23 footprint and

XS

for SC70 footprint. The resulting part number would be

WIDGET-S

for the SOT23 version and

WIDGET-XS

for the SC70 version.

As you may already know, if you name your device with the base part number, and variants to match the package codes of the manufacturer, the resulting name for the device in your library will match the manufacturer's part number. Cool, huh?

Advanced Variant Naming

Time to blow your mind. What if the package code is embedded in the part number and not just at the end?

For example, if the part name is

WIDGET-X-AWESOME

where the X represents the package code, you would still want the resulting parts to be named

WIDGET-S-AWESOME

for the SOT23 variant and

WIDGET-XS-AWESOME

for the SC70 variant. Eagle will let you do this. All you have to do is put a ? where you want the variant name to appear. If no ? is present, the name of the variant is appended to the end of the device name. For example,

WIDGET-?-AWESOME

would turn into

WIDGET-S-AWESOME

for the S variant.

Technologies

Eagle has a very powerful feature that isn't used often enough. Technologies. Technologies allow you to create multiple devices of the same variant (with the same package) with different part numbers. Going back to our widget example, there are two different WIDGET devices, a 1.8V widget with a part number

WIDGET-1.8V-S-AWESOME

and a 3.3V variety with a part number

WIDGET-3.3V-S-AWESOME

You can easily generate these with technologies. First, we need to rename our device to include the character for technologies.

WIDGET-*-?-AWESOME

The character * will be replaced by the name of the technology. If * is not present, the technology name will be appended to the end of the device name. In the case that neither ? or * is present, the resulting name will be

device_set_name+technology+package_variant

Now, create 2 technologies, 1.8V and 3.3V.

Like the variant, the default technology is a pair of single quotes, ''. The default technology is marked by default and can be unmarked. Once the new technologies are created in mark, you should now see the technologies appear.

And the result in the Eagle console

Notice that the technologies only appear for the one variant on which the technologies were marked, in this case the XS variant. If you want the technologies active for a particular variant, you must mark them active for each specific variant you wish to have the technology. With variants and technologies, you can replicate a large majority of part numbers for your devices. A good device in a library matches the part number as closely as possible.

Now, that you have created and marked technologies for the device, you can add specific attributes for each technology. A later tutorial will cover attributes a little deeper.

19 comments :

  1. Hi there, I discovered your blog per Google bit searching for such kinda educational advise moreover your inform beholds very remarkable for me. Cowboys vs Eagles Live Stream

    ReplyDelete
  2. This blog is so nice to me. I will keep on coming here again and again. Visit my link as well.. Browns vs Ravens Live Stream

    ReplyDelete
  3. I think this is an informative post and it is very useful and knowledgeable. therefore, I would like to thank you for the efforts you have made in writing this article. watch dallas cowboys live stream

    ReplyDelete
  4. Wow, cool post. I'd like to write like this too taking time and real hard work to make a great article but I put things off too much and never seem to get started. Thanks though. job posting site

    ReplyDelete
  5. Wow, cool post. I'd like to write like this too taking time and real hard work to make a great article but I put things off too much and never seem to get started. Thanks though. Classy Price

    ReplyDelete
  6. What a fantabulous post this has been. Never seen this kind of useful post. I am grateful to you and expect more number of posts like these. Thank you very much. Phone Price in Bangladesh

    ReplyDelete
  7. This is a great inspiring article.I am pretty much pleased with your good work.You put really very helpful information. Keep it up. Keep blogging. Looking to reading your next post. https://www.24hrdrinks.co.uk

    ReplyDelete
  8. This is very smart, Digital M really an intelligent idea. This is my first time in your blog and I really love it. Thanks for this awesome post...

    ReplyDelete
  9. Experience With My Roommates Girl friend
    Hi friends, I am Maxx not real name 24, with an athletic body type college sex video . I am a new reader of this site. I like many stories published in it. Today I want to share one of my sexual experiences which I enjoyed very much. It all started 4 months ago in Kolkata when I changed my job from Hyderabad to Kolkata. This is a very common thing in a BPO sector in the day of induction I met a cool guy Sunny, before long we became good friends.

    ReplyDelete
  10. Thanks for sharing this information. I really like your blog post very much. You have really shared a informative and interesting blog post with people. Domino99

    ReplyDelete
  11. This is very smart, Digital M really an intelligent idea. This is my first time in your blog and I really love it. Thanks for this awesome post... Mobile Price BD

    ReplyDelete
  12. This is a great inspiring article.I am pretty much pleased with your good work.You put really very helpful information. Keep it up. Keep blogging. Looking to reading your next post. fruity pebbles strain

    ReplyDelete
  13. Super site! I am Loving it!! Will return once more. I'm taking your sustenance in addition. Thanks Grass fed ghee

    ReplyDelete
  14. I like the valuable info in your articles. I'll bookmark your blog and check again here regularly. I'll learn plenty of new stuff right here! Best of luck for the next! Regards https://prodotti-per-dimagrire.jimdosite.com/

    ReplyDelete
  15. Extra time in pre-planning the introduction of new technologies and training employees in the use of the technologies can provide a return many times greater than the hours spent in planning and training. caledon condos for sale

    ReplyDelete
  16. This is a great inspiring article.I am pretty much pleased with your good work.You put really very helpful information. Keep it up. Keep blogging. Looking to reading your next post. situs judi qq

    ReplyDelete
  17. Nowadays we talk about the big three things driving organisations: People, Processes and Technology, and clearly leadership is in the first category. semi-automatic weighing machine

    ReplyDelete
  18. Great info! I recently came across your blog and have been reading along. I thought I would leave my first comment. I don’t know what to say except that I have. domino qq online

    ReplyDelete