The U.S. has accused Iran of supplying weapons and training to Shi'ite militias in Iraq .