Ignore:
Timestamp:
Dec 10, 2008, 7:31:39 PM (15 years ago)
Author:
rosiere
Message:

Almost complete design
with Test and test platform

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Component_test_map.cpp

    r82 r88  
    1515  bool Component::test_map (bool recursive)
    1616  {
    17     log_printf(NONE,Behavioural,FUNCTION, "Test port map and interface.");
     17    log_printf(INFO,Behavioural,FUNCTION, "Test port map and interface.");
    1818    return test_map (0, recursive);
    1919  }
     
    2323    log_printf(FUNC,Behavioural,FUNCTION,"Begin");
    2424
    25     std::string tab  = std::string(depth,'\t');
     25    std::string tab  = std::string(depth,' ');
    2626    std::string name = _entity->get_name();
    2727    bool test_ok = true;
     
    3030    if (is_behavioural)
    3131      {
    32         log_printf(NONE,Behavioural,FUNCTION, "%s* Component \"%s\" is a behavioural description",tab.c_str(),name.c_str());
     32        log_printf(INFO,Interface,FUNCTION, "%s* Component \"%s\" is a behavioural description",tab.c_str(),name.c_str());
    3333      }
    3434    else
    3535      {
    36         log_printf(NONE,Behavioural,FUNCTION, "%s* Component \"%s\" is a structural description",tab.c_str(),name.c_str());
     36        log_printf(INFO,Interface,FUNCTION, "%s* Component \"%s\" is a structural description",tab.c_str(),name.c_str());
    3737      }
    3838
    3939   
    40     //  log_printf(NONE,Behavioural,FUNCTION, "%s* Test port I/O",tab.c_str());
     40    //  log_printf(INFO,Behavioural,FUNCTION, "%s* Test port I/O",tab.c_str());
    4141   
    4242    test_ok &= _entity->test_map(depth+1,true,is_behavioural);
    4343   
    44     //  log_printf(NONE,Behavioural,FUNCTION, "%s* Test all internal component",tab.c_str());
     44    //  log_printf(INFO,Behavioural,FUNCTION, "%s* Test all internal component",tab.c_str());
    4545       
    4646    for (std::list<Tcomponent_t *>::iterator i= _list_component->begin();
     
    7272//   bool Component::test_equi (bool recursive)
    7373//   {
    74 //     log_printf(NONE,Behavioural,FUNCTION, "Test port equi and interface.");
     74//     log_printf(INFO,Behavioural,FUNCTION, "Test port equi and interface.");
    7575//     return test_equi (0, recursive);
    7676//   }
Note: See TracChangeset for help on using the changeset viewer.