Changeset 82 for trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Network/Read_unit_to_Execution_unit
- Timestamp:
- May 1, 2008, 6:48:45 PM (16 years ago)
- Location:
- trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Network/Read_unit_to_Execution_unit
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Network/Read_unit_to_Execution_unit/SelfTest/src/test.cpp
r81 r82 7 7 */ 8 8 9 #define NB_ITERATION 1 10 #define CYCLE_MAX (128*NB_ITERATION) 11 9 12 #include "Behavioural/Core/Multi_Execute_loop/Execute_loop/Network/Read_unit_to_Execution_unit/SelfTest/include/test.h" 10 13 #include "Common/include/Test.h" … … 13 16 #include <list> 14 17 #include <set> 15 16 #define NB_ITERATION 117 #define CYCLE_MAX (128*NB_ITERATION)18 19 #define LABEL(str...) \20 { \21 msg (_("{%d} "),static_cast<uint32_t>(sc_simulation_time())); \22 msg (str); \23 msg (_("\n")); \24 } while(0)25 26 #define SC_START(cycle_offset) \27 do \28 { \29 /*cout << "SC_START (begin)" << endl;*/ \30 \31 uint32_t cycle_current = static_cast<uint32_t>(sc_simulation_time()); \32 if (cycle_offset != 0) \33 { \34 cout << "##########[ cycle "<< cycle_current+cycle_offset << " ]" << endl; \35 } \36 \37 if (cycle_current > CYCLE_MAX) \38 { \39 TEST_KO("Maximal cycles Reached"); \40 } \41 \42 sc_start(cycle_offset); \43 \44 /*cout << "SC_START (end )" << endl;*/ \45 } while(0)46 47 18 48 19 class entry_t … … 113 84 #endif 114 85 115 Read_unit_to_Execution_unit * _Read_unit_to_Execution_unit = new Read_unit_to_Execution_unit (name.c_str(), 86 Read_unit_to_Execution_unit * _Read_unit_to_Execution_unit = new Read_unit_to_Execution_unit 87 (name.c_str(), 116 88 #ifdef STATISTICS 117 89 _parameters_statistics, 118 90 #endif 119 _param); 91 _param, 92 USE_ALL); 120 93 121 94 #ifdef SYSTEMC -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Network/Read_unit_to_Execution_unit/include/Read_unit_to_Execution_unit.h
r81 r82 130 130 #endif 131 131 Parameters * param, 132 morpheo::behavioural::Tusage_t usage =USE_ALL132 morpheo::behavioural::Tusage_t usage 133 133 ); 134 134 public : ~Read_unit_to_Execution_unit (void);
Note: See TracChangeset
for help on using the changeset viewer.