Switch in analogLib has Vopen and Vclose. I found this. Vopen must not be equal to Vclose. Otherwise, Spectre will announce an Error.
Then, I've done the following simulation. The schematic is below.
We can see,
<1>VCtrl > Vopen, Rout=Ropen=100 Ohms.
<2>VCtrl < Vclose, Rout=Rclose=1 Ohm.
<3>Vclose < VCtrl < Vopen, Rclose < Rout < Ropen. So, Rout=f(VCtrl, Rclose, Ropen). The question is, what's the function relationship of "f"? For a given VCtrl, how to get the value of Rout?
Doc file "analoglibref.pdf" doesn's present how to use "switch". And no content about how to set Vopen/Vclose is described.
Can any one help me? Thanks in advance.