Talk About Network

Google





Computer Aided Design - CAD > Cadence > to solve differ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 3 Topic 4156 of 4397
Post > Topic >>

to solve differential equations in verilog-a?

by lijp09@[EMAIL PROTECTED] Jul 26, 2008 at 12:12 AM

Hi,
   Now I'm using verilog-a to do some research on modeling kinematic
structures. We all know that ddt or idt is accepted in verilog-a, such
like the following sentences:
   Pos(v)<+ddt(x);

  But if Fdrv is from a source outside my module and i want to output
the x in the following differential equation, how can i?

  a*x''+b*x'+cx=Fdrv

   i've written these codes,
   .......(includings)
   module test(Fdrv,x);
       inout Fdrv,x;
       kinematic Fdrv,x;
       kinematic v; //temp. var. to hold ddt(x)
       parameter real a=xxx, b=xxx, c=xxx; // assume a,b,c are
properly defined
               analog begin
                    Pos(v)<+ddt(x);
                    F(Fdrv)<+a*ddt(Pos(v))
                                  +b*Pos(v)
                                  +c*Pos(x);
                end
   endmodule

    if i input x to module test, i will get proper output of Fdrv, but
if i want to input Fdrv and get the
proper value of x, which means i want to solve this differential
equation, it never works.
    How can i solve this problem? thank you very very much....
 




 3 Posts in Topic:
to solve differential equations in verilog-a?
lijp09@[EMAIL PROTECTED]   2008-07-26 00:12:18 
Re: to solve differential equations in verilog-a?
Riad KACED <riad.kaced  2008-07-29 12:22:19 
Re: to solve differential equations in verilog-a?
Riad KACED <riad.kaced  2008-07-29 12:26:51 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Fri Jan 9 15:05:05 PST 2009.