Changeset 73 for trunk/IPs/systemC/processor
- Timestamp:
- Jan 30, 2008, 12:08:19 PM (17 years ago)
- Location:
- trunk/IPs/systemC/processor/Morpheo/Behavioural
- Files:
-
- 95 added
- 15 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Execute_unit/Execute_unit/Functionnal_unit/src/Functionnal_unit_allocation.cpp
r72 r73 133 133 for (uint32_t k=0; k<_param->_nb_ooo_engine; k++) 134 134 { 135 uint32_t num_thread = 0; 135 uint32_t num_thread = get_num_thread(i,_param->_size_context_id, 136 j,_param->_size_front_end_id, 137 k,_param->_size_ooo_engine_id); 136 138 137 139 _execute_register [i][j][k] = new execute_register_t; -
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Multi_Execute_unit/Execute_unit/Functionnal_unit/src/Functionnal_unit_transition.cpp
r72 r73 33 33 for (uint32_t k=0; k<_param->_nb_ooo_engine; k++) 34 34 { 35 uint32_t num_thread = 0; 35 uint32_t num_thread = get_num_thread(i,_param->_size_context_id, 36 j,_param->_size_front_end_id, 37 k,_param->_size_ooo_engine_id); 36 38 37 39 for (uint32_t x=GROUP_CUSTOM_1; x<GROUP_CUSTOM_8; x++) … … 100 102 (operation == OPERATION_CUSTOM_L_8)) 101 103 { 102 uint32_t num_thread = 0; 104 uint32_t num_thread = get_num_thread(context_id ,_param->_size_context_id, 105 front_end_id ,_param->_size_front_end_id, 106 ooo_engine_id,_param->_size_ooo_engine_id); 103 107 104 108 (*(_param->_get_custom_information(num_thread)._get_custom_execute_genMoore(operation))) (_execute_operation, execute_register, _execute_param); … … 121 125 for (uint32_t k=0; k<_param->_nb_ooo_engine; k++) 122 126 { 123 uint32_t num_thread = 0; 124 127 uint32_t num_thread = get_num_thread(i,_param->_size_context_id, 128 j,_param->_size_front_end_id, 129 k,_param->_size_ooo_engine_id); 130 125 131 for (uint32_t x=GROUP_CUSTOM_1; x<GROUP_CUSTOM_8; x++) 126 132 { -
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component/SelfTest/include/test.h
r71 r73 2 2 * $Id$ 3 3 * 4 * [ 4 * [ Description ] 5 5 * 6 6 * Test "RegisterFile" -
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component/SelfTest/src/main.cpp
r72 r73 2 2 * $Id$ 3 3 * 4 * [ 4 * [ Description ] 5 5 * 6 6 */ -
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component/SelfTest/src/test.cpp
r72 r73 2 2 * $Id$ 3 3 * 4 * [ 4 * [ Description ] 5 5 * 6 6 * Test … … 9 9 #include "Behavioural/@DIRECTORY/SelfTest/include/test.h" 10 10 #include "Common/include/Test.h" 11 #include "Behavioural/include/Allocation.h" 11 12 12 13 #define NB_ITERATION 1 -
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component/doc/Makefile
r23 r73 2 2 # $Id$ 3 3 # 4 # [ 4 # [ Description ] 5 5 # 6 6 # Makefile 7 7 # 8 8 9 #-----[ 9 #-----[ Directory ]---------------------------------------- 10 10 DIR_COMPONENT = ../ 11 11 include $(DIR_COMPONENT)/Makefile.defs 12 12 13 #-----[ 13 #-----[ include ]------------------------------------------ 14 14 15 15 all : -
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component/src/New_Component_allocation.cpp
r68 r73 2 2 * $Id$ 3 3 * 4 * [ 4 * [ Description ] 5 5 * 6 6 */ 7 7 8 8 #include "Behavioural/@DIRECTORY/include/@COMPONENT.h" 9 #include "Behavioural/include/Allocation.h" 9 10 10 11 namespace morpheo { … … 32 33 _interfaces = entity->set_interfaces(); 33 34 34 // ~~~~~[ 35 // ~~~~~[ Interface : "" ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 35 36 36 37 Interface * interface = _interfaces->set_interface("" … … 45 46 in_NRESET = interface->set_signal_in <Tcontrol_t> ("nreset",1, RESET_VHDL_YES); 46 47 47 // ~~~~~[ 48 // ~~~~~[ Component ]~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 48 49 49 50 #ifdef POSITION -
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component/src/New_Component_transition.cpp
r71 r73 4 4 * $Id$ 5 5 * 6 * [ 6 * [ Description ] 7 7 * 8 8 */ -
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component/src/New_Component_vhdl.cpp
r53 r73 3 3 * $Id$ 4 4 * 5 * [ 5 * [ Description ] 6 6 * 7 7 */ -
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component/src/New_Component_vhdl_body.cpp
r53 r73 3 3 * $Id$ 4 4 * 5 * [ 5 * [ Description ] 6 6 * 7 7 */ -
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component/src/New_Component_vhdl_declaration.cpp
r53 r73 3 3 * $Id$ 4 4 * 5 * [ 5 * [ Description ] 6 6 * 7 7 */ -
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component/src/Parameters_msg_error.cpp
r71 r73 2 2 * $Id$ 3 3 * 4 * [ 4 * [ Description ] 5 5 * 6 6 */ -
trunk/IPs/systemC/processor/Morpheo/Behavioural/New_Component/src/Parameters_print.cpp
r72 r73 2 2 * $Id$ 3 3 * 4 * [ 4 * [ Description ] 5 5 * 6 6 */ … … 32 32 #undef FUNCTION 33 33 #define FUNCTION "@COMPONENT::operator<<" 34 std:: stringostream& operator<< (std::stringostream& output_stream ,35 34 std::ostream& operator<< (std::ostream& output_stream , 35 morpheo::behavioural::@NAMESPACE_USE::Parameters & x) 36 36 { 37 37 log_printf(FUNC,@COMPONENT,FUNCTION,"Begin"); -
trunk/IPs/systemC/processor/Morpheo/Behavioural/include/Debug_component.h
r72 r73 1 #ifndef D EBUG_COMPONENT_H2 #define D EBUG_COMPONENT_H1 #ifndef Debug_component_H 2 #define Debug_component_H 3 3 4 4 #define DEBUG_Behavioural false … … 21 21 #define DEBUG_Multi_Execute_unit false 22 22 #define DEBUG_Execute_unit false 23 #define DEBUG_Functionnal_unit true23 #define DEBUG_Functionnal_unit false 24 24 #define DEBUG_Load_store_unit false 25 25 #define DEBUG_Multi_Read_unit false … … 27 27 #define DEBUG_Read_queue false 28 28 #define DEBUG_Reservation_station false 29 #define DEBUG_Multi_Write_unit false 30 #define DEBUG_Write_unit false 31 #define DEBUG_Execute_queue true 32 #define DEBUG_Write_queue true 29 33 #define DEBUG_Register_unit false 30 34 #define DEBUG_Register_unit_Glue false -
trunk/IPs/systemC/processor/Morpheo/Behavioural/include/Types.h
r72 r73 56 56 }; 57 57 58 inline Tcontext_t get_num_thread (Tcontext_t num_context_id , 59 uint32_t size_context_id, 60 Tcontext_t num_front_end_id , 61 uint32_t size_front_end_id, 62 Tcontext_t num_ooo_engine_id , 63 uint32_t size_ooo_engine_id) 64 { 65 return ((num_ooo_engine_id << (size_context_id + size_front_end_id)) | 66 (num_front_end_id << (size_context_id)) | 67 (num_context_id)); 68 } 69 70 58 71 59 72 }; // end namespace behavioural
Note: See TracChangeset
for help on using the changeset viewer.