Thanks for the reply.
The subversion of spectre is 5.10.41_USR3.102405, and the netlist is:
Quote:I7(in ip net15) test gain=10000 bandwith=5M
C0(net15 0) capacitor c=1p
E1(ip 0 net3 0) vcvs gain=0.5
E0(in 0 net3 0) vcvs gain=-0.5
V0(net3 0) vsource mag=1 type=sine ampl=10m freq=5M
ahdl_include "/home/xxx/xxx/test/veriloga/veriloga.va"
analysis type "tran" "dc" "ac"
The file veriloga.va is:
Quote:module test(in, ip,out);
input in,ip;
output out;
electrical in, ip, out;
parameter gain = 10000;
parameter bw = 100;
analog begin
V(out) <+ laplace_nd(V(ip,in),{1},{1,1/(2*3.14*bw)});
end
endmodule
That's all.
Regards.