• 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. reading simulation results from cadence to matlab/ cds_...

Stats

  • Locked Locked
  • Replies 23
  • Subscribers 63
  • Views 23794
  • 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

reading simulation results from cadence to matlab/ cds_innersrr

nevinalex1234
nevinalex1234 over 13 years ago

Hi

I am using MATLAB 2009a/2012a and MMSIM 10.11 and cadence virtuoso IC6.1.5.500.11  

I build a small low pass filter and ran the simulation in ADE and tried to read using MATLAB Spectre Toolbox. Its not working.

The error is attached as follows. I have referred to Matlabspectre.pdf and set the appropriate environments in matlab. Dont know why?

mydir =

/home/njacob2/simulation/design1_rcresponse/spectre/schematic/psf

>> nevin=cds_srr('mydir')
??? Undefined function or method 'cds_innersrr' for input arguments of
type 'char'.

Error in ==> cds_srr at 16
    sig = cds_innersrr(dirname);

  • Cancel
Parents
  • Ashish Patni
    Ashish Patni over 13 years ago

    Hi Nevinalex1234,

     

    If you are using 64 bit version of the tool then please set the LD_LIBRARY_PATH as mentioned by Andrew in the post you referred i.e. -

    setenv LD_LIBRARY_PATH `cds_root spectre`/tools/lib/64bit:$LD_LIBRARY_PATH

    but you need to keep in mind (as mentioned by Andrew) that if running on a 32-bit machine (or running 32 bit matlab), you'll need to miss out the 64bit part of the path. You may also refer to the following COS Solution for more details when trying to run the SpectreRF/Matlab toolbox on a 64 bit OS - 

    http://support.cadence.com/wps/mypoc/cos?uri=deeplinkmin:ViewSolution;solutionNumber=11500586

     

    and see if this helps.

     

    Also, I see one more thing but not sure if that is the case i.e. you are setting -

    mydir = '/home/njacob2/simulation/design1_rcresponse/spectre/schematic/psf'

    and then using, e.g.,

    datalist = cds_srr(mydir)

    or some other command like that. I see that you have used -

    cds_srr('mydir')

    Please remove these single inverted commas and then try. I tested this at my end and gets the same error if I use these single inverted commas.

     

    With Regards,

    Ashish

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
Reply
  • Ashish Patni
    Ashish Patni over 13 years ago

    Hi Nevinalex1234,

     

    If you are using 64 bit version of the tool then please set the LD_LIBRARY_PATH as mentioned by Andrew in the post you referred i.e. -

    setenv LD_LIBRARY_PATH `cds_root spectre`/tools/lib/64bit:$LD_LIBRARY_PATH

    but you need to keep in mind (as mentioned by Andrew) that if running on a 32-bit machine (or running 32 bit matlab), you'll need to miss out the 64bit part of the path. You may also refer to the following COS Solution for more details when trying to run the SpectreRF/Matlab toolbox on a 64 bit OS - 

    http://support.cadence.com/wps/mypoc/cos?uri=deeplinkmin:ViewSolution;solutionNumber=11500586

     

    and see if this helps.

     

    Also, I see one more thing but not sure if that is the case i.e. you are setting -

    mydir = '/home/njacob2/simulation/design1_rcresponse/spectre/schematic/psf'

    and then using, e.g.,

    datalist = cds_srr(mydir)

    or some other command like that. I see that you have used -

    cds_srr('mydir')

    Please remove these single inverted commas and then try. I tested this at my end and gets the same error if I use these single inverted commas.

     

    With Regards,

    Ashish

    • 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