• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. PCB Design
  3. COMP_DEVICE_TYPE

Stats

  • Locked Locked
  • Replies 2
  • Subscribers 164
  • Views 14779
  • Members are here 0
More Content
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

COMP_DEVICE_TYPE

JPeter
JPeter over 16 years ago

Hi.

I am using v15.7, and working on generating a report to use as a pick and place file.

I got most of the fields I need to see.  All of them, actually, but when I include comp_device type, it is including too much info.

RESISTOR_DEFAULT-7023-8252,82.A

For this item, it's OK.  The part number (7023-8252) is complete.  Why an I getting what looks like a value included at the end? (82.A)  What is this?

For other instances, if the string gets too long, it is truncating my part number:

CAPACITOR_DEFAULT-CDR31BP151BJA

The part number should be CDR31BP151BJUS, but it has truncated the "US" and added "A"

My assembly people are getting confused.

The part number property is included with each of my symbols as :"USERPART#" on "ASSEMBLY_TOP"

 How can I get it to output only the part number without all that other stuff?

 

Thanks,

John H.

 

 

  • Cancel
  • rpieper
    rpieper over 16 years ago

    John,

     The information for the Device type is passed through to Allegro from the schematic. So when I click on (show element) my resistor (in my Allegro design) it says Device Type: PASSIVE_RES-127,1%,1/16W, 002_0B. Which can be confusing becuase ithis whole string will be thrown in your comma-delimited extracta output (I'm assuming your using extracta, right?). It's hard to know where the COMP_DEVICE_TYPE field stops. So in my pick-place data it says:

    REFDES,COMP_DEVICE_TYPE,COMP_VALUE,COMP_TOL,SYM_NAME,SYM_X,SYM_Y,SYM_ROTATE,SYM_MIRROR

    R1,PASSIVE_RES-127,1%,1/16W,002_0B,,,002_0402-SMALL_SM,1735.00,795.00,180.000,NO

    So then,  PASSIVE_RES-127,1%,1/16W,002_0B is all part of the COMP_DEVICE_TYPE field.

     

    If the assembly people are getting irritated (that's good actually --at least they're communicating, which is quite rare) you can just write a PERL script to split this field on commas and then just take the first field. Your second issue seems like a 31 character limit. I haven't verified this but you can try going into Allegro and then your Design Parameter Editor and then Design tab, then change Long Name Size to 100 (default is 31). Let me know!!!

    Thanks,

    Robert

     

     

     

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • JPeter
    JPeter over 16 years ago

    Thanks, Robert.

    I am playing with a small txt file that I read in when I run Tools>Reports

    It will spit out "PART_NUMBER" if I include it in that .txt file

    First pass, my assembly guy liked it.  :)

    I am working on getting the "USAGE" property of the schematic to output to identify unplaced parts.

     

    Thanks for the help.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Cadence Guidelines

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2026 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information