Changeset 113 for trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component_vst/SelfTest/include/top.h
- Timestamp:
- Apr 14, 2009, 8:39:12 PM (15 years ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component_vst/SelfTest/include/top.h
r111 r113 4 4 * [ Description ] 5 5 * 6 * Test " RegisterFile"6 * Test "@COMPONENT" 7 7 */ 8 8 … … 18 18 #include "Behavioural/@DIRECTORY/include/@COMPONENT.h" 19 19 20 #include <string>21 #include <iostream>22 #include <sys/time.h>23 24 20 using namespace std; 25 21 using namespace morpheo; … … 28 24 using namespace morpheo::behavioural::@NAMESPACE_USE; 29 25 30 void test (string name, 31 morpheo::behavioural::@NAMESPACE_USE::Parameters * param); 26 SC_MODULE(top) 27 { 28 #ifdef SYSTEMC 29 private: sc_clock * in_CLOCK ; 30 private: sc_signal<Tcontrol_t> * in_NRESET; 31 #endif 32 33 private: std::string name; 34 private: Tusage_t _usage; 35 private: morpheo::behavioural::@NAMESPACE_USE::Parameters * _param; 36 #ifdef STATISTICS 37 private: morpheo::behavioural::Parameters_Statistics * _param_stat; 38 #endif 39 private: @COMPONENT * component; 40 41 private: void usage 42 ( 43 #ifdef MTI_SYSTEMC 44 int argc, const char * const * argv 45 #else 46 int argc, char * argv[] 47 #endif 48 ); 49 private: void allocation (void); 50 private: void deallocation (void); 51 public : void test (void); 52 53 #ifdef MTI_SYSTEMC 54 SC_CTOR(top::top); 55 #else 56 public : top (sc_module_name module_name,int argc, char * argv[]); 57 #endif 58 public : ~top(void); 59 };
Note: See TracChangeset
for help on using the changeset viewer.