Changeset 123 for trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Network/Read_unit_to_Execution_unit/src/Read_unit_to_Execution_unit_genMealy.cpp
- Timestamp:
- Jun 8, 2009, 10:43:30 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/Core/Multi_Execute_loop/Execute_loop/Network/Read_unit_to_Execution_unit/src/Read_unit_to_Execution_unit_genMealy.cpp
r122 r123 25 25 log_function(Read_unit_to_Execution_unit,FUNCTION,_name.c_str()); 26 26 27 if (PORT_READ(in_NRESET)) 28 { 27 29 bool execute_unit_use [_param->_nb_execute_unit][_param->_max_nb_execute_unit_port]; 28 30 … … 106 108 for (uint32_t j=0; j<_param->_nb_execute_unit_port[i]; j++) 107 109 PORT_WRITE(out_EXECUTE_UNIT_IN_VAL[i][j], execute_unit_use[i][j]); 110 } 111 else 112 { 108 113 114 for (uint32_t i=0; i<_param->_nb_read_unit; i++) 115 for (uint32_t j=0; j<_param->_nb_read_unit_port[i]; j++) 116 PORT_WRITE(out_READ_UNIT_OUT_ACK [i][j], 0); 117 118 for (uint32_t i=0; i<_param->_nb_execute_unit; i++) 119 for (uint32_t j=0; j<_param->_nb_execute_unit_port[i]; j++) 120 PORT_WRITE(out_EXECUTE_UNIT_IN_VAL[i][j], 0); 121 122 } 123 109 124 log_end(Read_unit_to_Execution_unit,FUNCTION); 110 125 };
Note: See TracChangeset
for help on using the changeset viewer.