Two South Dakota State Penitentiary inmates have been charged with attempted murder after they allegedly assaulted a corrections officer.