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