Changeset 57 for trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component/include/New_Component.h
- Timestamp:
- Sep 28, 2007, 2:58:08 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component/include/New_Component.h
r53 r57 16 16 #include "Common/include/ToString.h" 17 17 #include "Common/include/Debug.h" 18 #include "Behavioural/include/Types.h" 18 19 19 20 #include "Behavioural/@DIRECTORY/include/Parameters.h" 20 #include "Behavioural/@DIRECTORY/include/Types.h"21 21 #ifdef STATISTICS 22 22 #include "Behavioural/@DIRECTORY/include/Statistics.h" … … 26 26 #include "Behavioural/include/Vhdl.h" 27 27 #endif 28 #include "Behavioural/include/Usage.h" 28 29 29 30 using namespace std; … … 31 32 namespace morpheo { 32 33 namespace behavioural { 34 33 35 @NAMESPACE_BEGIN 34 36 … … 41 43 // Parameters 42 44 protected : const string _name; 45 protected : const Parameters * _param; 46 private : const Tusage_t _usage; 43 47 44 protected : const Parameters * _param;45 48 //#ifdef STATISTICS 46 49 // protected : const morpheo::behavioural::Parameters_Statistics * _param_statistics; … … 72 75 SC_HAS_PROCESS (@COMPONENT); 73 76 #endif 74 public : @COMPONENT ( 77 public : @COMPONENT 78 ( 75 79 #ifdef SYSTEMC 76 80 sc_module_name name, 77 81 #else 78 82 string name, 79 83 #endif 80 84 #ifdef STATISTICS 81 85 morpheo::behavioural::Parameters_Statistics * param_statistics, 82 86 #endif 83 Parameters * param ); 87 Parameters * param, 88 morpheo::behavioural::Tusage_t usage=USE_ALL 89 ); 84 90 public : ~@COMPONENT (void); 85 91 86 #ifdef SYSTEMC87 92 private : void allocation (void); 88 93 private : void deallocation (void); 89 94 95 #ifdef SYSTEMC 90 96 //#if defined(STATISTICS) or defined(VHDL_TESTBENCH) 91 97 public : void transition (void);
Note: See TracChangeset
for help on using the changeset viewer.