Ignore:
Timestamp:
Jan 19, 2008, 12:09:01 PM (16 years ago)
Author:
rosiere
Message:

Modification of Statisctics
Add a new systemC component : Load_Store_Queue (tested with one benchmark and one configuration). Store don't supported the Data Buss Error (Load is supported)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component/SelfTest/src/main.cpp

    r62 r71  
    1212void usage (int argc, char * argv[])
    1313{
    14   cerr << "<Usage> " << argv[0] << " name_instance list_params" << endl
    15        << "list_params is :" << endl
    16 //     << " - size_data     (unsigned int)" << endl
    17 //     << " - nb_port       (unsigned int)" << endl;
    18        << "" << endl;
    19 
    20   for (int i=0; i<argc; i++)
    21     cerr << argv[i] << " ";
    22   cerr << endl;
     14  err (_("<Usage> %s name_instance list_params.\n"),argv[0]);
     15  err (_("list_params is :\n"));
    2316
    2417  exit (1);
     
    4740        );
    4841     
    49       cout << param->print(1);
     42      msg(_("%s"),param->print(1).c_str()):
    5043     
    5144      test (name,param);
     
    5346  catch (morpheo::ErrorMorpheo & error)
    5447    {
    55       cout << "<" << name << "> : " <<  error.what ();
     48      msg (_("<%s> : %s.\n"),name, error.what ());
    5649      exit (EXIT_FAILURE);
    5750    }
    5851  catch (...)
    5952    {
    60       cerr << "<" << name << "> : This test must generate a error" << endl;
     53     
     54      err (_("<%s> : This test must generate a error.\n"),name);
    6155      exit (EXIT_FAILURE);
    6256    }
Note: See TracChangeset for help on using the changeset viewer.