Accurate simulation of switched systems using PSpice and VHDL-AMS Accurate simulation of switched systems using PSpice and VHDL-AMS doc