switch using stimulus generation via the Gen option