The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl
Simulators >> AMS Simulators >> Difference Amplifier
https://designers-guide.org/forum/YaBB.pl?num=1189637504

Message started by magathi on Sep 12th, 2007, 3:51pm

Title: Difference Amplifier
Post by magathi on Sep 12th, 2007, 3:51pm

Iam trying to model a simple difference amplifier....

//Verilog-AMS HDL for "test", "pip_difference_amp" "verilogams"

`include "constants.vams"
`include "disciplines.vams"

module pip_difference_amp (out,pin,nin);
output out;
input pin,nin;
electrical out, pin,nin;
parameter real gain = 1;
parameter real td = 0;
parameter tt = 0;
real diff;

analog begin
     diff = gain*(V(pin)-V(nin));
     V(out)<+transition(diff,td,tt);
end

endmodule

This is the error message Iam getting...
ERROR (ADEXL-5012): An error occurred while netlisting the
         testbench on point 1.
Could somebody explain what this error means?

Title: Re: Difference Amplifier
Post by Ken Kundert on Sep 12th, 2007, 5:02pm

I don't know what the error message means, but you probably should remove the transition function.

Does the error message even apply to this module, it is referring to "netlisting a testbench"?

-Ken

Title: Re: Difference Amplifier
Post by magathi on Sep 13th, 2007, 12:02pm

Thanks for your help. It was an error generated by the Cadence design environment. as my config file was not generated correctly....

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