The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl
Design Languages >> Verilog-AMS >> Verilog-A opamp
https://designers-guide.org/forum/YaBB.pl?num=1245168846

Message started by Dracon on Jun 16th, 2009, 9:14am

Title: Verilog-A opamp
Post by Dracon on Jun 16th, 2009, 9:14am

Hi All,

Can anybody put on the Forum some nice and easy opamp that work? I mean the one with GBW, slew rate and some gain. I came across some models that doesn't work and by myself I do not know how to combine GBW with poles in laplace function

Thanks in advance,

Title: Re: Verilog-A opamp
Post by flz on Jun 17th, 2009, 1:25am

Is this one ok? I am sorry I don't really understand this model, especially  the frequency character.

module opamp(inm, inp, out);

inout inm, inp, out;
electrical inm,inp,out;

parameter real gain = 250k;
parameter real rgm = 2.3k;
parameter real cc = 30 p;
parameter real rin =2Meg;

electrical vin vo;

analog begin
I(inp, inm) <+ V(inp, inm)/rgm;
V(vin) <+ laplace_nd(gain*V(inp, inm),{1.0},{1.0,5.0e-7});
I(vin, vo) <+ V(vin,vo)/rgm;
I(vo) <+ ddt(cc*V(vo));
V(out) <+ V(vo);
end
endmodule

and my problem is which characters should I consider when I  model an opamp? :-/

The Designer's Guide Community Forum » Powered by YaBB 2.2.2!
YaBB © 2000-2008. All Rights Reserved.