It looks like there's a device that's simply called "switch" within analogLib which should do what you want. You set the voltage levels which open and close the switch (presumably two separate thresholds so that you can have hysteresis in the switching behavior) in the switch parameters, then you feed it with a control voltage to tell it when to open and close.oh yes there was a misunderstanding in that, i got it now, i was hoping to know what's the name of it in cadence though. Thanks for your help