• 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. alter option

Stats

  • Locked Locked
  • Replies 6
  • Subscribers 125
  • Views 16180
  • 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

alter option

KOTB
KOTB over 6 years ago

Hello,

Before running my transient simulations, I want to change the multiplicity factor of some blocks. ( I am using  spectre / spectreXps )

I use the command lines below. Does the simulator change the multiplicity of each block, then run the simulations. Or, it takes only the first (or last) line ? If it is the case what should I write to make the simulator make all changes at once then run.  ?

Thanks,

Kotb

Loadmimic0 alter sub=X8SEG\<0\>.XSEG\<7\> param=m value=4
Loadmimic1 alter sub=X8SEG\<0\>.XSEG\<0\> param=m value=2
Loadmimic2 alter sub=X8SEG\<1\>.XSEG\<7\> param=m value=6 
Loadmimic3 alter sub=X8SEG\<1\>.XSEG\<0\> param=m value=8

tran tran stop=1000n step=100p

  • Cancel
Parents
  • Andrew Beckett
    Andrew Beckett over 6 years ago

    It will apply all the alters. Each has a unique instance name anyway and it's evaluated sequentially in the order of the alters.

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Andrew Beckett
    Andrew Beckett over 6 years ago

    It will apply all the alters. Each has a unique instance name anyway and it's evaluated sequentially in the order of the alters.

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
  • KOTB
    KOTB over 5 years ago in reply to Andrew Beckett

     Hi Andrew,

    Could you please tell me if the alter option accepts the wild card. When I include the command line below, I have an error which says (Subckt instance `X36SEGL.SEG<*>.X4HSEGT.XREG<*>.XREG.AR<1>' does not exist)

    Spectre_mimic alter sub=X36SEGL.SEG\<*\>.X4HSEGT.XREG\<*\>.XREG.AR\<1\> param=m value=1039

    I have the same problem for ic and nodeset as well.. do they support wildcard ?

    nodeset X36SEGL.SEG\<*\>.X4SEGCTR.XSEGCTR\<*\>.SATRIM\<0\> =0 


    ic X36SEGL.SEG\<*\>.X4SEGCTR.XSEGCTR\<*\>.SATRIM\<1\> =1 

    thank you,

    kotb

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • ShawnLogan
    ShawnLogan over 5 years ago in reply to KOTB

    Dear KOTB,

    KOTB said:

    I have the same problem for ic and nodeset as well.. do they support wildcard ?

    nodeset X36SEGL.SEG\<*\>.X4SEGCTR.XSEGCTR\<*\>.SATRIM\<0\> =0 

    I am not Andrew and can not provide anywhere near as much insight or information, but I can answer your question concerning using wildcards. Both initial conditon and nodeset commands in spectre accept wildcards. This is detailed in the spectre reference manual. I have included a relevant section from page 470 of the April 2019 version for IC18.1 as Figure 1.

    Also from the spectre user manual, under the description of the use of the alter statement, it contains the following:

    "You can modify only one parameter with each alter statement, but you can put any number of

    alter statements in a netlist."

    Hence, my first thought is that it does not accept wildcard characters, but as it does note, you can include as many alter statements as you want - one for each of the parameters you would encompass with a wildcard expression. I will default to Andrew or other experts if I have misinterpreted the statement from the manual. 

    Shawn

    Figure 1

    From page 470 of IC18.1 Spectre Reference Manual

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 5 years ago in reply to ShawnLogan

    Just to confirm, the alter statement doesn't support wildcards. nodeset and ic do (I just checked all three by experiment, to confirm what the documentation says).

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • KOTB
    KOTB over 5 years ago in reply to ShawnLogan

    Thank you so much, yes , I end up with the same conclusion

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • KOTB
    KOTB over 5 years ago in reply to KOTB

    Thank you so much, yes , I end up with the same conclusion

    • 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