Ignore:
Timestamp:
May 1, 2008, 6:48:45 PM (16 years ago)
Author:
rosiere
Message:
  • support locale (now must "just" translate)
  • update all component with new test format
  • update all component with usage
  • New component : decod queue and prediction_unit
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Execute_unit/Execute_unit/Functionnal_unit/SelfTest/src/test.cpp

    r81 r82  
    77 */
    88
     9#define NB_ITERATION  1
     10#define CYCLE_MAX     (1024*NB_ITERATION)
     11
    912#include "Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Execute_unit/Execute_unit/Functionnal_unit/SelfTest/include/test.h"
    1013#include "Common/include/Test.h"
    11 
    12 #define NB_ITERATION  1
    13 #define CYCLE_MAX     (1024*NB_ITERATION)
    14 
    15 #define LABEL(str...)                                                   \
    16   {                                                                     \
    17     msg (_("{%d} "),static_cast<uint32_t>(sc_simulation_time()));       \
    18     msg (str);                                                          \
    19     msg (_("\n"));                                                      \
    20   } while(0)
    21 
    22 #define SC_START(cycle_offset)                                                       \
    23   do                                                                                 \
    24     {                                                                                \
    25       /*cout << "SC_START (begin)" << endl;*/                                        \
    26                                                                                      \
    27       uint32_t cycle_current = static_cast<uint32_t>(sc_simulation_time());          \
    28       if (cycle_offset != 0)                                                         \
    29         {                                                                            \
    30           cout << "##########[ cycle "<< cycle_current+cycle_offset << " ]" << endl; \
    31         }                                                                            \
    32                                                                                      \
    33       if (cycle_current > CYCLE_MAX)                                                 \
    34         {                                                                            \
    35           TEST_KO("Maximal cycles Reached");                                         \
    36         }                                                                            \
    37                                                                                      \
    38       sc_start(cycle_offset);                                                        \
    39                                                                                      \
    40       /*cout << "SC_START (end  )" << endl;*/                                        \
    41     } while(0)
    4214
    4315class execute_transaction
     
    12193  Functionnal_unit * _Functionnal_unit = new Functionnal_unit (name.c_str(),
    12294#ifdef STATISTICS
    123                                              _parameters_statistics,
     95                                                               _parameters_statistics,
    12496#endif
    125                                              _param);
     97                                                               _param,
     98                                                               USE_ALL);
    12699 
    127100#ifdef SYSTEMC
Note: See TracChangeset for help on using the changeset viewer.