Digital Signal Processing for the Canadian Hydrogen Intensity Mapping Experiment