In reply to Rana Adeel Ahmad:
Cannot help without seeing the definition of ctrl_i where it declares a_source_ctrl.