
The program takes two arguments, an Or1ksim configuration file (described further in Section 5.6) and a binary image to execute on the Or1ksim ISS (see Section 5.5).
int sc_main( int argc,
char *argv[] )
{
if( argc != 3 ) {
cerr << "Usage: TestSC <config_file> <image_file>" << endl;
exit( 1 );
}
