Chinmaye
Full Member level 3
Hello all,
Here is a simple verilog-a code for an amplifier with differential input and differential output. This works fine with resistors but if i try to use it with switched capacitor circuit, it gives an error
ERROR (SPECTRE-16384): Signal I(I31.V1) = 1.07846 GA exceeds the blowup limit for the quantity `I' which is (1 GA). It is likely that the circuit is unstable.
Please let me know what modifications needs to be done to correct it.
Here is a simple verilog-a code for an amplifier with differential input and differential output. This works fine with resistors but if i try to use it with switched capacitor circuit, it gives an error
ERROR (SPECTRE-16384): Signal I(I31.V1) = 1.07846 GA exceeds the blowup limit for the quantity `I' which is (1 GA). It is likely that the circuit is unstable.
Please let me know what modifications needs to be done to correct it.
Code:
module simple_opamp_t(sigin_p, sigin_n, sigout_n, sigout_p);
input sigin_p, sigin_n;
output sigout_p, sigout_n;
electrical sigin_p, sigin_n, sigout_p, sigout_n;
parameter real gain = 1000000;
parameter real sigin_offset = 0;
analog begin
V(sigout_n) <+ (V(sigin_n) - sigin_offset) * gain;
V(sigout_p) <+ (V(sigin_p) - sigin_offset) * gain;
end
endmodule