• 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. Problem with Co-simulation: Cadence Virtuoso and Matlab

Stats

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

Problem with Co-simulation: Cadence Virtuoso and Matlab

Conhas
Conhas over 9 years ago

When simulate (transient )my design stand alone, it works but when I try to co-simulate it with MATLAB I get the following errors,  please help

Error found by spectre during hierarchy flattening.
    ERROR:  Co-simulation outputs setting error: Unknown error. Check output freqOut.


Time for EDB Visiting: CPU = 6.999 ms, elapsed = 6.19507 ms.
Time accumulated: CPU = 877.866 ms, elapsed = 2.97763 s.
Peak resident memory used = 89.7 Mbytes.

spectre terminated prematurely due to fatal error.

Please Help.

Thank you very very much in advance.

  • Cancel
  • Andrew Beckett
    Andrew Beckett over 9 years ago

    Almost certainly the best thing to do here is to contact customer support. I doubt we'll get very far without being able to see more details as to what you're trying to do.

    Which MMSIM version are you using (i.e. which subversion of spectre are you using - this should appear in the spectre.out output log near the top). From your task bar it appears to be Matlab R2014b, but knowing which spectre version is important too. This is to try to spot if it's a know issue based on the simulator version, but I'm still fairly sure you'll need to go to customer support.

    Kind Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Conhas
    Conhas over 9 years ago
    Thank you very very much for your prompt response.
    When I try to simulate small blocks - they do get simulated without having errors. i.e. i have simulated to the without the last block and I get the desired results.
    The last block (with pin freqOut) also gets simulated in stand alone mode but not when in this configuration.

    Cadence/MMSIM_11.10HF509

    Thank you very much once again
    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Andrew Beckett
    Andrew Beckett over 9 years ago

    No idea then, sorry - however, I would suggest trying something newer than a 4-5 year old simulator release (especially in terms of compiler compatibility with Matlab; it's unlikely we "support" such a newer version of Matlab in a release from 2 years or so beforehand).

    Actually, I just took a look at the schematic - and I see that the node is labelled FB, but has a pin on it called freqOut. This is legal, but my guess is that the net in the netlist is called "FB" not "freqOut". So try changing the name on the Matlab/Simulink setup form to "FB" and see if that works instead. I'm assuming you didn't use the "Select" button next to the Cosimulation Outputs button as this should have picked the net name (unless of course you added the label later).

    Regards,

    Andrew.

    • Cancel
    • Vote Up 0 Vote Down
    • Cancel
  • Conhas
    Conhas over 9 years ago
    Dear Andrew,

    Thank you very much. It works!!
    I renamed the output as FB as well as the pin and then in the set up window.
    I tried to use the "select" button in the setup window but it did not pick up any name therefore I named it manually.

    Thanks and Best Regards
    Conhas Thakkar
    • 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