Implementation of a direct digital predictive current controller for single and three phase voltage source inverters | Synapse