• 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. Monte carlo on a verilog A custom macro model based on device...

Stats

  • Locked Locked
  • Replies 1
  • Subscribers 125
  • Views 14160
  • 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

Monte carlo on a verilog A custom macro model based on device instance not subckt instance

Fabb
Fabb over 11 years ago
 Hello,

 

 I am developing my own macro model in verilogA
 module test1 (p1,p2);
…
endmodule
 Then I use a model card approach to manage the parameters and their variations:
 simulator lang=spectre
section TT
….
endsection TT
section LL
….          
endsection LL
…..
section STAT
               parameters _param1=1
               parameters _param2=1.1
               statistics {
                              process {
                              }
                              mismatch {
                                            vary _param1 dist=gauss std=5 percent=yes
                                            vary _param2 dist=gauss std=13 percent=yes
                              }
               }     
               include "modelCard.scs" section=MODEL                                                               
endsection STAT
section MODEL
               ahdl_include “path/modelTest1.va"
               model modelSymbolName test1
                              + param1 = _param1
                              + param2 = _param2
endsection MODEL
 
Then I got the following error
Error found by spectre during Monte Carlo analysis `mc1'.
    ERROR (SFE-2458): dut Instance 'I5' should be subckt instance not device instance (statement ignored).
With I5 is the instance name of modelSymbolName
Is it means that to run a monte carlo, the model cards must be written with a subckt calling the model itself ?
Regards,
Fabrice

 

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 11 years ago

    The "dut" parameter for monte carlo essentially is a way of specifying which instances have monte carlo applied. In general only subckts can have mismatch applied, because the unique parameterization is done per subckt instance rather than primitive instance (for example, see Recommended Spectre Monte Carlo modeling methodology)

    Regards,

    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