fuzail
New Member
Offline
Posts: 3
|
Hi all,
I have made verilog-A model of switches and using them in the circuit to perform simulation. Here spectre gives me error like "too few terminals given (3<4)".
Here i have two types of switches one is 3 terminal switch (vin,vcontrol,vout) and other is four terminal switch (vref+,vref-,vcontrol,vout) .
Operation of 1st switch is simple if vcontrol>vth then switch closed else open. (vth is given as parameter in code)
Operation of second switch is if vcontrol>vth vout=vref+ else vcontrol <vth vout=vref-
I made symbols of both n using in switched integrator circuit along with fully differential-opamp but giving the error as described above.
If switch2(four terminal switch) is removed spectre is not showing any error..... Any help on this would be appreciated
Thanks-- Fuzail
|