Hi,
I want to use the resistor as a thermal noise source.
I use spectres to simulate the thermal noise of the resistor, and make a noise source Vē=4KTR serial with the ideal resistor to act as the thermal noise as showed below.
RES is the noise source. And it is verilog-A code is:
// VerilogA for random, rnoise, veriloga
`include "constants.vams"
`include "disciplines.vams"
module rnoise(p, n);
inout p, n;
electrical p, n;
parameter real r = 50k;
analog begin
V(p, n) <+ white_noise(4 * `P_Q * $temperature * r, "thermal");
end
endmodule
But when I use the tran simulation, the noise can not come out, also I add a amp the it the make the bandwidth big, but it could not come out.
What is the matter, please?
Is the white_noise funtion only used in .AC simulation? So it can not work in .tran simulation?
Please help me.
Thank you.
Best regards!