Changeset 134


Ignore:
Timestamp:
Jul 15, 2009, 10:41:01 AM (15 years ago)
Author:
rosiere
Message:

1) valgrind fix
2) debug file on/off

Location:
trunk
Files:
11 added
1 deleted
31 edited
2 moved

Legend:

Unmodified
Added
Removed
  • trunk/IPs/systemC/Environment/Data/include/Segment.h

    r88 r134  
    2323  protected : type_target_t type;
    2424
    25   public :  Segment (void);
     25//public :  Segment (void);
    2626  public :  Segment (SEGMENT_TABLE_ENTRY * segment);
    2727  public : ~Segment (void);
  • trunk/IPs/systemC/Environment/Data/selftest/main.cpp

    r81 r134  
    3131
    3232  {
    33     Segment * seg1 = new Segment ();
     33//     Segment * seg1 = new Segment ();
    3434   
    35     TEST(seg1->getType     (), TYPE_TARGET_MEMORY);
    36     TEST(seg1->getIndex    (), 0);
    37     TEST(seg1->getBase     (), 0);
    38     TEST(seg1->getSize     (), 0);
    39     TEST(seg1->getUncached (), false);
     35//     TEST(seg1->getType     (), TYPE_TARGET_MEMORY);
     36//     TEST(seg1->getIndex    (), 0);
     37//     TEST(seg1->getBase     (), 0);
     38//     TEST(seg1->getSize     (), 0);
     39//     TEST(seg1->getUncached (), false);
    4040   
    41     seg1->define_target(TYPE_TARGET_SIM2OS,4);
    42     TEST(seg1->getType     (), TYPE_TARGET_SIM2OS);
    43     TEST(seg1->getIndex    (), 4);
     41//     seg1->define_target(TYPE_TARGET_SIM2OS,4);
     42//     TEST(seg1->getType     (), TYPE_TARGET_SIM2OS);
     43//     TEST(seg1->getIndex    (), 4);
    4444   
    45     cout << *seg1 << endl;
     45//     cout << *seg1 << endl;
    4646   
    4747    SEGMENT_TABLE_ENTRY * entry = new SEGMENT_TABLE_ENTRY("entry", 0x100, 0x1024, 21, 7, true);
     
    104104    delete    seg2;
    105105    delete    entry;
    106     delete    seg1;
     106//     delete    seg1;
    107107  }
    108108
  • trunk/IPs/systemC/Environment/Data/src/Data_read.cpp

    r81 r134  
    66  bool Data::read (uint32_t address, uint32_t size, char * & data_dest)
    77  {
     8//     for (uint32_t i=0; i<size; ++i)
     9//       data_dest[i] = '\0';
     10   
    811    uint32_t num_seg = 0;
    9     bool     res     = false;
    10 
     12   
    1113    // Scan all segment
    12     for (num_seg = 0; num_seg < nb_seg; num_seg ++)
     14    for (; num_seg < nb_seg; num_seg ++)
    1315      if (segment[num_seg]->test (address,size) == true)
    1416        {
    1517          segment[num_seg]->read (address,size,data_dest);
    16           res = true;
    1718          break;
    1819        }
    1920   
    20     return res;
     21    return (num_seg < nb_seg);
    2122  }
    2223
  • trunk/IPs/systemC/Environment/Data/src/Segment.cpp

    r81 r134  
    44namespace data {
    55 
    6   Segment::Segment (void)
    7   {
    8     name     = "";
    9     base     = 0;
    10     size     = 0;
    11     uncached = false;
    12     data     = NULL;
    13     type     = TYPE_TARGET_MEMORY;
    14     index    = 0;
    15   }
     6//   Segment::Segment (void)
     7//   {
     8//     name     = "";
     9//     base     = 0;
     10//     size     = 0;
     11//     uncached = false;
     12//     data     = NULL;
     13//     type     = TYPE_TARGET_MEMORY;
     14//     index    = 0;
     15//   }
    1616
    1717  Segment::Segment (SEGMENT_TABLE_ENTRY * segment)
     
    2525    type     = TYPE_TARGET_MEMORY;
    2626    index    = 0;
     27    memset((void*)data,0,size * sizeof(char));
    2728  }
    2829
  • trunk/IPs/systemC/Environment/Data/src/Segment_read.cpp

    r81 r134  
    11#include "../include/Segment.h"
     2#include "../../Common/include/Debug.h"
    23
    34namespace environment {
     
    67  void Segment::read (uint32_t address, uint32_t size, char * & data_dest)
    78  {
     9//     _cout(true,"  * kane\n");
     10//     _cout(true,"    * address : %.8x\n",address);
    811    for (uint32_t it = 0; it < size ; it ++)
    9       data_dest [it] = data[address-base+it];
     12      {
     13        data_dest [it] = data[address-base+it];
     14//      _cout(true,"    * [%d] : %.8x\n",address-base+it,static_cast<uint32_t>(data_dest [it]));
     15      }
    1016  }
    1117 
  • trunk/IPs/systemC/Environment/Data/src/loadexec.c

    r122 r134  
    142142   *eoffset       = ringo.ladr;
    143143   ringo.mem      = malloc(*esize * sizeof(char));
     144
     145   memset((void *)ringo.mem,0,*esize * sizeof(char));
     146   
    144147   /* Start over again from the start of the memory */
    145148   bfd_map_over_sections(exec, bindsection, &ringo);
  • trunk/IPs/systemC/Environment/src/Environment_transition.cpp

    r132 r134  
    105105
    106106                            bus_error |= !component_data->read(addr,size,read_iram[k]);
    107 
     107                           
    108108                            // Swap if endienness is different
    109109                            if (endianness::isSameEndianness(context) == false)
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Configuration/SelfTest/src/test.cpp

    r133 r134  
    1 /*
     1cd /*
    22 * $Id$
    33 *
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Execute_unit/Execute_unit/Functionnal_unit/src/Functionnal_unit_transition.cpp

    r128 r134  
    4848                  }
    4949              }
     50
     51        _execute_operation_out->_context_id    = 0; // not necessary
     52        _execute_operation_out->_front_end_id  = 0; // not necessary
     53        _execute_operation_out->_ooo_engine_id = 0; // not necessary
     54        _execute_operation_out->_packet_id     = 0; // not necessary
     55  //    _execute_operation_out->_operation     = 0; // not necessary
     56  //    _execute_operation_out->_type          = 0; // not necessary
     57        _execute_operation_out->_write_rd      = 0; // not necessary
     58        _execute_operation_out->_num_reg_rd    = 0; // not necessary
     59        _execute_operation_out->_data_rd       = 0; // not necessary
     60        _execute_operation_out->_write_re      = 0; // not necessary
     61        _execute_operation_out->_num_reg_re    = 0; // not necessary
     62        _execute_operation_out->_data_re       = 0; // not necessary
     63        _execute_operation_out->_exception     = 0; // not necessary
     64        _execute_operation_out->_no_sequence   = 0; // not necessary
     65        _execute_operation_out->_address       = 0; // not necessary
    5066      }
    5167    else
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Execute_unit/Execute_unit/Load_store_unit/src/Load_store_unit_allocation.cpp

    r124 r134  
    179179
    180180#if defined(DEBUG) and defined(DEBUG_Load_store_unit) and (DEBUG_Load_store_unit == true)
    181     directory_init ();
    182 
    183     memory_log_file = new std::ofstream [_param->_nb_thread];
    184     for (uint32_t i=0; i<_param->_nb_thread; ++i)
    185       if (_param->_num_thread_valid [i])
    186         {
    187          
    188           std::string filename = morpheo::filename(MORPHEO_LOG,
    189                                                    "Memory_access-thread_"+toString(i),
    190                                                    "",
    191                                                    "log",
    192                                                    _simulation_file_with_date,
    193                                                    _simulation_file_with_pid ,
    194                                                    true);
    195          
    196           memory_log_file [i].open(filename.c_str() ,std::ios::out | std::ios::trunc);
    197         }
     181    if (log_file_generate)
     182      {
     183        directory_init ();
     184       
     185        memory_log_file = new std::ofstream [_param->_nb_thread];
     186        for (uint32_t i=0; i<_param->_nb_thread; ++i)
     187          if (_param->_num_thread_valid [i])
     188            {
     189             
     190              std::string filename = morpheo::filename(MORPHEO_LOG,
     191                                                       "Memory_access-thread_"+toString(i),
     192                                                       "",
     193                                                       "log",
     194                                                       _simulation_file_with_date,
     195                                                       _simulation_file_with_pid ,
     196                                                       true);
     197             
     198              memory_log_file [i].open(filename.c_str() ,std::ios::out | std::ios::trunc);
     199            }
     200      }
    198201#endif
    199202
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Execute_unit/Execute_unit/Load_store_unit/src/Load_store_unit_deallocation.cpp

    r128 r134  
    122122
    123123#if defined(DEBUG) and defined(DEBUG_Load_store_unit) and (DEBUG_Load_store_unit == true)
    124     {
    125       for (uint32_t i=0; i<_param->_nb_thread; ++i)
    126         if (_param->_num_thread_valid [i])
    127           {
    128             memory_log_file [i].close();
    129           }
    130       delete [] memory_log_file;
    131     }
     124    if (log_file_generate)
     125      {
     126        for (uint32_t i=0; i<_param->_nb_thread; ++i)
     127          if (_param->_num_thread_valid [i])
     128            {
     129              memory_log_file [i].close();
     130            }
     131        delete [] memory_log_file;
     132      }
    132133#endif
    133134
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Execute_unit/Execute_unit/Load_store_unit/src/Load_store_unit_function_speculative_load_commit_transition.cpp

    r128 r134  
    999999
    10001000#if defined(DEBUG) and defined(DEBUG_Load_store_unit) and (DEBUG_Load_store_unit == true)
     1001                  if (log_file_generate)
    10011002                    {
    10021003                      // log file
     
    11931194               
    11941195#if defined(DEBUG) and defined(DEBUG_Load_store_unit) and (DEBUG_Load_store_unit == true)
    1195                 {
    1196                   // log file
    1197                   Tcontext_t num_thread    = get_num_thread(_load_queue [packet_id]._context_id   , _param->_size_context_id   ,
    1198                                                             _load_queue [packet_id]._front_end_id , _param->_size_front_end_id ,
    1199                                                             _load_queue [packet_id]._ooo_engine_id, _param->_size_ooo_engine_id);
    1200                  
    1201                   memory_log_file [num_thread]
    1202                     << "[" << simulation_cycle() << "] "
    1203                     << std::hex
    1204                     << "@ 0x" << std::setfill('0') << std::setw(_param->_size_general_data/4) << _load_queue [packet_id]._address << " -[ Read  ]-> 0x" << std::setfill('0') << std::setw(_param->_size_general_data/4) << _load_queue [packet_id]._rdata << " "
    1205                     << std::dec
    1206                     << "{" << toString(_load_queue [packet_id]._operation) << "}";
    1207                  
    1208                   memory_log_file [num_thread] << std::endl;
    1209                 }
     1196                if (log_file_generate)
     1197                  {
     1198                    // log file
     1199                    Tcontext_t num_thread    = get_num_thread(_load_queue [packet_id]._context_id   , _param->_size_context_id   ,
     1200                                                              _load_queue [packet_id]._front_end_id , _param->_size_front_end_id ,
     1201                                                              _load_queue [packet_id]._ooo_engine_id, _param->_size_ooo_engine_id);
     1202                   
     1203                    memory_log_file [num_thread]
     1204                      << "[" << simulation_cycle() << "] "
     1205                      << std::hex
     1206                      << "@ 0x" << std::setfill('0') << std::setw(_param->_size_general_data/4) << _load_queue [packet_id]._address << " -[ Read  ]-> 0x" << std::setfill('0') << std::setw(_param->_size_general_data/4) << _load_queue [packet_id]._rdata << " "
     1207                      << std::dec
     1208                      << "{" << toString(_load_queue [packet_id]._operation) << "}";
     1209                   
     1210                    memory_log_file [num_thread] << std::endl;
     1211                  }
    12101212#endif     
    12111213
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Decod_unit/Decod/Instruction/include/Types.h

    r88 r134  
    5555    Texception_t        _exception         ;
    5656    Tbranch_condition_t _branch_condition  ;
    57 //     Tcontrol_t          _branch_stack_write;
     57//  Tcontrol_t          _branch_stack_write;
    5858    Tcontrol_t          _branch_direction  ;
    5959    Tevent_type_t       _event_type        ;
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Decod_unit/Decod/src/Decod_genMealy.cpp

    r124 r134  
    101101                Tgeneral_data_t addr = PORT_READ(in_IFETCH_ADDRESS [x])+y;
    102102
    103                 _decod_instruction->_instruction      = PORT_READ(in_IFETCH_INSTRUCTION [x][y]);
    104                 _decod_instruction->_context_id       = x;
    105                 _decod_instruction->_address_previous = internal_CONTEXT_ADDRESS_PREVIOUS [x];
    106                 _decod_instruction->_address          = addr; //Compute the current address
    107                 _decod_instruction->_address_next     = addr+1;
    108                 _decod_instruction->_is_delay_slot    = internal_CONTEXT_IS_DELAY_SLOT [x];
     103                _decod_instruction->_instruction        = PORT_READ(in_IFETCH_INSTRUCTION [x][y]);
     104                _decod_instruction->_context_id         = x;
     105                _decod_instruction->_address_previous   = internal_CONTEXT_ADDRESS_PREVIOUS [x];
     106                _decod_instruction->_address            = addr; //Compute the current address
     107                _decod_instruction->_address_next       = addr+1;
     108                _decod_instruction->_is_delay_slot      = internal_CONTEXT_IS_DELAY_SLOT [x];
     109                _decod_instruction->_type               = 0; // not necessary
     110                _decod_instruction->_operation          = 0; // not necessary
     111                _decod_instruction->_no_execute         = 0; // not necessary
     112                _decod_instruction->_has_immediat       = 0; // not necessary
     113                _decod_instruction->_immediat           = 0; // not necessary
     114                _decod_instruction->_read_ra            = 0; // not necessary
     115                _decod_instruction->_num_reg_ra         = 0; // not necessary
     116                _decod_instruction->_read_rb            = 0; // not necessary
     117                _decod_instruction->_num_reg_rb         = 0; // not necessary
     118                _decod_instruction->_read_rc            = 0; // not necessary
     119                _decod_instruction->_num_reg_rc         = 0; // not necessary
     120                _decod_instruction->_write_rd           = 0; // not necessary
     121                _decod_instruction->_num_reg_rd         = 0; // not necessary
     122                _decod_instruction->_write_re           = 0; // not necessary
     123                _decod_instruction->_num_reg_re         = 0; // not necessary
     124                _decod_instruction->_exception_use      = EXCEPTION_USE_NONE; // not necessary
     125                _decod_instruction->_exception          = EXCEPTION_DECOD_NONE; // not necessary
     126                _decod_instruction->_branch_condition   = 0; // not necessary
     127//              _decod_instruction->_branch_stack_write = 0; // not necessary
     128                _decod_instruction->_branch_direction   = 0; // not necessary
     129                _decod_instruction->_event_type         = EVENT_TYPE_NONE; // not necessary
     130               
     131
    109132
    110133                // Test IFetch exception
     
    181204                // Branch predictor can accept : the depth is valid
    182205                log_printf(TRACE,Decod,FUNCTION,"      * context_depth_val      : %d",PORT_READ(in_CONTEXT_DEPTH_VAL [x]));
     206
    183207                decod_val   [i]    &= PORT_READ(in_CONTEXT_DEPTH_VAL [x]);
    184208                ifetch_ack  [x][y] &= PORT_READ(in_CONTEXT_DEPTH_VAL [x]);
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Update_Prediction_Table/src/Update_Prediction_Table_allocation.cpp

    r124 r134  
    248248
    249249#if defined(DEBUG) and defined(DEBUG_Update_Prediction_Table) and (DEBUG_Update_Prediction_Table == true)
    250     directory_init ();
    251 
    252     branchement_log_file = new std::ofstream [_param->_nb_thread];
    253     for (uint32_t i=0; i<_param->_nb_thread; ++i)
    254       if (_param->_have_thread [i])
    255         {
    256           std::string filename = morpheo::filename(MORPHEO_LOG,
    257                                                    "Branchement_prediction-thread_"+toString(i),
    258                                                    "",
    259                                                    "log",
    260                                                    _simulation_file_with_date,
    261                                                    _simulation_file_with_pid,
    262                                                    true);
    263          
    264           branchement_log_file [i] .open(filename.c_str() ,std::ios::out | std::ios::trunc);
    265         }
     250    if (log_file_generate)
     251      {
     252        directory_init ();
     253       
     254        branchement_log_file = new std::ofstream [_param->_nb_thread];
     255        for (uint32_t i=0; i<_param->_nb_thread; ++i)
     256          if (_param->_have_thread [i])
     257            {
     258              std::string filename = morpheo::filename(MORPHEO_LOG,
     259                                                       "Branchement_prediction-thread_"+toString(i),
     260                                                       "",
     261                                                       "log",
     262                                                       _simulation_file_with_date,
     263                                                       _simulation_file_with_pid,
     264                                                       true);
     265             
     266              branchement_log_file [i] .open(filename.c_str() ,std::ios::out | std::ios::trunc);
     267            }
     268      }
    266269#endif
    267270
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Update_Prediction_Table/src/Update_Prediction_Table_deallocation.cpp

    r128 r134  
    172172
    173173#if defined(DEBUG) and defined(DEBUG_Update_Prediction_Table) and (DEBUG_Update_Prediction_Table == true)
    174     {
    175       for (uint32_t i=0; i<_param->_nb_thread; ++i)
    176         if (_param->_have_thread [i])
    177           {
    178             branchement_log_file [i].close();
    179           }
    180       delete [] branchement_log_file;
    181     }
     174    if (log_file_generate)
     175      {
     176        for (uint32_t i=0; i<_param->_nb_thread; ++i)
     177          if (_param->_have_thread [i])
     178            {
     179              branchement_log_file [i].close();
     180            }
     181        delete [] branchement_log_file;
     182      }
    182183#endif
    183184
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Prediction_unit/Update_Prediction_Table/src/Update_Prediction_Table_transition.cpp

    r128 r134  
    149149                    {
    150150#if defined(DEBUG) and defined(DEBUG_Update_Prediction_Table) and (DEBUG_Update_Prediction_Table == true)
    151                       if (reg_UPDATE_PREDICTION_TABLE [i][bottom]._retire_ok)
    152                         {
    153                           uint32_t num_thread = _param->_translate_num_context_to_num_thread [i];
    154                           branchement_log_file [num_thread]
    155                             << std::hex
    156                             << "0x" << std::setfill('0') << std::setw(_param->_size_general_data/4) << reg_UPDATE_PREDICTION_TABLE [i][bottom]._address_src  << " "
    157                             << "0x" << std::setfill('0') << std::setw(_param->_size_general_data/4) << reg_UPDATE_PREDICTION_TABLE [i][bottom]._address_dest << " "
    158                             << std::dec
    159                             <<         reg_UPDATE_PREDICTION_TABLE [i][bottom]._good_take         << " - "
    160                             << "["  << simulation_cycle() << "] " << " "
    161                             <<         reg_UPDATE_PREDICTION_TABLE [i][bottom]._miss_prediction   << " "
    162                             <<         reg_UPDATE_PREDICTION_TABLE [i][bottom]._ifetch_prediction << " "
    163                             << "("  << toString(reg_UPDATE_PREDICTION_TABLE [i][bottom]._condition) << ")"
    164                             << std::endl;
    165                         }
     151                      if (log_file_generate)
     152                        if (reg_UPDATE_PREDICTION_TABLE [i][bottom]._retire_ok)
     153                          {
     154                            uint32_t num_thread = _param->_translate_num_context_to_num_thread [i];
     155                            branchement_log_file [num_thread]
     156                              << std::hex
     157                              << "0x" << std::setfill('0') << std::setw(_param->_size_general_data/4) << reg_UPDATE_PREDICTION_TABLE [i][bottom]._address_src  << " "
     158                              << "0x" << std::setfill('0') << std::setw(_param->_size_general_data/4) << reg_UPDATE_PREDICTION_TABLE [i][bottom]._address_dest << " "
     159                              << std::dec
     160                              <<         reg_UPDATE_PREDICTION_TABLE [i][bottom]._good_take         << " - "
     161                              << "["  << simulation_cycle() << "] " << " "
     162                              <<         reg_UPDATE_PREDICTION_TABLE [i][bottom]._miss_prediction   << " "
     163                              <<         reg_UPDATE_PREDICTION_TABLE [i][bottom]._ifetch_prediction << " "
     164                              << "("  << toString(reg_UPDATE_PREDICTION_TABLE [i][bottom]._condition) << ")"
     165                              << std::endl;
     166                          }
    166167#endif
    167168                     
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Commit_unit/src/Commit_unit_allocation.cpp

    r127 r134  
    358358
    359359#if defined(DEBUG) and defined(DEBUG_Commit_unit) and (DEBUG_Commit_unit == true)
    360     directory_init ();
    361 
    362     instruction_log_file = new std::ofstream [_param->_nb_thread];
    363     for (uint32_t i=0; i<_param->_nb_thread; ++i)
    364       if (_param->_have_thread [i])
    365         {
    366          
    367           std::string filename = morpheo::filename(MORPHEO_LOG,
    368                                                    "Instruction_flow-thread_"+toString(i),
    369                                                    "",
    370                                                    "log",
    371                                                    _simulation_file_with_date,
    372                                                    _simulation_file_with_pid ,
    373                                                    true);
    374          
    375           instruction_log_file [i].open(filename.c_str() ,std::ios::out | std::ios::trunc);
    376         }
     360    if (log_file_generate)
     361      {
     362        directory_init ();
     363       
     364        instruction_log_file = new std::ofstream [_param->_nb_thread];
     365        for (uint32_t i=0; i<_param->_nb_thread; ++i)
     366          if (_param->_have_thread [i])
     367            {
     368             
     369              std::string filename = morpheo::filename(MORPHEO_LOG,
     370                                                       "Instruction_flow-thread_"+toString(i),
     371                                                       "",
     372                                                       "log",
     373                                                       _simulation_file_with_date,
     374                                                       _simulation_file_with_pid ,
     375                                                       true);
     376             
     377              instruction_log_file [i].open(filename.c_str() ,std::ios::out | std::ios::trunc);
     378            }
     379      }
    377380#endif
    378381
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Commit_unit/src/Commit_unit_deallocation.cpp

    r128 r134  
    239239
    240240#if defined(DEBUG) and defined(DEBUG_Commit_unit) and (DEBUG_Commit_unit == true)
    241     {   
    242       for (uint32_t i=0; i<_param->_nb_thread; ++i)
    243         if (_param->_have_thread [i])
    244           {
    245             instruction_log_file [i].close();
    246           }
    247       delete [] instruction_log_file;
    248     }
     241    if (log_file_generate)
     242      {   
     243        for (uint32_t i=0; i<_param->_nb_thread; ++i)
     244          if (_param->_have_thread [i])
     245            {
     246              instruction_log_file [i].close();
     247            }
     248        delete [] instruction_log_file;
     249      }
    249250#endif
    250251
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Commit_unit/src/Commit_unit_transition.cpp

    r128 r134  
    831831
    832832#if defined(DEBUG) and defined(DEBUG_Commit_unit) and (DEBUG_Commit_unit == true)
    833                     {
    834                       // log file
    835                       instruction_log_file [num_thread]
    836                         << "[" << simulation_cycle() << "] "
    837                         << std::hex
    838                         << (entry->address<<2) << " (" << (entry->address) << ") "
    839                         << std::dec
    840                         << "[" << entry->cycle_rob_in << ", " << entry->cycle_commit << "] "
    841                         << "{" << ((retire_ok)?"OK":"KO") << "} ";
    842                      
    843                       if ((type == TYPE_MEMORY) and  is_operation_memory_load(entry->operation))
    844                         instruction_log_file [num_thread] << std::hex << entry->load_data << std::dec;
    845                      
    846                       instruction_log_file [num_thread] << std::endl;
    847                     }
     833                    if (log_file_generate)
     834                      {
     835                        // log file
     836                        instruction_log_file [num_thread]
     837                          << "[" << simulation_cycle() << "] "
     838                          << std::hex
     839                          << (entry->address<<2) << " (" << (entry->address) << ") "
     840                          << std::dec
     841                          << "[" << entry->cycle_rob_in << ", " << entry->cycle_commit << "] "
     842                          << "{" << ((retire_ok)?"OK":"KO") << "} ";
     843                       
     844                        if ((type == TYPE_MEMORY) and  is_operation_memory_load(entry->operation))
     845                          instruction_log_file [num_thread] << std::hex << entry->load_data << std::dec;
     846                       
     847                        instruction_log_file [num_thread] << std::endl;
     848                      }
    848849#endif     
    849850
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/include/Version.h

    r133 r134  
    1010#define MORPHEO_MAJOR_VERSION "0"
    1111#define MORPHEO_MINOR_VERSION "2"
    12 #define MORPHEO_REVISION      "133"
     12#define MORPHEO_REVISION      "134"
    1313#define MORPHEO_CODENAME      "Castor"
    1414
    15 #define MORPHEO_DATE_DAY      "13
     15#define MORPHEO_DATE_DAY      "15
    1616#define MORPHEO_DATE_MONTH    "07"
    1717#define MORPHEO_DATE_YEAR     "2009"
  • trunk/IPs/systemC/processor/Morpheo/Common/include/Message.h

    r124 r134  
    4444
    4545extern FILE * log_stream;
     46extern bool   log_file_generate;
    4647
    4748FILE * log      (FILE * stream);
  • trunk/IPs/systemC/processor/Morpheo/Common/src/Message.cpp

    r124 r134  
    1616  static bool log_initialized;
    1717  FILE * log_stream;
     18  bool   log_file_generate;
    1819 
    1920#undef  FUNCTION
     
    3536    if (not log_initialized)
    3637      {
    37         log_initialized = true;
     38        log_initialized   = true;
     39        log_file_generate = have_file;
    3840
    3941        if (have_file)
     
    4951           
    5052            log_stream = fopen (filename.c_str(), "w");
    51            
     53
    5254            if (log_stream==NULL)
    5355              {
  • trunk/IPs/systemC/processor/Morpheo/Files/Instance_x04_w08_01.cfg

    r133 r134  
    11<?xml version="1.0" encoding="ISO-8859-1" ?>
    22
    3 <core name="Instance_x4_w8_1">
     3<core name="Instance_x4_w8_01">
    44
    55  <thread id="0,1,2,3">             
     
    3636  </rename_bloc>                                           
    3737                                                           
    38   <read_bloc id="0,1,2,3,4,5,6,7,8,9,10">                                        
     38  <read_bloc id="0,1,2,3,4,5,6,7,8,9,10,11,12" >                                 
    3939    <parameter name="size_read_queue"                       value="4" />
    4040    <parameter name="size_reservation_station"              value="8" />
     
    4242  </read_bloc>                                             
    4343
    44   <write_bloc id="0,1,2,3,4,5,6,7,8,9,10" >
     44  <write_bloc id="0,1,2,3,4,5,6,7,8,9,10,11,12" >
    4545    <parameter name="size_write_queue"                      value="8" />
    4646    <parameter name="size_execute_queue"                    value="4" />
     
    7070    <parameter name="nb_inst_functionnal_unit" value="1" />
    7171
     72    <timing type="8"  latence="1" delay="1" />
    7273    <timing type="10" latence="1" delay="1" />
    7374  </functionnal_unit>
    7475
    75   <functionnal_unit id="2,3,4,5,6,7,8,9" >
     76  <functionnal_unit id="2">
     77    <parameter name="nb_inst_functionnal_unit" value="1" />
     78
     79    <timing type="8"  latence="1" delay="1" />
     80    <timing type="10" latence="1" delay="1" />
     81  </functionnal_unit>
     82
     83  <functionnal_unit id="3">
     84    <parameter name="nb_inst_functionnal_unit" value="1" />
     85
     86    <timing type="8"  latence="1" delay="1" />
     87    <timing type="10" latence="1" delay="1" />
     88  </functionnal_unit>
     89
     90  <functionnal_unit id="4,5,6,7,8,9,10,11" />
    7691    <parameter name="nb_inst_functionnal_unit" value="1" />
    7792
     
    175190  <link name="link_read_unit_with_read_bloc"           src="9"     dest="0.9" />
    176191  <link name="link_read_unit_with_read_bloc"           src="10"    dest="0.10"/>
     192  <link name="link_read_unit_with_read_bloc"           src="11"    dest="0.11"/>
     193  <link name="link_read_unit_with_read_bloc"           src="12"    dest="0.12"/>
    177194
    178195  <link name="link_write_unit_with_write_bloc"         src="0"     dest="0.0" />
     
    336353  <link name="link_read_bloc_and_load_store_unit"      src="9.0"   dest="0"   />
    337354  <link name="link_read_bloc_and_load_store_unit"      src="10.0"  dest="0"   />
     355  <link name="link_read_bloc_and_load_store_unit"      src="11.0"  dest="0"   />
     356  <link name="link_read_bloc_and_load_store_unit"      src="12.0"  dest="0"   />
    338357
    339358  <link name="link_read_bloc_and_load_store_unit"      src="0.1"   dest="1"   />
     
    348367  <link name="link_read_bloc_and_load_store_unit"      src="9.1"   dest="0"   />
    349368  <link name="link_read_bloc_and_load_store_unit"      src="10.1"  dest="0"   />
     369  <link name="link_read_bloc_and_load_store_unit"      src="11.1"  dest="0"   />
     370  <link name="link_read_bloc_and_load_store_unit"      src="12.1"  dest="0"   />
    350371
    351372  <link name="link_read_bloc_and_load_store_unit"      src="0.2"   dest="1"   />
     
    360381  <link name="link_read_bloc_and_load_store_unit"      src="9.2"   dest="0"   />
    361382  <link name="link_read_bloc_and_load_store_unit"      src="10.2"  dest="0"   />
     383  <link name="link_read_bloc_and_load_store_unit"      src="11.2"  dest="0"   />
     384  <link name="link_read_bloc_and_load_store_unit"      src="12.2"  dest="0"   />
    362385
    363386  <link name="link_read_bloc_and_load_store_unit"      src="0.3"   dest="1"   />
     
    372395  <link name="link_read_bloc_and_load_store_unit"      src="9.3"   dest="0"   />
    373396  <link name="link_read_bloc_and_load_store_unit"      src="10.3"  dest="0"   />
     397  <link name="link_read_bloc_and_load_store_unit"      src="11.3"  dest="0"   />
     398  <link name="link_read_bloc_and_load_store_unit"      src="12.3"  dest="0"   />
    374399
    375400  <link name="link_read_bloc_and_functionnal_unit"     src="0.0"   dest="1"   />
    376401  <link name="link_read_bloc_and_functionnal_unit"     src="1.0"   dest="1"   />
    377   <link name="link_read_bloc_and_functionnal_unit"     src="2.0"   dest="0"   />
    378   <link name="link_read_bloc_and_functionnal_unit"     src="3.0"   dest="0"   />
     402  <link name="link_read_bloc_and_functionnal_unit"     src="2.0"   dest="1"   />
     403  <link name="link_read_bloc_and_functionnal_unit"     src="3.0"   dest="1"   />
    379404  <link name="link_read_bloc_and_functionnal_unit"     src="4.0"   dest="0"   />
    380405  <link name="link_read_bloc_and_functionnal_unit"     src="5.0"   dest="0"   />
     
    384409  <link name="link_read_bloc_and_functionnal_unit"     src="9.0"   dest="0"   />
    385410  <link name="link_read_bloc_and_functionnal_unit"     src="10.0"  dest="0"   />
     411  <link name="link_read_bloc_and_functionnal_unit"     src="11.0"  dest="0"   />
     412  <link name="link_read_bloc_and_functionnal_unit"     src="12.0"  dest="0"   />
    386413
    387414  <link name="link_read_bloc_and_functionnal_unit"     src="0.1"   dest="1"   />
    388415  <link name="link_read_bloc_and_functionnal_unit"     src="1.1"   dest="1"   />
    389   <link name="link_read_bloc_and_functionnal_unit"     src="2.1"   dest="0"   />
    390   <link name="link_read_bloc_and_functionnal_unit"     src="3.1"   dest="0"   />
     416  <link name="link_read_bloc_and_functionnal_unit"     src="2.1"   dest="1"   />
     417  <link name="link_read_bloc_and_functionnal_unit"     src="3.1"   dest="1"   />
    391418  <link name="link_read_bloc_and_functionnal_unit"     src="4.1"   dest="0"   />
    392419  <link name="link_read_bloc_and_functionnal_unit"     src="5.1"   dest="0"   />
     
    396423  <link name="link_read_bloc_and_functionnal_unit"     src="9.1"   dest="0"   />
    397424  <link name="link_read_bloc_and_functionnal_unit"     src="10.1"  dest="0"   />
    398 
    399   <link name="link_read_bloc_and_functionnal_unit"     src="0.2"   dest="0"   />
    400   <link name="link_read_bloc_and_functionnal_unit"     src="1.2"   dest="0"   />
     425  <link name="link_read_bloc_and_functionnal_unit"     src="11.1"  dest="0"   />
     426  <link name="link_read_bloc_and_functionnal_unit"     src="12.1"  dest="0"   />
     427
     428  <link name="link_read_bloc_and_functionnal_unit"     src="0.2"   dest="1"   />
     429  <link name="link_read_bloc_and_functionnal_unit"     src="1.2"   dest="1"   />
    401430  <link name="link_read_bloc_and_functionnal_unit"     src="2.2"   dest="1"   />
    402431  <link name="link_read_bloc_and_functionnal_unit"     src="3.2"   dest="1"   />
    403   <link name="link_read_bloc_and_functionnal_unit"     src="4.2"   dest="1"   />
    404   <link name="link_read_bloc_and_functionnal_unit"     src="5.2"   dest="1"   />
    405   <link name="link_read_bloc_and_functionnal_unit"     src="6.2"   dest="1"   />
    406   <link name="link_read_bloc_and_functionnal_unit"     src="7.2"   dest="1"   />
    407   <link name="link_read_bloc_and_functionnal_unit"     src="8.2"   dest="1"   />
    408   <link name="link_read_bloc_and_functionnal_unit"     src="9.2"   dest="1"   />
    409   <link name="link_read_bloc_and_functionnal_unit"     src="10.2"  dest="1"   />
    410 
    411   <link name="link_read_bloc_and_functionnal_unit"     src="0.3"   dest="0"   />
    412   <link name="link_read_bloc_and_functionnal_unit"     src="1.3"   dest="0"   />
     432  <link name="link_read_bloc_and_functionnal_unit"     src="4.2"   dest="0"   />
     433  <link name="link_read_bloc_and_functionnal_unit"     src="5.2"   dest="0"   />
     434  <link name="link_read_bloc_and_functionnal_unit"     src="6.2"   dest="0"   />
     435  <link name="link_read_bloc_and_functionnal_unit"     src="7.2"   dest="0"   />
     436  <link name="link_read_bloc_and_functionnal_unit"     src="8.2"   dest="0"   />
     437  <link name="link_read_bloc_and_functionnal_unit"     src="9.2"   dest="0"   />
     438  <link name="link_read_bloc_and_functionnal_unit"     src="10.2"  dest="0"   />
     439  <link name="link_read_bloc_and_functionnal_unit"     src="11.2"  dest="0"   />
     440  <link name="link_read_bloc_and_functionnal_unit"     src="12.2"  dest="0"   />
     441
     442  <link name="link_read_bloc_and_functionnal_unit"     src="0.3"   dest="1"   />
     443  <link name="link_read_bloc_and_functionnal_unit"     src="1.3"   dest="1"   />
    413444  <link name="link_read_bloc_and_functionnal_unit"     src="2.3"   dest="1"   />
    414445  <link name="link_read_bloc_and_functionnal_unit"     src="3.3"   dest="1"   />
    415   <link name="link_read_bloc_and_functionnal_unit"     src="4.3"   dest="1"   />
    416   <link name="link_read_bloc_and_functionnal_unit"     src="5.3"   dest="1"   />
    417   <link name="link_read_bloc_and_functionnal_unit"     src="6.3"   dest="1"   />
    418   <link name="link_read_bloc_and_functionnal_unit"     src="7.3"   dest="1"   />
    419   <link name="link_read_bloc_and_functionnal_unit"     src="8.3"   dest="1"   />
    420   <link name="link_read_bloc_and_functionnal_unit"     src="9.3"   dest="1"   />
    421   <link name="link_read_bloc_and_functionnal_unit"     src="10.3"  dest="1"   />
     446  <link name="link_read_bloc_and_functionnal_unit"     src="4.3"   dest="0"   />
     447  <link name="link_read_bloc_and_functionnal_unit"     src="5.3"   dest="0"   />
     448  <link name="link_read_bloc_and_functionnal_unit"     src="6.3"   dest="0"   />
     449  <link name="link_read_bloc_and_functionnal_unit"     src="7.3"   dest="0"   />
     450  <link name="link_read_bloc_and_functionnal_unit"     src="8.3"   dest="0"   />
     451  <link name="link_read_bloc_and_functionnal_unit"     src="9.3"   dest="0"   />
     452  <link name="link_read_bloc_and_functionnal_unit"     src="10.3"  dest="0"   />
     453  <link name="link_read_bloc_and_functionnal_unit"     src="11.3"  dest="0"   />
     454  <link name="link_read_bloc_and_functionnal_unit"     src="12.3"  dest="0"   />
    422455
    423456  <link name="link_read_bloc_and_functionnal_unit"     src="0.4"   dest="0"   />
    424457  <link name="link_read_bloc_and_functionnal_unit"     src="1.4"   dest="0"   />
    425   <link name="link_read_bloc_and_functionnal_unit"     src="2.4"   dest="1"   />
    426   <link name="link_read_bloc_and_functionnal_unit"     src="3.4"   dest="1"   />
     458  <link name="link_read_bloc_and_functionnal_unit"     src="2.4"   dest="0"   />
     459  <link name="link_read_bloc_and_functionnal_unit"     src="3.4"   dest="0"   />
    427460  <link name="link_read_bloc_and_functionnal_unit"     src="4.4"   dest="1"   />
    428461  <link name="link_read_bloc_and_functionnal_unit"     src="5.4"   dest="1"   />
     
    432465  <link name="link_read_bloc_and_functionnal_unit"     src="9.4"   dest="1"   />
    433466  <link name="link_read_bloc_and_functionnal_unit"     src="10.4"  dest="1"   />
     467  <link name="link_read_bloc_and_functionnal_unit"     src="11.4"  dest="1"   />
     468  <link name="link_read_bloc_and_functionnal_unit"     src="12.4"  dest="1"   />
    434469
    435470  <link name="link_read_bloc_and_functionnal_unit"     src="0.5"   dest="0"   />
    436471  <link name="link_read_bloc_and_functionnal_unit"     src="1.5"   dest="0"   />
    437   <link name="link_read_bloc_and_functionnal_unit"     src="2.5"   dest="1"   />
    438   <link name="link_read_bloc_and_functionnal_unit"     src="3.5"   dest="1"   />
     472  <link name="link_read_bloc_and_functionnal_unit"     src="2.5"   dest="0"   />
     473  <link name="link_read_bloc_and_functionnal_unit"     src="3.5"   dest="0"   />
    439474  <link name="link_read_bloc_and_functionnal_unit"     src="4.5"   dest="1"   />
    440475  <link name="link_read_bloc_and_functionnal_unit"     src="5.5"   dest="1"   />
     
    444479  <link name="link_read_bloc_and_functionnal_unit"     src="9.5"   dest="1"   />
    445480  <link name="link_read_bloc_and_functionnal_unit"     src="10.5"  dest="1"   />
     481  <link name="link_read_bloc_and_functionnal_unit"     src="11.5"  dest="1"   />
     482  <link name="link_read_bloc_and_functionnal_unit"     src="12.5"  dest="1"   />
    446483
    447484  <link name="link_read_bloc_and_functionnal_unit"     src="0.6"   dest="0"   />
    448485  <link name="link_read_bloc_and_functionnal_unit"     src="1.6"   dest="0"   />
    449   <link name="link_read_bloc_and_functionnal_unit"     src="2.6"   dest="1"   />
    450   <link name="link_read_bloc_and_functionnal_unit"     src="3.6"   dest="1"   />
     486  <link name="link_read_bloc_and_functionnal_unit"     src="2.6"   dest="0"   />
     487  <link name="link_read_bloc_and_functionnal_unit"     src="3.6"   dest="0"   />
    451488  <link name="link_read_bloc_and_functionnal_unit"     src="4.6"   dest="1"   />
    452489  <link name="link_read_bloc_and_functionnal_unit"     src="5.6"   dest="1"   />
     
    456493  <link name="link_read_bloc_and_functionnal_unit"     src="9.6"   dest="1"   />
    457494  <link name="link_read_bloc_and_functionnal_unit"     src="10.6"  dest="1"   />
     495  <link name="link_read_bloc_and_functionnal_unit"     src="11.6"  dest="1"   />
     496  <link name="link_read_bloc_and_functionnal_unit"     src="12.6"  dest="1"   />
    458497
    459498  <link name="link_read_bloc_and_functionnal_unit"     src="0.7"   dest="0"   />
    460499  <link name="link_read_bloc_and_functionnal_unit"     src="1.7"   dest="0"   />
    461   <link name="link_read_bloc_and_functionnal_unit"     src="2.7"   dest="1"   />
    462   <link name="link_read_bloc_and_functionnal_unit"     src="3.7"   dest="1"   />
     500  <link name="link_read_bloc_and_functionnal_unit"     src="2.7"   dest="0"   />
     501  <link name="link_read_bloc_and_functionnal_unit"     src="3.7"   dest="0"   />
    463502  <link name="link_read_bloc_and_functionnal_unit"     src="4.7"   dest="1"   />
    464503  <link name="link_read_bloc_and_functionnal_unit"     src="5.7"   dest="1"   />
     
    468507  <link name="link_read_bloc_and_functionnal_unit"     src="9.7"   dest="1"   />
    469508  <link name="link_read_bloc_and_functionnal_unit"     src="10.7"  dest="1"   />
     509  <link name="link_read_bloc_and_functionnal_unit"     src="11.7"  dest="1"   />
     510  <link name="link_read_bloc_and_functionnal_unit"     src="12.7"  dest="1"   />
    470511
    471512  <link name="link_read_bloc_and_functionnal_unit"     src="0.8"   dest="0"   />
    472513  <link name="link_read_bloc_and_functionnal_unit"     src="1.8"   dest="0"   />
    473   <link name="link_read_bloc_and_functionnal_unit"     src="2.8"   dest="1"   />
    474   <link name="link_read_bloc_and_functionnal_unit"     src="3.8"   dest="1"   />
     514  <link name="link_read_bloc_and_functionnal_unit"     src="2.8"   dest="0"   />
     515  <link name="link_read_bloc_and_functionnal_unit"     src="3.8"   dest="0"   />
    475516  <link name="link_read_bloc_and_functionnal_unit"     src="4.8"   dest="1"   />
    476517  <link name="link_read_bloc_and_functionnal_unit"     src="5.8"   dest="1"   />
     
    480521  <link name="link_read_bloc_and_functionnal_unit"     src="9.8"   dest="1"   />
    481522  <link name="link_read_bloc_and_functionnal_unit"     src="10.8"  dest="1"   />
     523  <link name="link_read_bloc_and_functionnal_unit"     src="11.8"  dest="1"   />
     524  <link name="link_read_bloc_and_functionnal_unit"     src="12.8"  dest="1"   />
    482525
    483526  <link name="link_read_bloc_and_functionnal_unit"     src="0.9"   dest="0"   />
    484527  <link name="link_read_bloc_and_functionnal_unit"     src="1.9"   dest="0"   />
    485   <link name="link_read_bloc_and_functionnal_unit"     src="2.9"   dest="1"   />
    486   <link name="link_read_bloc_and_functionnal_unit"     src="3.9"   dest="1"   />
     528  <link name="link_read_bloc_and_functionnal_unit"     src="2.9"   dest="0"   />
     529  <link name="link_read_bloc_and_functionnal_unit"     src="3.9"   dest="0"   />
    487530  <link name="link_read_bloc_and_functionnal_unit"     src="4.9"   dest="1"   />
    488531  <link name="link_read_bloc_and_functionnal_unit"     src="5.9"   dest="1"   />
     
    492535  <link name="link_read_bloc_and_functionnal_unit"     src="9.9"   dest="1"   />
    493536  <link name="link_read_bloc_and_functionnal_unit"     src="10.9"  dest="1"   />
     537  <link name="link_read_bloc_and_functionnal_unit"     src="11.9"  dest="1"   />
     538  <link name="link_read_bloc_and_functionnal_unit"     src="12.9"  dest="1"   />
     539
     540  <link name="link_read_bloc_and_functionnal_unit"     src="0.10"   dest="0"   />
     541  <link name="link_read_bloc_and_functionnal_unit"     src="1.10"   dest="0"   />
     542  <link name="link_read_bloc_and_functionnal_unit"     src="2.10"   dest="0"   />
     543  <link name="link_read_bloc_and_functionnal_unit"     src="3.10"   dest="0"   />
     544  <link name="link_read_bloc_and_functionnal_unit"     src="4.10"   dest="1"   />
     545  <link name="link_read_bloc_and_functionnal_unit"     src="5.10"   dest="1"   />
     546  <link name="link_read_bloc_and_functionnal_unit"     src="6.10"   dest="1"   />
     547  <link name="link_read_bloc_and_functionnal_unit"     src="7.10"   dest="1"   />
     548  <link name="link_read_bloc_and_functionnal_unit"     src="8.10"   dest="1"   />
     549  <link name="link_read_bloc_and_functionnal_unit"     src="9.10"   dest="1"   />
     550  <link name="link_read_bloc_and_functionnal_unit"     src="10.10"  dest="1"   />
     551  <link name="link_read_bloc_and_functionnal_unit"     src="11.10"  dest="1"   />
     552  <link name="link_read_bloc_and_functionnal_unit"     src="12.10"  dest="1"   />
     553
     554  <link name="link_read_bloc_and_functionnal_unit"     src="0.11"   dest="0"   />
     555  <link name="link_read_bloc_and_functionnal_unit"     src="1.11"   dest="0"   />
     556  <link name="link_read_bloc_and_functionnal_unit"     src="2.11"   dest="0"   />
     557  <link name="link_read_bloc_and_functionnal_unit"     src="3.11"   dest="0"   />
     558  <link name="link_read_bloc_and_functionnal_unit"     src="4.11"   dest="1"   />
     559  <link name="link_read_bloc_and_functionnal_unit"     src="5.11"   dest="1"   />
     560  <link name="link_read_bloc_and_functionnal_unit"     src="6.11"   dest="1"   />
     561  <link name="link_read_bloc_and_functionnal_unit"     src="7.11"   dest="1"   />
     562  <link name="link_read_bloc_and_functionnal_unit"     src="8.11"   dest="1"   />
     563  <link name="link_read_bloc_and_functionnal_unit"     src="9.11"   dest="1"   />
     564  <link name="link_read_bloc_and_functionnal_unit"     src="10.11"  dest="1"   />
     565  <link name="link_read_bloc_and_functionnal_unit"     src="11.11"  dest="1"   />
     566  <link name="link_read_bloc_and_functionnal_unit"     src="12.11"  dest="1"   />
    494567
    495568  <link name="link_write_bloc_and_load_store_unit"     src="0.0"   dest="1"   />
  • trunk/IPs/systemC/processor/Morpheo/Files/Instance_x04_w08_02.cfg

    r133 r134  
    11<?xml version="1.0" encoding="ISO-8859-1" ?>
    22
    3 <core name="Instance_x4_w8_2">
     3<core name="Instance_x4_w8_02">
    44
    55  <thread id="0,1,2,3">             
  • trunk/IPs/systemC/processor/Morpheo/Files/Morpheo-Dhrystone.sim

    r130 r134  
    1717  <parameter  name="directory_log"                          value="."       />
    1818
    19   <parameter  name="statistics_cycle_start"                 value="100000"  />
     19  <parameter  name="statistics_cycle_start"                 value="500000"  />
    2020  <parameter  name="statistics_period"                      value="0"       />
    2121                                                           
    22   <parameter  name="simulation_nb_cycle"                    value="10000000"/>
     22  <parameter  name="simulation_nb_cycle"                    value="1500000" />
    2323  <parameter  name="simulation_nb_instruction"              value="0"       />
    2424  <parameter  name="simulation_file_with_pid"               value="0"       />
  • trunk/IPs/systemC/processor/Morpheo/Files/Morpheo.sim

    r132 r134  
    1717  <parameter  name="directory_log"                          value="."       />
    1818
    19   <parameter  name="statistics_cycle_start"                 value="100" />
     19  <parameter  name="statistics_cycle_start"                 value="1000000" />
    2020  <parameter  name="statistics_period"                      value="0"       />
    2121                                                           
  • trunk/IPs/systemC/processor/Morpheo/Files/debug.sim

    r132 r134  
    2525  <parameter  name="simulation_file_with_date"              value="0"       />
    2626                                                           
    27   <parameter  name="debug_level"                            value="2"       />
     27  <parameter  name="debug_level"                            value="0"       />
    2828  <parameter  name="debug_cycle_start"                      value="0"       />
    2929  <parameter  name="debug_cycle_stop"                       value="100"     />
  • trunk/Makefile.tools

    r132 r134  
    5959#VALGRIND                               = valgrind --tool=memcheck --leak-check=yes --show-reachable=yes
    6060VALGRIND                                = valgrind --tool=memcheck --leak-check=full --show-reachable=yes --leak-resolution=high --partial-loads-ok=yes --undef-value-errors=yes
    61 labs_CC_PREFIX                          = $(DISTCC)
     61labs_network_CC_PREFIX                  = $(DISTCC)
     62labs_local_CC_PREFIX                    = $(DISTCC)
    6263home_CC_PREFIX                          =
    6364CC_PREFIX                               = $($(MORPHEO_LOCALIZATION)_CC_PREFIX)
  • trunk/Makefile.tools_path

    r132 r134  
    1010# LABS
    1111#----------------------------------------------------------
    12 labs_ENV                                = export PATH=$${PATH}:/bin:/usr/bin:/users/chaos/kane/Softwares/distcc/bin
    13 labs_SYSTEMC_systemc                    = /users/chaos/kane/Softwares/systemc
    14 labs_SYSTEMC_systemcass                 = /users/chaos/kane/Softwares/systemcass
    15 labs_SYSTEMC_systemcass_deps            = $(SYSTEMC_systemcass)
    16 labs_XILINX                             = /users/chaos/kane/Softwares/Xilinx92i
    17 labs_XILINX_CORELIB                     = /users/chaos/kane/Softwares/XilinxCoreLib
    18 labs_MODELTECH                          = /users/chaos/kane/Softwares/modeltech
    19 labs_MODELTECH_LICENCE                  = /users/soft/mentor/mgls_v8-5_0-5-0.ss5/etc/cust/mgc/license.anacad.2008
    20 labs_OR1K                               = /users/chaos/kane/Softwares/or32-elf
    21 labs_NEWLIB                             = /users/chaos/kane/Softwares/newlib/or32-elf
    22 labs_QT                                 = /users/chaos/kane/Softwares/qt-x11-opensource-4.2.3
     12labs_network_ENV                        = export PATH=$${PATH}:/bin:/usr/bin:/users/chaos/kane/Softwares/distcc/bin
     13labs_network_SYSTEMC_systemc            = /users/chaos/kane/Softwares/systemc
     14labs_network_SYSTEMC_systemcass         = /users/chaos/kane/Softwares/systemcass
     15labs_network_SYSTEMC_systemcass_deps    = $(labs_network_SYSTEMC_systemcass)
     16labs_network_XILINX                     = /users/chaos/kane/Softwares/Xilinx92i
     17labs_network_XILINX_CORELIB             = /users/chaos/kane/Softwares/XilinxCoreLib
     18labs_network_MODELTECH                  = /users/chaos/kane/Softwares/modeltech
     19labs_network_MODELTECH_LICENCE          = /users/soft/mentor/mgls_v8-5_0-5-0.ss5/etc/cust/mgc/license.anacad.2008
     20labs_network_OR1K                       = /users/chaos/kane/Softwares/or32-elf
     21labs_network_NEWLIB                     = /users/chaos/kane/Softwares/newlib/or32-elf
     22labs_network_QT                         = /users/chaos/kane/Softwares/qt-x11-opensource-4.2.3
     23
     24labs_local_ENV                          = $(labs_network_ENV)
     25labs_local_SYSTEMC_systemc              = $(labs_network_SYSTEMC_systemc)
     26labs_local_SYSTEMC_systemcass           = $(labs_network_SYSTEMC_systemcass)
     27labs_local_SYSTEMC_systemcass_deps      = $(labs_network_SYSTEMC_systemcass_deps)
     28labs_local_XILINX                       = $(labs_network_XILINX)
     29labs_local_XILINX_CORELIB               = $(labs_network_XILINX_CORELIB)
     30labs_local_MODELTECH                    = $(labs_network_MODELTECH)
     31labs_local_MODELTECH_LICENCE            = $(labs_network_MODELTECH_LICENCE)
     32labs_local_OR1K                         = $(labs_network_OR1K)
     33labs_local_NEWLIB                       = $(labs_network_NEWLIB)
     34labs_local_QT                           = $(labs_network_QT)
    2335
    2436#----------------------------------------------------------
     
    2840home_SYSTEMC_systemc                    = /home/data/Tools/systemc-2.2.0
    2941home_SYSTEMC_systemcass                 = /home/data/Tools/systemcass
    30 home_SYSTEMC_systemcass_deps            = $(SYSTEMC_systemcass)
     42home_SYSTEMC_systemcass_deps            = $(home_SYSTEMC_systemcass)
    3143home_XILINX                             = /home/data/Tools/Xilinx91i
    3244home_XILINX_CORELIB                     = /home/data/Tools/XilinxCoreLib
  • trunk/Platforms/Test/Makefile

    r131 r134  
    7878
    7979BIN                             =       Platforms_Test.x
    80 EXEC                            =       $(PATH_BIN)/$(BIN)
    81 EXEC_PREFIX                     =       $(NICE) -n $(PRIORITY) 
     80EXEC                            =       $(PATH_BIN)/$(BIN) 
     81EXEC_PREFIX                     =       $(NICE) -n $(PRIORITY)
    8282# $(VALGRIND)
    8383EXEC_PARAMS                     =       $(SYSTEMC_EXEC_PARAMS_$(SIMULATOR_SYSTEMC))
  • trunk/Platforms/Test/data/debug/debug.cfg

    r132 r134  
    11${MORPHEO_TOPLEVEL}/IPs/systemC/processor/Morpheo/Files/debug.sim
    22${MORPHEO_TOPLEVEL}/IPs/systemC/processor/Morpheo/Files/Morpheo.gen
    3 ${MORPHEO_TOPLEVEL}/IPs/systemC/processor/Morpheo/Files/Instance_x1_w1_1.cfg
    4 ${MORPHEO_TOPLEVEL}/Softwares/Test/Test_000/bin/soft.x
     3${MORPHEO_TOPLEVEL}/IPs/systemC/processor/Morpheo/Files/Instance_x1_w8_2.cfg
     4${MORPHEO_TOPLEVEL}/Softwares/Test/Test_070/bin/soft.x
    550
    660
  • trunk/environment.sh

    r132 r134  
    2525
    2626# Export environement
    27 export MORPHEO_LOCALIZATION="labs";
     27export MORPHEO_LOCALIZATION="labs_network";
    2828export MORPHEO_TOPLEVEL=${PWD};
    2929export MORPHEO_SCRIPT=${MORPHEO_TOPLEVEL}/IPs/systemC/processor/Morpheo/Script;
     
    3232
    3333case ${MORPHEO_LOCALIZATION} in
    34     "labs")
     34    "labs_network")
    3535        export MORPHEO_PREFIX=/users/chaos/kane/Morpheo;
    3636        export MORPHEO_TMP=${MORPHEO_PREFIX};
    37        
     37        ;;
     38    "labs_local")
     39        export MORPHEO_PREFIX=/dsk/l1/misc/Morpheo;
     40        export MORPHEO_TMP=${MORPHEO_PREFIX};
    3841        ;;
    3942    "home")
Note: See TracChangeset for help on using the changeset viewer.