The Designer's Guide Community
Forum
Welcome, Guest. Please Login or Register. Please follow the Forum guidelines.
May 21st, 2024, 5:58am
Pages: 1
Send Topic Print
Difference Amplifier (Read 3813 times)
magathi
New Member
*
Offline



Posts: 3
Utah
Difference Amplifier
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?
Back to top
 
 
View Profile   IP Logged
Ken Kundert
Global Moderator
*****
Offline



Posts: 2384
Silicon Valley
Re: Difference Amplifier
Reply #1 - 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
Back to top
 
 
View Profile WWW   IP Logged
magathi
New Member
*
Offline



Posts: 3
Utah
Re: Difference Amplifier
Reply #2 - 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....
Back to top
 
 
View Profile   IP Logged
Pages: 1
Send Topic Print
Copyright 2002-2024 Designer’s Guide Consulting, Inc. Designer’s Guide® is a registered trademark of Designer’s Guide Consulting, Inc. All rights reserved. Send comments or questions to editor@designers-guide.org. Consider submitting a paper or model.