msg: Add functions to fill source bits