The Cassini spacecraft uses a CCD-based star tracker, the Stellar Reference Unit (SRU), for attitude identification in the Attitude and Articulation Control Subsystem (AACS). Software to process SRU data resides in the Flight Computer (AFC) and is integrated with all other AACS functions. The Cassini mission will use autonomous star identification for initial attitude determination, and a star tracking function for maintaining attitude, both performed by processing pixel data produced by the SRU and sent to the AFC via a dma interface. Because of the complexity of the StanD software, special software simulation tools were created to simulate the SRU output as a function of commands, spacecraft attitude, and star scene, and allow the introduction of fault conditions. This paper gives the overview of the algorithm design, SRU simulation, and a description of the simulation test results and comparison with the field test results obtained using the engineering model SRU.