• 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. Tools needed for Analog simulation & MATLAB interface

Stats

  • Locked Locked
  • Replies 4
  • Subscribers 125
  • Views 3322
  • 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

Tools needed for Analog simulation & MATLAB interface

Kabal
Kabal over 13 years ago

 Hello, we are using MMSIM10, IC6.14.

 

Right now for example, i can save waveforms from my simulation as table, and then open them in MATLAB.

 What im looking at now is, how to make a co-simulation with matlab.

I looked already at several tutorials, one of them for example about spectre RF engine. Another about SimCoupler.

 

Here are my questions:

1) Am i correct that SimCoupler and SpectreRF Engine are basically doing the same job, except that the SpectreRF Engine is oriented more towards RF related applications? So, basically for general analog stuff its preferred to use SimCoupler?

2) To import the SpectreRF Engine in MATLAB simulink, i basically open the spectrerf.mdl located in .../MMSIM10/tools/spectre/simulink,   now where is the .mdl file for SimCoupler located? I cant find it within IC614 install folder, do i need to install some another tool?  I see the AMS Designer product talking about same stuff... is that what i need to install? If yes, then what is its short name in the install directory list?

  • Cancel
  • Kabal
    Kabal over 13 years ago

     so is there anyone who could tell me at least something about how can i load SimCouplerModule from IC614?

     

    I saw today, if im correct, the AMS is actually a part of the whole IC design package.

    Im wondering how come i am able to find that SimCouplerModule.mdl file in older version of Cadence in the  /cadence/ic613/tools/dfII/samples/AMS/Matlab/mexFiles   but i cannot find it anywhere within IC614 install directory?

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 13 years ago

    There are two interfaces to Simulink. One from AMS Designer (that's the "SimCoupler" you are referring to; this is provided in the INCISIV stream these days), and one from Spectre. 

    The AMS Designer interface is for mixed-signal simulation - although that could be entirely analog.

    The spectre interface was provided by the SpectreRF team and may be used with transient or envelope simulation.

    So in practice the spectre interface would be the one to use for normal Analog simulation.

    For the AMS simulink interface, look at <ICinstDir>/doc/amsdMatSim/amsdMatSim.pdf which talks through the tutorial; the database is at <ICinstDir>/tools/dfII/samples/tutorials/AMS/MATLABCosimulation.tar.gz

    For the spectre simulink interface, look at  <MMSIMinstDir>/spectreRF/spectreRF.pdf (there's a chapter on it - chapter 10 in MMSIM10.1). For the tutorial, look in <MMSIMinstDir>/tools/spectre/examples/SpectreRF_workshop and there's SpectreRF_simulink_example.pdf and SpectreRF_simulink_example.tar.Z - a pdf and the database to try it out.

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • KBragin
    KBragin over 12 years ago

    Hello, Andrew!

    Thank you for advice.  

     We use matlab 2012a/b. Modern versions of matlab doesn't support 32 bit platforms.

    Mex library SimCoupler.mexglx from MATLABCosimulation.tar.gz was compiled for matlab 2007b 32-bit version.

    Can we expect new version SimCoupler.mexglx for 64-bit version?

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 12 years ago

    Don't use the version in that tar file - it's really old.

    The official versions are shipped with the INCISIV releases - for example in:

    <INCISIVinstDir>/tools.lnx86/affirma_ams/etc/matlab

    There are both 32 bit and 64 bit versions of the mex files there (certainly in INCISIV11.1 INCISIV12.1 and INCISIV12.2 - I didn't check earlier versions).

    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