# Looking for ideal opamp model file for Cadence

Status
Not open for further replies.

#### suhas_shiv

##### Full Member level 2
Hi all,

Does cadence analog library have an ideal opamp that I can use to simulate a circuit? Do I have to attach a model file for it also just like for a MOS transistor? If yes, where can I find a simple model file for it?

Thanks

Suhas

#### safwatonline

functional library >>opamp.
else try to make ur own by verilog , i made a simple one by verilog a while ago ,it may help.
Code:
module CMFB(inp,inn,out,VDD,GND);
input inp,inn,VDD,GND;
output out;
electrical inp,inn,VDD,GND,out;
parameter real GAIN=30;
real x,y;
analog begin
//      @(cross((V(inp)-V(inn)),0))
x = 0.9 + GAIN*(V(inp) - V(inn));
if (x > V(VDD)) begin
y = V(VDD);
end
else if( x <V(GND)) begin
y = V(GND);
end
else if ( (x < V(VDD)) && (x>V(GND))) begin
y = x;
end

#### suhas_shiv

##### Full Member level 2

Hi thanks,

I tried using the one u mentioned(opamp - symbol and opamp-spectre) but I get an error undefined model. So I assume it is looking for a model file associated with this.

#### safwatonline

yep i tried it now and it gives me a model eror too, sorry try using the model i posted i tried it b4.

#### gevy

##### Full Member level 6

I use vcvs as ideal opamp.

Status
Not open for further replies.