Error Correction Code Implementations in Memory Controller Designs