Home > Community > Forums > Custom IC Design > Monte carlo on a verilog A custom macro model based on device instance not subckt instance

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

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

Last post Fri, Dec 20 2013 10:25 AM by Andrew Beckett. 1 replies.
Started by Fabb 01 Oct 2013 02:23 AM. Topic has 1 replies and 634 views
Page 1 of 1 (2 items)
Sort Posts:
  • Tue, Oct 1 2013 2:23 AM

    • Fabb
    • Top 500 Contributor
    • Joined on Mon, Jun 17 2013
    • Grenoble, Isere
    • Posts 22
    • Points 320
    Monte carlo on a verilog A custom macro model based on device instance not subckt instance Reply

     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

     

    • Post Points: 20
  • Fri, Dec 20 2013 10:25 AM

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

    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.

    • Post Points: 5
Page 1 of 1 (2 items)
Sort Posts:
Started by Fabb at 01 Oct 2013 02:23 AM. Topic has 1 replies.