The document describes control logic design for a PWM generator and SVPWM module. It outlines tasks to verify the ADC conversions, Clarke and Park transformations used in the control loop, speed measurement using resolver signals, safety and protection modules, flux and speed estimation, and closed-loop speed regulation. Test results are shown for varying voltage commands Vd and Vq with Ta, Tb, and Tc commands 120 degrees apart from the space vector. Waveforms are displayed with varying Vd commands and DC bus voltages.