I have FlexMC kit which is composed of CM408F processor and a low voltage driver circuitry for BLDC motor. Boston engineering has provided me with the Simulink model of the motor and inverter. My Objective is to write a code in Simulink to generate PWM for the inverter . IAR software will finally load the code into the processor. Any one who can help me on this issue.