Ignore:
Timestamp:
Feb 16, 2010, 1:35:48 PM (14 years ago)
Author:
rosiere
Message:

Various modif (add test, and vhdl)

Location:
trunk/IPs/systemC/processor/Morpheo/Behavioural/Configuration/src
Files:
2 edited

Legend:

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

    r112 r137  
    77
    88#include "Behavioural/Configuration/include/Configuration.h"
    9 #include "Behavioural/include/Version.h"
     9#include "Common/include/Environment.h"
    1010
    1111namespace morpheo {
     
    1818  {
    1919    log_begin(Configuration,FUNCTION);
     20
     21    environment();
    2022
    2123    std::string str = "";
     
    5254    str += toString(MSG_INFORMATION)+"\n";
    5355    str += toString(MSG_INFORMATION)+_("  * Multiple ORganization of a Processor with HEterogeneous and Open architecture\n");
    54     str += toString(MSG_INFORMATION)+_("  * Version            : ")+toString(MORPHEO_HEADER)+"\n";
    55     str += toString(MSG_INFORMATION)+_("  * Last change        : ")+toString(MORPHEO_DATE  )+"\n";
     56    str += toString(MSG_INFORMATION)+_("  * Version            : ")+MORPHEO_HEADER+"\n";
     57    str += toString(MSG_INFORMATION)+_("  * Last change        : ")+MORPHEO_DATE  +"\n";
    5658    str += toString(MSG_INFORMATION)+_("  * E-mail support     : mathieu.rosiere@lip6.fr\n"      );
    5759    str += toString(MSG_INFORMATION)+_("  * Original author(s) : Mathieu  Rosière\n"             );
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Configuration/src/Instance_fromXMLLight.cpp

    r109 r137  
    2727    XMLLightVector<XML_t> vect = xml->getNodes();
    2828
     29    log_printf(TRACE,Configuration,FUNCTION,"  * id         : %s",id.c_str());
     30    log_printf(TRACE,Configuration,FUNCTION,"  * size       : %d",vect.size());
     31
    2932    for (uint32_t i=0; i<vect.size(); ++i)
    3033      {
     
    3336        std::string child_name = child->getName();
    3437
    35 //         log_printf(TRACE,Configuration,FUNCTION,"  * child_name : %s",child_name.c_str());
     38        log_printf(TRACE,Configuration,FUNCTION,"  * child_name : %s",child_name.c_str());
    3639
    3740        //--------------------------------------------
     
    4750            attribute_t  value      = getAttribute(child,attributes,"value");
    4851
    49 //             log_printf(TRACE,Configuration,FUNCTION,"    * parameter \"%s\" = %s",value_name.c_str(), value.c_str());
     52            log_printf(TRACE,Configuration,FUNCTION,"    * parameter \"%s\" = %s",value_name.c_str(), value.c_str());
    5053           
    5154            testAttributesEmpty(child,attributes);
     
    7578            attribute_t  value_name = getAttribute(child,attributes,"name");
    7679
    77 //             log_printf(TRACE,Configuration,FUNCTION,"    * link  \"%s\"",value_name.c_str());
     80            log_printf(TRACE,Configuration,FUNCTION,"    * link  \"%s\"",value_name.c_str());
    7881           
    7982            // Test, must have src or dest (or twice)
     
    118121        if (child_name == "timing")
    119122          {
    120 //             log_printf(TRACE,Configuration,FUNCTION,"    * timing");
     123            log_printf(TRACE,Configuration,FUNCTION,"    * timing");
    121124
    122125            // Notation :
     
    196199        else
    197200          {
    198 //             log_printf(TRACE,Configuration,FUNCTION,"    * component");
     201            log_printf(TRACE,Configuration,FUNCTION,"    * component");
    199202
    200203            testSingleton  (child,false);       
     
    229232                attribute_t value_id  = value_ids.substr(index_min, index_max);
    230233
    231 //                 log_printf(TRACE,Configuration,FUNCTION,"    * component \"%s\" - %s",value_type.c_str(), value_id.c_str());
     234                log_printf(TRACE,Configuration,FUNCTION,"    * component \"%s\" - %s",value_type.c_str(), value_id.c_str());
    232235
    233236                index_begin = index_end;
     
    238241                                                                      value_id);
    239242             
    240 //                log_printf(TRACE,Configuration,FUNCTION,"%s.%s",value_type.c_str(),value_id.c_str());
    241 //                log_printf(TRACE,Configuration,FUNCTION,"  * %d",((*list_components)[value_type]).size());
     243                  // log_printf(TRACE,Configuration,FUNCTION,"%s.%s",value_type.c_str(),value_id.c_str());
     244                  // log_printf(TRACE,Configuration,FUNCTION,"  * %d",((*list_components)[value_type]).size());
    242245             
    243246                  // Test if this id is previously used
Note: See TracChangeset for help on using the changeset viewer.