- Timestamp:
- May 1, 2008, 6:48:45 PM (16 years ago)
- Location:
- trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Counter
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Counter/SelfTest/src/test.cpp
r81 r82 8 8 9 9 #define NB_ITERATION 1024 10 #define CYCLE_MAX 1024*NB_ITERATION 10 11 11 12 #include "Behavioural/Generic/Counter/SelfTest/include/test.h" … … 40 41 param_stat, 41 42 #endif 42 param); 43 param, 44 USE_ALL); 43 45 44 46 #ifdef SYSTEMC -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Counter/include/Counter.h
r81 r82 26 26 #endif 27 27 #include "Behavioural/include/Component.h" 28 #include "Behavioural/include/Usage.h" 28 29 29 30 namespace morpheo { … … 39 40 // -----[ fields ]---------------------------------------------------- 40 41 // Parameters 41 protected : const std::string 42 43 pr otected : const Parameters _param;42 protected : const std::string _name; 43 protected : const Parameters _param; 44 private : const Tusage_t _usage; 44 45 45 46 #ifdef STATISTICS … … 78 79 morpheo::behavioural::Parameters_Statistics * param_statistics, 79 80 #endif 80 Parameters param ); 81 Parameters param, 82 Tusage_t usage); 81 83 82 84 public : Counter (Parameters param ); -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Counter/src/Counter.cpp
r81 r82 14 14 15 15 16 Counter::Counter 17 ( 16 18 #ifdef SYSTEMC 17 Counter::Counter (sc_module_name name,19 sc_module_name name, 18 20 #else 19 Counter::Counter (string name,21 std::string name, 20 22 #endif 21 23 #ifdef STATISTICS 22 24 morpheo::behavioural::Parameters_Statistics * param_statistics, 23 25 #endif 24 morpheo::behavioural::generic::counter::Parameters param ): 25 _name (name) 26 ,_param (param) 26 morpheo::behavioural::generic::counter::Parameters param, 27 Tusage_t usage): 28 _name (name), 29 _param (param), 30 _usage (usage) 27 31 { 28 32 log_printf(FUNC,Counter,"Counter","Begin"); -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Counter/src/Counter_allocation.cpp
r81 r82 14 14 namespace counter { 15 15 16 17 16 void Counter::allocation (void) 18 17 { 19 18 log_printf(FUNC,Counter,"allocation","Begin"); 20 19 21 _component = new Component ( );20 _component = new Component (_usage); 22 21 23 22 Entity * entity = _component->set_entity (_name
Note: See TracChangeset
for help on using the changeset viewer.