Changeset 88 for trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Load_Store_pointer_unit
- Timestamp:
- Dec 10, 2008, 7:31:39 PM (16 years ago)
- Location:
- trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Load_Store_pointer_unit
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Load_Store_pointer_unit/SelfTest/Makefile
r81 r88 24 24 library_clean : Load_Store_pointer_unit_library_clean 25 25 26 local_clean : 27 26 28 include $(DIR_COMPONENT)/Makefile.deps 27 29 include $(DIR_MORPHEO)/Behavioural/Makefile.flags -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Load_Store_pointer_unit/SelfTest/src/main.cpp
r81 r88 51 51 } 52 52 53 uint32_t _nb_load_store_queue = atoi(argv[x++]);53 uint32_t _nb_load_store_queue = fromString<uint32_t>(argv[x++]); 54 54 55 55 if (argc != static_cast<int>(2+NB_PARAMS+_nb_front_end+2*_nb_load_store_queue+nb_thread)) … … 86 86 _link_load_store_unit_with_thread, 87 87 _nb_inst_insert , 88 _nb_inst_retire ); 88 _nb_inst_retire , 89 true //is_toplevel 90 ); 89 91 90 92 msg(_("%s"),param->print(1).c_str()); -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Load_Store_pointer_unit/SelfTest/src/test.cpp
r82 r88 50 50 #endif 51 51 52 Tusage_t _usage = USE_ALL; 53 54 // _usage = usage_unset(_usage,USE_SYSTEMC ); 55 // _usage = usage_unset(_usage,USE_VHDL ); 56 // _usage = usage_unset(_usage,USE_VHDL_TESTBENCH ); 57 // _usage = usage_unset(_usage,USE_VHDL_TESTBENCH_ASSERT); 58 // _usage = usage_unset(_usage,USE_POSITION ); 59 _usage = usage_unset(_usage,USE_STATISTICS ); 60 // _usage = usage_unset(_usage,USE_INFORMATION ); 61 52 62 Load_Store_pointer_unit * _Load_Store_pointer_unit = new Load_Store_pointer_unit 53 63 (name.c_str(), … … 56 66 #endif 57 67 _param, 58 USE_ALL);68 _usage); 59 69 60 70 #ifdef SYSTEMC … … 79 89 ALLOC1_SC_SIGNAL( in_RETIRE_FRONT_END_ID ," in_RETIRE_FRONT_END_ID ",Tcontext_t ,_param->_nb_inst_retire); 80 90 ALLOC1_SC_SIGNAL( in_RETIRE_CONTEXT_ID ," in_RETIRE_CONTEXT_ID ",Tcontext_t ,_param->_nb_inst_retire); 81 ALLOC1_SC_SIGNAL( in_RETIRE_TYPE ," in_RETIRE_TYPE ",Ttype_t ,_param->_nb_inst_retire); 82 ALLOC1_SC_SIGNAL( in_RETIRE_OPERATION ," in_RETIRE_OPERATION ",Toperation_t,_param->_nb_inst_retire); 91 // ALLOC1_SC_SIGNAL( in_RETIRE_TYPE ," in_RETIRE_TYPE ",Ttype_t ,_param->_nb_inst_retire); 92 // ALLOC1_SC_SIGNAL( in_RETIRE_OPERATION ," in_RETIRE_OPERATION ",Toperation_t,_param->_nb_inst_retire); 93 ALLOC1_SC_SIGNAL( in_RETIRE_USE_STORE_QUEUE ," in_RETIRE_USE_STORE_QUEUE ",Tcontrol_t ,_param->_nb_inst_retire); 94 ALLOC1_SC_SIGNAL( in_RETIRE_USE_LOAD_QUEUE ," in_RETIRE_USE_LOAD_QUEUE ",Tcontrol_t ,_param->_nb_inst_retire); 83 95 ALLOC1_SC_SIGNAL( in_RETIRE_STORE_QUEUE_PTR_WRITE," in_RETIRE_STORE_QUEUE_PTR_WRITE",Tlsq_ptr_t ,_param->_nb_inst_retire); 84 96 ALLOC1_SC_SIGNAL( in_RETIRE_LOAD_QUEUE_PTR_WRITE ," in_RETIRE_LOAD_QUEUE_PTR_WRITE ",Tlsq_ptr_t ,_param->_nb_inst_retire); … … 111 123 if (_param->_have_port_context_id) 112 124 INSTANCE1_SC_SIGNAL(_Load_Store_pointer_unit, in_RETIRE_CONTEXT_ID ,_param->_nb_inst_retire); 113 INSTANCE1_SC_SIGNAL(_Load_Store_pointer_unit, in_RETIRE_TYPE ,_param->_nb_inst_retire); 114 INSTANCE1_SC_SIGNAL(_Load_Store_pointer_unit, in_RETIRE_OPERATION ,_param->_nb_inst_retire); 125 // INSTANCE1_SC_SIGNAL(_Load_Store_pointer_unit, in_RETIRE_TYPE ,_param->_nb_inst_retire); 126 // INSTANCE1_SC_SIGNAL(_Load_Store_pointer_unit, in_RETIRE_OPERATION ,_param->_nb_inst_retire); 127 INSTANCE1_SC_SIGNAL(_Load_Store_pointer_unit, in_RETIRE_USE_STORE_QUEUE ,_param->_nb_inst_retire); 128 INSTANCE1_SC_SIGNAL(_Load_Store_pointer_unit, in_RETIRE_USE_LOAD_QUEUE ,_param->_nb_inst_retire); 115 129 INSTANCE1_SC_SIGNAL(_Load_Store_pointer_unit, in_RETIRE_STORE_QUEUE_PTR_WRITE,_param->_nb_inst_retire); 116 130 if (_param->_have_port_load_queue_ptr) … … 197 211 in_RETIRE_FRONT_END_ID [i]->write(it->_front_end_id ); 198 212 in_RETIRE_CONTEXT_ID [i]->write(it->_context_id ); 199 in_RETIRE_TYPE [i]->write(it->_type ); 200 in_RETIRE_OPERATION [i]->write(it->_operation ); 213 // in_RETIRE_TYPE [i]->write(it->_type ); 214 // in_RETIRE_OPERATION [i]->write(it->_operation ); 215 in_RETIRE_USE_STORE_QUEUE [i]->write((it->_type == TYPE_MEMORY) and is_operation_memory_store(it->_operation)); 216 in_RETIRE_USE_LOAD_QUEUE [i]->write((it->_type == TYPE_MEMORY) and not is_operation_memory_store(it->_operation)); 201 217 in_RETIRE_STORE_QUEUE_PTR_WRITE [i]->write(it->_store_queue_ptr_write); 202 218 in_RETIRE_LOAD_QUEUE_PTR_WRITE [i]->write(it->_load_queue_ptr_write ); … … 214 230 if (in_RETIRE_VAL[i]->read()) 215 231 { 216 if (in_RETIRE_TYPE [i]->read() != TYPE_MEMORY) 232 if (not (in_RETIRE_USE_STORE_QUEUE [i]->read() or 233 in_RETIRE_USE_LOAD_QUEUE [i]->read())) 217 234 TEST(Tcontrol_t, out_RETIRE_ACK[i]->read(),true); 218 235 … … 366 383 delete [] in_RETIRE_FRONT_END_ID ; 367 384 delete [] in_RETIRE_CONTEXT_ID ; 368 delete [] in_RETIRE_TYPE ; 369 delete [] in_RETIRE_OPERATION ; 385 // delete [] in_RETIRE_TYPE ; 386 // delete [] in_RETIRE_OPERATION ; 387 delete [] in_RETIRE_USE_STORE_QUEUE ; 388 delete [] in_RETIRE_USE_LOAD_QUEUE ; 370 389 delete [] in_RETIRE_STORE_QUEUE_PTR_WRITE; 371 390 delete [] in_RETIRE_LOAD_QUEUE_PTR_WRITE ; -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Load_Store_pointer_unit/include/Load_Store_pointer_unit.h
r82 r88 77 77 public : SC_IN (Tcontext_t ) ** in_RETIRE_FRONT_END_ID ; // [nb_inst_retire] 78 78 public : SC_IN (Tcontext_t ) ** in_RETIRE_CONTEXT_ID ; // [nb_inst_retire] 79 public : SC_IN (Ttype_t ) ** in_RETIRE_TYPE ; // [nb_inst_retire] 80 public : SC_IN (Toperation_t ) ** in_RETIRE_OPERATION ; // [nb_inst_retire] 79 //public : SC_IN (Ttype_t ) ** in_RETIRE_TYPE ; // [nb_inst_retire] 80 //public : SC_IN (Toperation_t ) ** in_RETIRE_OPERATION ; // [nb_inst_retire] 81 public : SC_IN (Tcontrol_t ) ** in_RETIRE_USE_STORE_QUEUE ; // [nb_inst_retire] 82 public : SC_IN (Tcontrol_t ) ** in_RETIRE_USE_LOAD_QUEUE ; // [nb_inst_retire] 81 83 public : SC_IN (Tlsq_ptr_t ) ** in_RETIRE_STORE_QUEUE_PTR_WRITE; // [nb_inst_retire] 82 84 public : SC_IN (Tlsq_ptr_t ) ** in_RETIRE_LOAD_QUEUE_PTR_WRITE ; // [nb_inst_retire] -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Load_Store_pointer_unit/include/Parameters.h
r82 r88 33 33 public : uint32_t _nb_inst_retire ; 34 34 35 36 37 38 35 //public : uint32_t _size_front_end_id ; 36 //public : uint32_t _size_context_id ; 37 //public : uint32_t _size_store_queue_ptr ; 38 //public : uint32_t _size_load_queue_ptr ; 39 39 40 41 42 40 //public : uint32_t _have_port_front_end_id ; 41 //public : uint32_t _have_port_context_id ; 42 //public : uint32_t _have_port_load_queue_ptr ; 43 43 44 44 //-----[ methods ]----------------------------------------------------------- 45 45 public : Parameters (uint32_t nb_front_end , 46 46 uint32_t * nb_context , 47 // uint32_t size_front_end_id , 48 // uint32_t size_context_id , 47 49 uint32_t nb_load_store_queue , 48 50 uint32_t * size_store_queue , … … 50 52 uint32_t ** link_load_store_unit_with_thread, 51 53 uint32_t nb_inst_insert , 52 uint32_t nb_inst_retire ); 54 uint32_t nb_inst_retire , 55 bool is_toplevel=false 56 ); 53 57 54 58 // public : Parameters (Parameters & param) ; 55 59 public : ~Parameters () ; 60 61 public : void copy (void); 56 62 57 63 public : Parameters_test msg_error (void); -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Load_Store_pointer_unit/src/Load_Store_pointer_unit.cpp
r81 r88 38 38 log_printf(FUNC,Load_Store_pointer_unit,FUNCTION,"Begin"); 39 39 40 #if DEBUG_Load_Store_pointer_unit == true 41 log_printf(INFO,Load_Store_pointer_unit,FUNCTION,_("<%s> Parameters"),_name.c_str()); 42 43 std::cout << *param << std::endl; 44 #endif 45 40 46 log_printf(INFO,Load_Store_pointer_unit,FUNCTION,"Allocation"); 41 47 … … 47 53 48 54 #ifdef STATISTICS 49 if ( _usage & USE_STATISTICS)55 if (usage_is_set(_usage,USE_STATISTICS)) 50 56 { 51 57 log_printf(INFO,Load_Store_pointer_unit,FUNCTION,"Allocation of statistics"); … … 56 62 57 63 #ifdef VHDL 58 if ( _usage & USE_VHDL)64 if (usage_is_set(_usage,USE_VHDL)) 59 65 { 60 66 // generate the vhdl … … 66 72 67 73 #ifdef SYSTEMC 68 if ( _usage & USE_SYSTEMC)74 if (usage_is_set(_usage,USE_SYSTEMC)) 69 75 { 70 76 log_printf(INFO,Load_Store_pointer_unit,FUNCTION,"Method - transition"); … … 141 147 sensitive << (*(in_RETIRE_LOAD_QUEUE_PTR_WRITE [i])); 142 148 sensitive << (*(in_RETIRE_VAL [i])) 143 << (*(in_RETIRE_TYPE [i])) 144 << (*(in_RETIRE_OPERATION [i])) 149 // << (*(in_RETIRE_TYPE [i])) 150 // << (*(in_RETIRE_OPERATION [i])) 151 << (*(in_RETIRE_USE_STORE_QUEUE [i])) 152 << (*(in_RETIRE_USE_LOAD_QUEUE [i])) 145 153 << (*(in_RETIRE_STORE_QUEUE_PTR_WRITE [i]));; 146 154 } … … 155 163 if (_param->_have_port_context_id) 156 164 (*(out_RETIRE_ACK [i])) (*( in_RETIRE_CONTEXT_ID [i])); 157 (*(out_RETIRE_ACK [i])) (*( in_RETIRE_TYPE [i])); 158 (*(out_RETIRE_ACK [i])) (*( in_RETIRE_OPERATION [i])); 165 // (*(out_RETIRE_ACK [i])) (*( in_RETIRE_TYPE [i])); 166 // (*(out_RETIRE_ACK [i])) (*( in_RETIRE_OPERATION [i])); 167 (*(out_RETIRE_ACK [i])) (*( in_RETIRE_USE_STORE_QUEUE [i])); 168 (*(out_RETIRE_ACK [i])) (*( in_RETIRE_USE_LOAD_QUEUE [i])); 159 169 if (_param->_have_port_load_queue_ptr) 160 170 (*(out_RETIRE_ACK [i])) (*( in_RETIRE_LOAD_QUEUE_PTR_WRITE [i])); … … 175 185 176 186 #ifdef STATISTICS 177 if ( _usage & USE_STATISTICS)187 if (usage_is_set(_usage,USE_STATISTICS)) 178 188 { 179 189 log_printf(INFO,Load_Store_pointer_unit,FUNCTION,"Generate Statistics file"); -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Load_Store_pointer_unit/src/Load_Store_pointer_unit_allocation.cpp
r81 r88 78 78 ALLOC1_SIGNAL_IN ( in_RETIRE_FRONT_END_ID ,"front_end_id" ,Tcontext_t ,_param->_size_front_end_id ); 79 79 ALLOC1_SIGNAL_IN ( in_RETIRE_CONTEXT_ID ,"context_id" ,Tcontext_t ,_param->_size_context_id ); 80 ALLOC1_SIGNAL_IN ( in_RETIRE_TYPE ,"type" ,Ttype_t ,_param->_size_type ); 81 ALLOC1_SIGNAL_IN ( in_RETIRE_OPERATION ,"operation" ,Toperation_t,_param->_size_operation ); 80 // ALLOC1_SIGNAL_IN ( in_RETIRE_TYPE ,"type" ,Ttype_t ,_param->_size_type ); 81 // ALLOC1_SIGNAL_IN ( in_RETIRE_OPERATION ,"operation" ,Toperation_t,_param->_size_operation ); 82 ALLOC1_SIGNAL_IN ( in_RETIRE_USE_STORE_QUEUE ,"use_store_queue" ,Tcontrol_t ,_param->_size_operation ); 83 ALLOC1_SIGNAL_IN ( in_RETIRE_USE_LOAD_QUEUE ,"use_load_queue" ,Tcontrol_t ,_param->_size_operation ); 82 84 ALLOC1_SIGNAL_IN ( in_RETIRE_STORE_QUEUE_PTR_WRITE,"store_queue_ptr_write",Tlsq_ptr_t ,_param->_size_store_queue_ptr); 83 85 ALLOC1_SIGNAL_IN ( in_RETIRE_LOAD_QUEUE_PTR_WRITE ,"load_queue_ptr_write" ,Tlsq_ptr_t ,_param->_size_load_queue_ptr ); 84 86 } 85 87 86 // ~~~~~[ Component ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 88 if (usage_is_set(_usage,USE_SYSTEMC)) 89 { 87 90 reg_STORE_QUEUE_PTR_WRITE = new Tlsq_ptr_t [_param->_nb_load_store_queue]; 88 91 reg_STORE_QUEUE_USE = new bool * [_param->_nb_load_store_queue]; … … 106 109 internal_RETIRE_LSQ = new uint32_t [_param->_nb_inst_retire]; 107 110 internal_RETIRE_PTR = new Tlsq_ptr_t [_param->_nb_inst_retire]; 111 } 112 // ~~~~~[ Component ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 108 113 109 114 #ifdef POSITION 110 _component->generate_file(); 115 if (usage_is_set(_usage,USE_POSITION)) 116 _component->generate_file(); 111 117 #endif 112 118 -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Load_Store_pointer_unit/src/Load_Store_pointer_unit_deallocation.cpp
r81 r88 23 23 log_printf(FUNC,Load_Store_pointer_unit,FUNCTION,"Begin"); 24 24 25 if ( _usage & USE_SYSTEMC)25 if (usage_is_set(_usage,USE_SYSTEMC)) 26 26 { 27 27 delete in_CLOCK ; … … 48 48 if (_param->_have_port_context_id) 49 49 delete [] in_RETIRE_CONTEXT_ID ; 50 delete [] in_RETIRE_TYPE ; 51 delete [] in_RETIRE_OPERATION ; 50 // delete [] in_RETIRE_TYPE ; 51 // delete [] in_RETIRE_OPERATION ; 52 delete [] in_RETIRE_USE_STORE_QUEUE ; 53 delete [] in_RETIRE_USE_LOAD_QUEUE ; 52 54 delete [] in_RETIRE_STORE_QUEUE_PTR_WRITE; 53 55 if (_param->_have_port_load_queue_ptr) 54 56 delete [] in_RETIRE_LOAD_QUEUE_PTR_WRITE ; 55 57 58 delete [] reg_STORE_QUEUE_PTR_WRITE ; 59 delete [] reg_STORE_QUEUE_USE ; 60 delete [] reg_STORE_QUEUE_NB_USE ; 61 delete [] reg_LOAD_QUEUE_PTR_WRITE ; 62 delete [] reg_LOAD_QUEUE_USE ; 63 delete [] internal_INSERT_ACK ; 64 delete [] internal_INSERT_OPERATION_USE; 65 delete [] internal_INSERT_LSQ ; 66 delete [] internal_INSERT_PTR ; 67 delete [] internal_RETIRE_ACK ; 68 delete [] internal_RETIRE_OPERATION_USE; 69 delete [] internal_RETIRE_LSQ ; 70 delete [] internal_RETIRE_PTR ; 56 71 } 57 58 delete [] reg_STORE_QUEUE_PTR_WRITE ;59 delete [] reg_STORE_QUEUE_USE ;60 delete [] reg_STORE_QUEUE_NB_USE ;61 delete [] reg_LOAD_QUEUE_PTR_WRITE ;62 delete [] reg_LOAD_QUEUE_USE ;63 delete [] internal_INSERT_ACK ;64 delete [] internal_INSERT_OPERATION_USE;65 delete [] internal_INSERT_LSQ ;66 delete [] internal_INSERT_PTR ;67 delete [] internal_RETIRE_ACK ;68 delete [] internal_RETIRE_OPERATION_USE;69 delete [] internal_RETIRE_LSQ ;70 delete [] internal_RETIRE_PTR ;71 72 72 73 // ~~~~~[ Component ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Load_Store_pointer_unit/src/Load_Store_pointer_unit_end_cycle.cpp
r81 r88 25 25 26 26 #ifdef STATISTICS 27 _stat->end_cycle(); 27 if (usage_is_set(_usage,USE_STATISTICS)) 28 _stat->end_cycle(); 28 29 #endif 29 30 … … 31 32 // Evaluation before read the ouput signal 32 33 // sc_start(0); 33 _interfaces->testbench(); 34 if (usage_is_set(_usage,USE_VHDL_TESTBENCH)) 35 _interfaces->testbench(); 34 36 #endif 35 37 -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Load_Store_pointer_unit/src/Load_Store_pointer_unit_genMealy_retire.cpp
r81 r88 31 31 { 32 32 Tcontrol_t ack = false; 33 34 if ( (PORT_READ(in_RETIRE_VAL [i]) == true ) and 35 (PORT_READ(in_RETIRE_TYPE [i]) == TYPE_MEMORY)) 33 Tcontrol_t use_sq = PORT_READ(in_RETIRE_USE_STORE_QUEUE [i]); 34 Tcontrol_t use_lq = PORT_READ(in_RETIRE_USE_LOAD_QUEUE [i]); 35 if ( (PORT_READ(in_RETIRE_VAL [i]) == true) and (use_sq or use_lq)) 36 // (PORT_READ(in_RETIRE_TYPE [i]) == TYPE_MEMORY)) 36 37 { 37 38 Tcontext_t front_end_id = (_param->_have_port_front_end_id)?PORT_READ(in_RETIRE_FRONT_END_ID [i]):0; … … 49 50 50 51 // operation became of decod_stage. Also operation is != store_head_ok and store_head_ko 51 if (is_operation_memory_store(PORT_READ(in_RETIRE_OPERATION [i]))) 52 // if (is_operation_memory_store(PORT_READ(in_RETIRE_OPERATION [i]))) 53 if (use_sq) 52 54 { 53 55 internal_RETIRE_OPERATION_USE [i] = OPERATION_USE_STORE_QUEUE; -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Load_Store_pointer_unit/src/Parameters.cpp
r81 r88 22 22 Parameters::Parameters (uint32_t nb_front_end , 23 23 uint32_t * nb_context , 24 // uint32_t size_front_end_id , 25 // uint32_t size_context_id , 24 26 uint32_t nb_load_store_queue , 25 27 uint32_t * size_store_queue , … … 27 29 uint32_t ** link_load_store_unit_with_thread, 28 30 uint32_t nb_inst_insert , 29 uint32_t nb_inst_retire ) 31 uint32_t nb_inst_retire , 32 bool is_toplevel 33 ) 30 34 { 31 35 log_printf(FUNC,Load_Store_pointer_unit,FUNCTION,"Begin"); … … 40 44 _nb_inst_retire = nb_inst_retire ; 41 45 42 uint32_t max_nb_context = max<uint32_t>(nb_context, nb_front_end); 43 uint32_t max_size_store_queue = max<uint32_t>(size_store_queue, nb_load_store_queue); 44 uint32_t max_size_load_queue = max<uint32_t>(size_load_queue, nb_load_store_queue); 46 test(); 45 47 46 _size_front_end_id = log2(nb_front_end ); 47 _size_context_id = log2(max_nb_context ); 48 _size_store_queue_ptr = log2(max_size_store_queue); 49 _size_load_queue_ptr = log2(max_size_load_queue ); 50 _have_port_front_end_id = (_size_front_end_id > 0); 51 _have_port_context_id = (_size_context_id > 0); 52 _have_port_load_queue_ptr = (_size_load_queue_ptr > 0); 48 if (is_toplevel) 49 { 50 _size_front_end_id = log2(_nb_front_end); 51 _size_context_id = log2(max<uint32_t>(_nb_context,_nb_front_end)); 52 _size_store_queue_ptr = log2(max<uint32_t>(size_store_queue, nb_load_store_queue)); 53 _size_load_queue_ptr = log2(max<uint32_t>(size_load_queue, nb_load_store_queue)); 54 55 _have_port_front_end_id = (_size_front_end_id > 0); 56 _have_port_context_id = (_size_context_id > 0); 57 _have_port_load_queue_ptr = (_size_load_queue_ptr > 0); 53 58 54 test(); 59 copy(); 60 } 61 55 62 log_printf(FUNC,Load_Store_pointer_unit,FUNCTION,"End"); 56 63 }; … … 67 74 #undef FUNCTION 68 75 #define FUNCTION "Load_Store_pointer_unit::~Parameters" 69 Parameters::~Parameters () 76 Parameters::~Parameters (void) 77 { 78 log_printf(FUNC,Load_Store_pointer_unit,FUNCTION,"Begin"); 79 log_printf(FUNC,Load_Store_pointer_unit,FUNCTION,"End"); 80 }; 81 82 #undef FUNCTION 83 #define FUNCTION "Load_Store_pointer_unit::copy" 84 void Parameters::copy (void) 70 85 { 71 86 log_printf(FUNC,Load_Store_pointer_unit,FUNCTION,"Begin"); -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_OOO_Engine/OOO_Engine/Rename_unit/Load_Store_pointer_unit/src/Parameters_msg_error.cpp
r82 r88 49 49 test.error(toString(_("The load store unit [%d] is not linked with a thread.\n"),i)); 50 50 51 log_printf(FUNC,Load_Store_pointer_unit,FUNCTION,"End"); 52 51 53 return test; 52 53 log_printf(FUNC,Load_Store_pointer_unit,FUNCTION,"End");54 54 }; 55 55
Note: See TracChangeset
for help on using the changeset viewer.