• 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. RF Design
  3. Parameter empty when using cds_srr function

Stats

  • Locked Locked
  • Replies 8
  • Subscribers 64
  • Views 15950
  • 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

Parameter empty when using cds_srr function

mhawary85
mhawary85 over 11 years ago

Hi,

 I have a problem in reading the simulation results using Matlab. The problem is that when I am trying to read multiple parameters, the first one i read it correct but after that all parameters returns zero in value.  The Matlab code i am using is the following:

 

clear

addpath /opt/cadence/installs/MMSIM131/tools.lnx86/spectre/matlab

simpath=sprintf('/home/malhawari/simulation/boost_conv/spectre/schematic/psf');

datalist=cds_srr(simpath);

vd = cds_srr(simpath, 'tran-tran', 'vd');

vg = cds_srr(simpath, 'tran-tran', 'vg');

 

The result is the following:

>> datalist=cds_srr(simpath);

PSFversion: 1.00

tran-tran (tran).

finalTimeOP-info (info).

modelParameter-info (info).

element-info (info).

outputParameter-info (info).

designParamVals-info (info).

primitives-info.primitives (info.primitives).

subckts-info.subckts (info.subckts).

variables (design_variables). 

vd = 

    info: {'V'  'V'  'time'  's'}

    time: [7607x1 double]

       V: [7607x1 double] 

 vg = 

    info: {'V'  'V'  'time'  's'}

    time: 0

       V: 0

 Now if i flip the order of the vd and vg in the Matlab script where i read first vg and then vd i get the following

>> vg

vg = 

    info: {'V'  'V'  'time'  's'}

    time: [7607x1 double]

       V: [7607x1 double] 

 

 vd = 

    info: {'V'  'V'  'time'  's'}

    time: 0

       V: NaN

 

This confirms the problem of reading only the first parameter in its correct way while other parameters are zero.

 

 BTW I am using MMSIM131 and IC616, also i tried MMSIM121 and IC615 but i got the same results!

 

Thank you in advance for your help!

 

Regards

Mohammad 

 

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

    Hi Mohammad,

    I was just trying to avoid you needing to post your email address in a public forum. The "PM" was a Private Message, which you can get to via the Contact button at the top of the post.

    Anyway, done now - I've sent you (via hightail) the patch for cds_srr.

    Regards,

    Andrew.

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

    Hi Mohammad,

    I was just trying to avoid you needing to post your email address in a public forum. The "PM" was a Private Message, which you can get to via the Contact button at the top of the post.

    Anyway, done now - I've sent you (via hightail) the patch for cds_srr.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Children
No Data

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