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:
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?
i've written these codes,
kinematic v; //temp. var. to hold ddt(x)
parameter real a=xxx, b=xxx, c=xxx; // assume a,b,c are properly defined
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....