• 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. How to force annotate to increment only the two last numbers...

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 165
  • Views 14244
  • 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

How to force annotate to increment only the two last numbers of a component

Daniel Tormo
Daniel Tormo over 6 years ago

Hello,

I am using Allegro Design Entry HDL version 17.2-2016.

We have a pretty big design (42 pages), and we have a company directive that says to set the numbering of each component to 4 numbers, the first two numbers corresponding to the page number.

For example, all resistors of page 6 will start as R06xx, being xx the number of resistor on that page. All capacitors presents in page 15 will start as C15xx, being xx the number of the capacitor on that page.

I am using scripts to reset the LOCATION property to $LOCATION=R? in order to restart the resistor naming (auto property a $LOCATION=R?).

However, is there a way of setting this to, for instance, $LOCATION=R06xx in order to tell Allegro to set only the last two numbers of the component?

Best regards,

Daniel Tormo

  • Cancel
Parents
  • Daniel Tormo
    Daniel Tormo over 6 years ago

    Hello,

    does anyone know if this is possible? Some colleagues told me it is, but they do not know how.

    Thank you,

    Daniel

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Daniel Tormo
    Daniel Tormo over 6 years ago

    Hello,

    does anyone know if this is possible? Some colleagues told me it is, but they do not know how.

    Thank you,

    Daniel

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
  • DavidJHutchins
    DavidJHutchins over 6 years ago in reply to Daniel Tormo

    I don't believe the Pacakger-XL allows anything like what you want :(

    I previously developed a tool to do something like this that would generate an was-is list of refdes that could be imported into layout using the 'reftxt' command, which could then be back-annotated to the schematic

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • oldmouldy
    oldmouldy over 6 years ago in reply to Daniel Tormo

    Take a look at the Packager-XL Reference, available from Cadence Help, or from the Cadence Support site. There is a Packager-XL Directive called REF_DES_PATTERN (also a property) that looks like it can get this job done, in so far as you can control the number, likely the minimum number, of RefDes digits and include ($PAGE) in the Reference. The Cadence Support site might be a source of more information on defining the pattern.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • oldmouldy
    oldmouldy over 6 years ago in reply to Daniel Tormo

    This looks like it is what you need:

    REF_DES_PATTERN ($PHYS_DES_PREFIX)($PAGE)(0-9)[01]
    REFDES_PAGENUM_PADDING '2'

    Pads the Page Number to 2 and starts numbering at 01 so, should be R0101, R0102 and so on for Page1; R0201, R0202 and so on for Page2.

    From the Allegro Front-End CPM Directive Reference Guide 17.2-2016, check that for any additional settings that you might need.

    • Cancel
    • Vote Up +1 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.

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

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