Changeset 71 for trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component/include/New_Component.h
- Timestamp:
- Jan 19, 2008, 12:09:01 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component/include/New_Component.h
r69 r71 5 5 * $Id$ 6 6 * 7 * [ 7 * [ Description ] 8 8 * 9 9 */ … … 20 20 #include "Behavioural/@DIRECTORY/include/Parameters.h" 21 21 #ifdef STATISTICS 22 #include "Behavioural/ @DIRECTORY/include/Statistics.h"22 #include "Behavioural/include/Stat.h" 23 23 #endif 24 24 #include "Behavioural/include/Component.h" … … 27 27 #endif 28 28 #include "Behavioural/include/Usage.h" 29 30 using namespace std;31 29 32 30 namespace morpheo { … … 40 38 #endif 41 39 { 42 // -----[ 40 // -----[ fields ]---------------------------------------------------- 43 41 // Parameters 44 protected : const st ring_name;42 protected : const std::string _name; 45 43 protected : const Parameters * _param; 46 44 private : const Tusage_t _usage; 47 45 48 //#ifdef STATISTICS49 // protected : const morpheo::behavioural::Parameters_Statistics * _param_statistics;50 //#endif51 52 46 #ifdef STATISTICS 53 private : Stat istics* _stat;47 private : Stat * _stat; 54 48 #endif 55 49 … … 58 52 59 53 #ifdef SYSTEMC 60 // ~~~~~[ 54 // ~~~~~[ Interface ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 61 55 // Interface 62 56 public : SC_CLOCK * in_CLOCK ; 63 57 public : SC_IN (Tcontrol_t) * in_NRESET ; 64 58 65 // ~~~~~[ 59 // ~~~~~[ Component ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 66 60 67 // ~~~~~[ 61 // ~~~~~[ Register ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 62 69 // ~~~~~[ 63 // ~~~~~[ Internal ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 64 #endif 71 65 72 // -----[ methods ]---------------------------------------------------66 // -----[ Methods ]--------------------------------------------------- 73 67 74 68 #ifdef SYSTEMC … … 80 74 sc_module_name name, 81 75 #else 82 st ringname,76 std::string name, 83 77 #endif 84 78 #ifdef STATISTICS … … 99 93 #endif 100 94 #ifdef STATISTICS 101 public : string statistics (uint32_t depth); 95 public : void statistics_declaration (morpheo::behavioural::Parameters_Statistics * param_statistics); 96 public : std::string statistics_print (uint32_t depth); 102 97 #endif 103 98 … … 108 103 #endif 109 104 105 #if defined(STATISTICS) or defined(VHDL_TESTBENCH) 110 106 private : void end_cycle (void); 107 #endif 111 108 }; 112 109
Note: See TracChangeset
for help on using the changeset viewer.