• 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. Custom IC Design
  3. wildcards with "ic" statement

Stats

  • Locked Locked
  • Replies 8
  • Subscribers 127
  • Views 3051
  • Members are here 0
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

wildcards with "ic" statement

greywanderer
greywanderer over 2 years ago

At at certain level of hierarchy I have multiple instances of the same cell, named ucell0, ucell1, ucell2 etc, and want to set the initial conditions on the internal nodes of these instances.

I tried to set them using the ic statement as --> ic u0.u1.u2.ucell?.net1=0

But spectre does not like this and reports --> "Unexpected hierarchical name with wildcard" and then stops the simulation.

Is the usage of the wildcard for any character correct?

Thanks!

  • Cancel
  • ShawnLogan
    ShawnLogan over 2 years ago

    Dear greywanderer,

    greywanderer said:

    I have multiple instances of the same cell, named ucell0, ucell1, ucell2 etc, and want to set the initial conditions on the internal nodes of these instances.

    I tried to set them using the ic statement as --> ic u0.u1.u2.ucell?.net1=0

    But spectre does not like this and reports --> "Unexpected hierarchical name with wildcard" and then stops the simulation.

    A couple of thoughts that might spur a thought if I may:

    1. The wildcard syntax shown in your Forum post does not look like the wildcard syntax Cadence suggests in their RAK for the save statement. From that document on page 120 (Lab 13) it reads:

    Scenario 1: Saves voltages of all nodes from level 2 to level 3 (where 1 is the top level) whose name starts with X and ends with 1 (for example, X1.in1). 

    save X*.*1 depth=3 

    This suggests to me that your save statement should be something like:

    u0.u1.u2.ucell*.net1=0

    I think the wildcard character of "?" only refers to a single character.

    2. Are you using an extracted view to generate your netlist or a schematic view? The syntax you are using may not be the syntax used in the netlist. For example, the syntax may be 

    us0/u1/u2/ucell0/net1

    Shawn

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 2 years ago in reply to ShawnLogan
    greywanderer said:

    I tried to set them using the ic statement as --> ic u0.u1.u2.ucell?.net1=0

    But spectre does not like this and reports --> "Unexpected hierarchical name with wildcard" and then stops the simulation.

    The syntax looks reasonable, and from an experiment that I made myself, it works fine; "?" is indeed the wildcard meta-character for a single character match.

    Which Spectre version are you using? Wildcards are certainly supported with ic and nodeset (I answered a similar question here)

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Frank Wiedmann
    Frank Wiedmann over 2 years ago in reply to ShawnLogan

    A quick search on the Cadence Support website turned up support.cadence.com/.../ArticleAttachmentPortal

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 2 years ago in reply to Frank Wiedmann
    Frank Wiedmann said:
    A quick search on the Cadence Support website turned up support.cadence.com/.../ArticleAttachmentPortal

    Frank,

    Well, that's embarrassing... I wrote that article! I should have done a quick search myself for the error message.

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Frank Wiedmann
    Frank Wiedmann over 2 years ago in reply to Andrew Beckett

    Any chance that this "feature" will be fixed? It seems to have been known for many years.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 2 years ago in reply to Frank Wiedmann

    Frank,

    I've given the CCR I filed on this a push - hopefully that will help in getting it moving.

    Andrew

    • Cancel
    • Vote Up +1 Vote Down
    • Cancel
  • Frank Wiedmann
    Frank Wiedmann over 2 years ago in reply to Andrew Beckett

    The CCR is listed as fixed in Spectre 21.1 ISR20.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 2 years ago in reply to Frank Wiedmann

    I recently tested the fix too - it does indeed work properly now (I have also updated the article).

    Andrew

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel

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