Changeset 75 for trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Victim/Victim_Pseudo_LRU/include/Victim_Pseudo_LRU.h
- Timestamp:
- Jan 31, 2008, 6:46:41 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/Generic/Victim/Victim_Pseudo_LRU/include/Victim_Pseudo_LRU.h
r44 r75 35 35 #include "Behavioural/Generic/Victim/Victim_Pseudo_LRU/include/Types.h" 36 36 #ifdef STATISTICS 37 #include "Behavioural/ Generic/Victim/Victim_Pseudo_LRU/include/Statistics.h"37 #include "Behavioural/include/Stat.h" 38 38 #endif 39 39 #ifdef VHDL 40 40 #include "Behavioural/include/Vhdl.h" 41 41 #endif 42 #ifdef POSITION43 42 #include "Behavioural/include/Component.h" 44 #else45 #include "Behavioural/include/Interfaces.h"46 #endif47 48 using namespace std;49 43 50 44 namespace morpheo { … … 157 151 } 158 152 159 public : st ring print ()160 { 161 st ring res = "";153 public : std::string print () 154 { 155 std::string res = ""; 162 156 163 157 for (int32_t i=static_cast<int32_t>(_size)-1; i>=0; i--) … … 170 164 // -----[ fields ]---------------------------------------------------- 171 165 // Parameters 172 protected : const st ring _name;166 protected : const std::string _name; 173 167 174 168 protected : const Parameters _param; 175 169 #ifdef STATISTICS 176 private : Statistics * _stat; 177 #endif 178 179 #ifdef POSITION 180 private : Component * _component; 181 #endif 170 public : Stat * _stat; 171 #endif 172 173 public : Component * _component; 182 174 private : Interfaces * _interfaces; 183 175 … … 215 207 public : Victim_Pseudo_LRU ( 216 208 #ifdef SYSTEMC 217 sc_module_name name,209 sc_module_name name, 218 210 #else 219 st ringname,211 std::string name, 220 212 #endif 221 213 #ifdef STATISTICS 222 morpheo::behavioural::Parameters_Statistics param_statistics,223 #endif 224 Parameters param );214 morpheo::behavioural::Parameters_Statistics * param_statistics, 215 #endif 216 Parameters param ); 225 217 226 218 public : Victim_Pseudo_LRU (Parameters param ); … … 233 225 public : void transition (void); 234 226 public : void genMealy_access (void); 235 #endif236 #ifdef STATISTICS237 public : string statistics (uint32_t depth);238 227 #endif 239 228 … … 244 233 #endif 245 234 246 #ifdef VHDL_TESTBENCH 247 private : void vhdl_testbench_transition (void); 248 #endif 249 235 #ifdef STATISTICS 236 public : void statistics_declaration (morpheo::behavioural::Parameters_Statistics * param_statistics); 237 #endif 238 239 #if defined(STATISTICS) or defined(VHDL_TESTBENCH) 240 private : void end_cycle (void); 241 #endif 250 242 }; 251 243
Note: See TracChangeset
for help on using the changeset viewer.