Last month , New Delhi and Washington reached an agreement under which India agreed to separate its civilian and military nuclear programs , continue a moratorium on nuclear testing and open the civilian facilities for U.N. inspections .