Convergence problem with cadence spectre

Status
Not open for further replies.

rajrevanth61

Member level 3
Joined
Mar 6, 2014
Messages
65
Helped
0
Reputation
0
Reaction score
0
Trophy points
6
Visit site
Activity points
429
Hello everyone,

I am trying to write a 2x1 multiplexer using the mems switch in veriloga. But when i try to simulate the circuit i am getting errors.

ERROR (SPECTRE-11005): Matrix is singular (detected at `out').
ERROR (SPECTRE-16080): No DC solution found (no convergence).

Here is my code.
Code:
`include "disciplines.vams"
`include "constants.vams"
module dummy(S, in1, in2, out, vdd, gnd);
input in1, in2, S;
inout vdd, gnd;
output out;
electrical in1, in2, vdd, gnd, out, S, Sbar; 

inverter inverter_1(S, vdd, gnd, Sbar);
mems mems_1(in1, out, Sbar);
mems mems_2(in2, out, S);

endmodule


module inverter(invin, vdd, gnd, invout);
input invin, vdd, gnd;
electrical vdd, gnd;

output invout;
res  res_1(vdd, invout);
mems mems_3(gnd, invout, invin);
endmodule


module res(A, GA);
 inout A, GA;
 electrical A, GA;
 parameter real r=100 from (0:inf);

 analog
    V(A, GA) <+ r*I(A, GA);

endmodule


Please help me. I am stuck at this point.



Thank you
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…