Design and Implementation of a High Performance PMSM Drives Using DSP and FPGA Chips