Hi,
I am a new with verilog-AMS. I've developed a behavioral model of a lowpass filter.
Code Verilog - [expand] |
1
2
3
4
5
6
7
8
9
10
11
12
| `include “disciplines.vams”
`include “constants.vams”
module lp_filt_beh (sig1, sig2, gnd);
inout sig1, sig2, gnd;
electrical sig1, sig2, gnd;
parameter real res = 1K;
parameter real cap = 1u;
analog begin
I(sig1,sig2) <+ V(sig1, sig2) / res;
I(sig2,gnd) <+ ddt(V(sig2,gnd) * cap);
end
endmodule |
I am not sure whether it is a conservative system or a non-conservative systems.
How can I distinguish between them from the above example?
Explanation would be great helpful.
Thank you.
Warm regards,
Last edited by a moderator: