Changeset 137 for trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Decod_unit/Decod_queue/src
- Timestamp:
- Feb 16, 2010, 1:35:48 PM (14 years ago)
- Location:
- trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Decod_unit/Decod_queue/src
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Decod_unit/Decod_queue/src/Decod_queue_allocation.cpp
r123 r137 63 63 ALLOC1_SIGNAL_IN ( in_DECOD_IN_CONTEXT_ID ,"context_id" ,Tcontext_t ,_param->_size_context_id ); 64 64 ALLOC1_SIGNAL_IN ( in_DECOD_IN_DEPTH ,"depth" ,Tdepth_t ,_param->_size_depth ); 65 #ifdef STATISTICS 66 ALLOC1_SIGNAL_IN ( in_DECOD_IN_INSTRUCTION ,"instruction" ,uint32_t ,32 ); 67 #endif 65 68 ALLOC1_SIGNAL_IN ( in_DECOD_IN_TYPE ,"type" ,Ttype_t ,_param->_size_type ); 66 69 ALLOC1_SIGNAL_IN ( in_DECOD_IN_OPERATION ,"operation" ,Toperation_t ,_param->_size_operation ); … … 97 100 ALLOC1_SIGNAL_OUT(out_DECOD_OUT_CONTEXT_ID ,"context_id" ,Tcontext_t ,_param->_size_context_id ); 98 101 ALLOC1_SIGNAL_OUT(out_DECOD_OUT_DEPTH ,"depth" ,Tdepth_t ,_param->_size_depth ); 102 #ifdef STATISTICS 103 ALLOC1_SIGNAL_OUT(out_DECOD_OUT_INSTRUCTION ,"instruction" ,uint32_t ,32 ); 104 #endif 99 105 ALLOC1_SIGNAL_OUT(out_DECOD_OUT_TYPE ,"type" ,Ttype_t ,_param->_size_type ); 100 106 ALLOC1_SIGNAL_OUT(out_DECOD_OUT_OPERATION ,"operation" ,Toperation_t ,_param->_size_operation ); -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Decod_unit/Decod_queue/src/Decod_queue_deallocation.cpp
r123 r137 33 33 DELETE1_SIGNAL( in_DECOD_IN_CONTEXT_ID ,_param->_nb_inst_decod,_param->_size_context_id ); 34 34 DELETE1_SIGNAL( in_DECOD_IN_DEPTH ,_param->_nb_inst_decod,_param->_size_depth ); 35 #ifdef STATISTICS 36 DELETE1_SIGNAL( in_DECOD_IN_INSTRUCTION ,_param->_nb_inst_decod,32); 37 #endif 35 38 DELETE1_SIGNAL( in_DECOD_IN_TYPE ,_param->_nb_inst_decod,_param->_size_type ); 36 39 DELETE1_SIGNAL( in_DECOD_IN_OPERATION ,_param->_nb_inst_decod,_param->_size_operation ); … … 60 63 DELETE1_SIGNAL(out_DECOD_OUT_CONTEXT_ID ,_param->_nb_inst_decod,_param->_size_context_id ); 61 64 DELETE1_SIGNAL(out_DECOD_OUT_DEPTH ,_param->_nb_inst_decod,_param->_size_depth ); 65 #ifdef STATISTICS 66 DELETE1_SIGNAL(out_DECOD_OUT_INSTRUCTION ,_param->_nb_inst_decod,32); 67 #endif 62 68 DELETE1_SIGNAL(out_DECOD_OUT_TYPE ,_param->_nb_inst_decod,_param->_size_type ); 63 69 DELETE1_SIGNAL(out_DECOD_OUT_OPERATION ,_param->_nb_inst_decod,_param->_size_operation ); -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Decod_unit/Decod_queue/src/Decod_queue_function_multi_fifo_genMoore.cpp
r123 r137 55 55 if (_param->_have_port_depth) 56 56 PORT_WRITE(out_DECOD_OUT_DEPTH [i],reg_QUEUE[num_bank].front()->_depth [0]); 57 #ifdef STATISTICS 58 PORT_WRITE(out_DECOD_OUT_INSTRUCTION [i],reg_QUEUE[num_bank].front()->_instruction [0]); 59 #endif 57 60 PORT_WRITE(out_DECOD_OUT_TYPE [i],reg_QUEUE[num_bank].front()->_type [0]); 58 61 PORT_WRITE(out_DECOD_OUT_OPERATION [i],reg_QUEUE[num_bank].front()->_operation [0]); -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Decod_unit/Decod_queue/src/Decod_queue_function_multi_fifo_transition.cpp
r136 r137 74 74 entry->_context_id [0] = context; 75 75 entry->_depth [0] = (_param->_have_port_depth)?PORT_READ(in_DECOD_IN_DEPTH [i]):0; 76 #ifdef STATISTICS 77 entry->_instruction [0] = PORT_READ(in_DECOD_IN_INSTRUCTION [i]); 78 #endif 76 79 entry->_type [0] = PORT_READ(in_DECOD_IN_TYPE [i]); 77 80 entry->_operation [0] = PORT_READ(in_DECOD_IN_OPERATION [i]); -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Decod_unit/Decod_queue/src/Decod_queue_function_one_fifo_genMoore.cpp
r123 r137 55 55 if (_param->_have_port_depth) 56 56 PORT_WRITE(out_DECOD_OUT_DEPTH [i],reg_QUEUE->front()->_depth [index]); 57 #ifdef STATISTICS 58 PORT_WRITE(out_DECOD_OUT_INSTRUCTION [i],reg_QUEUE->front()->_instruction [index]); 59 #endif 57 60 PORT_WRITE(out_DECOD_OUT_TYPE [i],reg_QUEUE->front()->_type [index]); 58 61 PORT_WRITE(out_DECOD_OUT_OPERATION [i],reg_QUEUE->front()->_operation [index]); -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Decod_unit/Decod_queue/src/Decod_queue_function_one_fifo_transition.cpp
r136 r137 77 77 entry->_context_id [i] = context; 78 78 entry->_depth [i] = (_param->_have_port_depth)?PORT_READ(in_DECOD_IN_DEPTH [i]):0; 79 #ifdef STATISTICS 80 entry->_instruction [i] = PORT_READ(in_DECOD_IN_INSTRUCTION [i]); 81 #endif 79 82 entry->_type [i] = PORT_READ(in_DECOD_IN_TYPE [i]); 80 83 entry->_operation [i] = PORT_READ(in_DECOD_IN_OPERATION [i]); -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Front_end/Front_end/Decod_unit/Decod_queue/src/Parameters.cpp
r135 r137 42 42 test(); 43 43 44 _size_internal_queue =45 (1 + // _val46 _size_context_id + // _context_id47 _size_depth + // _depth48 _size_type + // _type49 _size_operation + // _operation50 1 + // _no_execute51 1 + // _is_delay_slot52 #ifdef DEBUG53 _size_instruction_address + // _address54 #endif55 _size_instruction_address + // _address_next56 1 + // _has_immediat57 _size_general_data + // _immediat58 1 + // _read_ra59 _size_general_register_logic + // _num_reg_ra60 1 + // _read_rb61 _size_general_register_logic + // _num_reg_rb62 1 + // _read_rc63 _size_special_register_logic + // _num_reg_rc64 1 + // _write_rd65 _size_general_register_logic + // _num_reg_rd66 1 + // _write_re67 _size_special_register_logic + // _num_reg_re68 _size_exception_use + // _exception_use69 _size_exception_decod // _exception70 ) * _nb_inst_decod;71 72 44 if (is_toplevel) 73 45 { … … 111 83 log_begin(Decod_queue,FUNCTION); 112 84 85 _size_internal_queue = 86 (1 + // _val 87 _size_context_id + // _context_id 88 _size_depth + // _depth 89 _size_type + // _type 90 _size_operation + // _operation 91 1 + // _no_execute 92 1 + // _is_delay_slot 93 #ifdef DEBUG 94 _size_instruction_address + // _address 95 #endif 96 _size_instruction_address + // _address_next 97 1 + // _has_immediat 98 _size_general_data + // _immediat 99 1 + // _read_ra 100 _size_general_register_logic + // _num_reg_ra 101 1 + // _read_rb 102 _size_general_register_logic + // _num_reg_rb 103 1 + // _read_rc 104 _size_special_register_logic + // _num_reg_rc 105 1 + // _write_rd 106 _size_general_register_logic + // _num_reg_rd 107 1 + // _write_re 108 _size_special_register_logic + // _num_reg_re 109 _size_exception_use + // _exception_use 110 _size_exception_decod // _exception 111 ) * _nb_inst_decod; 112 113 113 log_end(Decod_queue,FUNCTION); 114 114 };
Note: See TracChangeset
for help on using the changeset viewer.