Rapid Development and Application of CPLD for BLDCM Controller