Ideal Switches in QSPICE

How we will do that in case of synchronous buck converter. since there is grounding issue with top switch.

Thanks a lot for your buck model. @ivan1