Fix to handle new wider D operand and reduce warnings

Make sure that the IO_Write module can handle both RAM and D widths.