• 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. Spectre and Simulink cosimulation - Problem on defining...

Stats

  • Locked Locked
  • Replies 5
  • Subscribers 125
  • Views 1959
  • 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

Spectre and Simulink cosimulation - Problem on defining cosimulation inputs

Milad M
Milad M over 10 years ago

Dear All,

     I have done a successful Spectre/Simulink cosimulation. Then, I used Optimization Toolbox of MATLAB to find the best value of the cosimulation input in order to minimize the cosimulation output. I will explain the MATLAB codes if someone is interested.

     Now, I want to use this method to optimize the parameters of a sample circuit. I'd like to define cosimulation inputs some different things such as the value of a resistor or a capacitor or even the pulse width of a pulse voltage source in the circuit. But, looking at the tutorials, it is only possible to define cosimulation inputs the instance sources such as Vin:wave.

    How can I define cosimulation inputs something different? 

Sincerely Yours,

Milad

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

    Milad,

    The simulink flow is primarily intended for simulating a system simulation with a mixed-signal implementation. It's not been designed with optimization by Matlab in mind (we have our own optimizer for circuit optimization). Consequently, passing information other than normal signals was not part of the design brief and there are no plans to change this as far as I know.

    The Simulink-AMS or Simulink-Spectre interface is great for when you want to model your encoding scheme (e.g. OFDM modulation etc) through a receiver and then decode the received OFDM and so on and look at BER and similar metrics. All those communication blocks in Simulink become very useful.

    Regards,

    Andrew.

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

    Milad,

    The simulink flow is primarily intended for simulating a system simulation with a mixed-signal implementation. It's not been designed with optimization by Matlab in mind (we have our own optimizer for circuit optimization). Consequently, passing information other than normal signals was not part of the design brief and there are no plans to change this as far as I know.

    The Simulink-AMS or Simulink-Spectre interface is great for when you want to model your encoding scheme (e.g. OFDM modulation etc) through a receiver and then decode the received OFDM and so on and look at BER and similar metrics. All those communication blocks in Simulink become very useful.

    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