Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

What's wrong with my verilog-A model of the LPF?

Status
Not open for further replies.

shaq

Full Member level 5
Joined
Jul 23, 2005
Messages
311
Helped
14
Reputation
28
Reaction score
4
Trophy points
1,298
Activity points
3,397
Dear all,

Can you help me to check which part is wrong?
When I use the model of the 2nd order LPF in my PLL, it doesn't work.
Thanks for your help.

Code:
`include "disciplines.vams"
`include "constants.vams"

//  in-------------------out
//         |           |
//        Rs         Cp
//         |           |
//        Cs         |
//         |           |
//       gnd         gnd


module lpf_2 ( in, out );
inout in, out;
electrical in, out;
parameter real Rs=4.1e3 from (0:100e6),
                       Cs=30.6e-12 from (0:1),
                       Cp=1.92e-12 from (0:1);

analog
          V(out) <+ laplace_nd( V(in), {1, Cs*Cp}, {0, Cs+Cp, Cs*Cp*Rs} );

endmodule
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top