An inverter simulation on ATPdraw