Home > Community > Forums > Mixed-Signal Design > Changing the simulation temp from a task

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 Changing the simulation temp from a task 

Last post Fri, Feb 22 2013 2:57 AM by Andrew Beckett. 2 replies.
Started by Teeeravis 13 Feb 2013 01:55 PM. Topic has 2 replies and 553 views
Page 1 of 1 (3 items)
Sort Posts:
  • Wed, Feb 13 2013 1:55 PM

    • Teeeravis
    • Not Ranked
    • Joined on Tue, Sep 27 2011
    • Folsom, CA
    • Posts 4
    • Points 80
    Changing the simulation temp from a task Reply
    I would like to change the simulation voltage/temperature in an AMS sim from a task

    general setup below
     
    I want the simulation to go through a bunch of states,
    reach a steady state,
    start a task that fires off changes in the temp/voltage
    ramp temp
    measure stuff
    repeat  
     
    something like
    cds_globals.xtemp = 50;
    cds_globals.supply_voltage = 1.5;
    where xtemp is variable that drives the temp in the ade-l gui.
     
    I tried this, doesnt work, cryptic debug messages dont really help me on why.  
     
    I've seen the following commands and think these may be useful but honestly im kinda grasping at straws.
     
    $temperature  <- reports the current sim temp  (didnt seem to compile)
    cds_globals.xtemp = 50;  xtemp is a parameter in the cds_globals, compiler complains that you cant assign values to these params
    amsDirect.simcntl sctemp string "temperature" (saw this in the manual, not sure you can fire this command from a task)
     
    I'm not looking for the dynamic parameter solution.

    http://www.cadence.com/community/forums/T/10265.aspx

    Any help would be appreciated

     
    • Post Points: 35
  • Thu, Feb 14 2013 4:05 AM

    Re: Changing the simulation temp from a task Reply

    (re-posting, because my email reply didn't appear - I have IT investigating as I think it's a problem specific to this forum).

    You can't do this. Dynamic parameters are the only way right now. One thought I had was that you might be able to stop the simulation and use the tcl command to change analog options, but I don't think temperature is one of the things you can change, and then run a little longer. However I don't think that's any more advantageous than the existing dynamic parameter approach (assuming it is possible, I didn't check as I'm offline)

    So contact customer support; this would be an enhancement request. 

    Regards,

    Andrew 

     

     

    • Post Points: 5
  • Fri, Feb 22 2013 2:57 AM

    Re: Changing the simulation temp from a task Reply
    You can't do this. Dynamic parameters are the only way right now. One thought I had was that you might be able to stop the simulation and use the tcl command to change analog options, but I don't think temperature is one of the things you can change, and then run a little longer. However I don't think that's any more advantageous than the existing dynamic parameter approach (assuming it is possible, I didn't check as I'm offline)

    So contact customer support; this would be an enhancement request.

    Regards,
    Andrew
    • Post Points: 5
Page 1 of 1 (3 items)
Sort Posts:
Started by Teeeravis at 13 Feb 2013 01:55 PM. Topic has 2 replies.