The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl
Design Languages >> Verilog-AMS >> laplace_nd()
https://designers-guide.org/forum/YaBB.pl?num=1250565155

Message started by flz on Aug 17th, 2009, 8:12pm

Title: laplace_nd()
Post by flz on Aug 17th, 2009, 8:12pm

Dose function laplace_nd() have only frequency character? What is the output of a transient sumulaion?Can it be used to model ideal filters directly?The manual dosen't give detailed description.

eg.
V(n) <+ laplace(V(p),[1.0],[1.0,0.001]);

Thanks! :-[

Title: Re: laplace_nd()
Post by Sumit Adhikari on Aug 18th, 2009, 7:55am

No it dosent only have frequency. U can definitely use it for
transient simulation.It is called numerator-denominator form.
Following is a usage :

module test(pin, nin, pout, nout);
 electrical pin, nin, pout, nout;
 real nn[0:2];
 real dd[0:2];
 analog begin
 @(initial_step) begin
   nn[0] = 1.0;
   nn[1] = 0.0;
   nn[2] = 0.0;
   dd[0] = 1.0;
   dd[1] = 1.0;
   dd[2] = 1.0;
  end
  V(pout, nout) <+ laplace_nd(V(pin,nin), nn, dd);
 end
endmodule

It is meant to model your filters.

Regards,
Sumit

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