Macromodeling ideal switches for SPICE | IEEE Journals & Magazine | IEEE Xplore