- Timestamp:
- May 1, 2008, 6:48:45 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/RegisterFile/SelfTest/src/test.cpp
r81 r82 7 7 */ 8 8 9 #define NB_ITERATION 1 10 #define CYCLE_MAX (256*NB_ITERATION) 11 9 12 #include "Behavioural/Generic/RegisterFile/SelfTest/include/test.h" 10 13 #include "Common/include/Test.h" 11 12 #define NB_ITERATION 113 #define CYCLE_MAX (256*NB_ITERATION)14 15 #define LABEL(str) \16 { \17 cout << "{"+toString(static_cast<uint32_t>(sc_simulation_time()))+"} " << str << endl; \18 } while(0)19 20 #define SC_START(cycle) \21 do \22 { \23 if (static_cast<uint32_t>(sc_simulation_time()) > CYCLE_MAX) \24 { \25 TEST_KO("Maximal cycles Reached"); \26 } \27 sc_start(cycle); \28 } while(0)29 14 30 15 void test (string name, … … 41 26 _param_stat, 42 27 #endif 43 _param); 28 _param, 29 USE_ALL); 44 30 45 31 #ifdef SYSTEMC
Note: See TracChangeset
for help on using the changeset viewer.