Geoffrey_Coram
|
Not quite sure why this is in the AMS section of the forum, but since it is, here's a possible solution. Use the Verilog-A module below, and connect its output to a node; the voltage of that node will then be the temperature of the circuit (in Kelvin), and thus you should be able to get access to it in the Calculator.
`include "disciplines.vams" // or "discipline.h" module tempout(out); inout out; electrical out;
analog V(out) <+ $temperature; endmodule
|