Martin, Spectre itself can't do this within the simulator, but it would be very easy to do with a run plan in ADE Assembler. In this example I have a single test "Setup" which runs a two-tone hb analysis. One of the outputs is harmPower which is the output of one of the harmonics in dBm. I then set the run plan up like this to have two runs: As you can see, the temperature is set to be a function of the harmPower output (retrieved using calcVal, with ?run "First" to retrieve from the first run in the run plan). The calcVal sets a dependency between the runs, and it is correctly passing the temperature for the second run based on an output of the first. The calculation in this example is completely made up (just so I could see an effect); I'll leave you to adjust to be your actual calculation. Of course, the new temperature could be an output of the test itself which would make the variable setting in the run plan simpler, and easier to observer in ADE. Andrew
↧