SpectreMDL - Referencing instance parameter values

Discussion in 'Cadence' started by malleablecandy, Jan 5, 2005.

  1. I would like to use SpectreMDL to make a measurement that includes the
    value of an instance parameter. For example:

    export real area=ival(M2:w)*ival(M2:l)*ival(M2:m) + ...

    Is something like this possible with Spectre? I would like to be able
    to setup an expression to calculate a value without having to manually
    calculate it everytime an instance parameter changes.

    Thanks
     
    malleablecandy, Jan 5, 2005
    #1
  2. Something like this would work:

    export real area=(M2:w)*(M2:l)*M2:m)+....

    I just tried this in an example, and got the expected value.
     
    Kristin Beggs, Jan 5, 2005
    #2
  3. Pardon the typo. Should be:

    export real area=(M2:w)*(M2:l)*(M2:m)+....

    But I am sure that you figured that out.
     
    Kristin Beggs, Jan 5, 2005
    #3
  4. I feel pretty silly now...I don't know why I didn't just try that in
    the first place! Thanks Kristin

    Robert
     
    malleablecandy, Jan 5, 2005
    #4
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.