Ignore:
Timestamp:
Dec 10, 2008, 7:31:39 PM (15 years ago)
Author:
rosiere
Message:

Almost complete design
with Test and test platform

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_transition.cpp

    r81 r88  
    3434        // Fill routing table
    3535        for (uint32_t i=0; i<_param->_nb_read_unit; i++)
    36           for (uint32_t j=0; j<_param->_nb_execute_unit; j++)
    37             // Test if link between src and dest
    38             if (_param->_table_routing [i][j])
    39               // Test the thread accepted by the execute_unit
    40               for (uint32_t k=0; k<_param->_nb_thread; k++)
    41                 if (_param->_table_execute_thread[j][k])
    42                   // Test the type accepted by the execute_unit
    43                   for (uint32_t l=0; l<_param->_nb_type; l++)
    44                     if (_param->_table_execute_type [j][l])
    45                       // push_back == minor have a better priority
    46                       _destination [i][k][l].push_back(j);
     36          for (uint32_t x=0; x<_param->_nb_execute_unit; x++)
     37            for (uint32_t y=0; y<_param->_nb_execute_unit_port[x]; y++)
     38              // Test if link between src and dest
     39              if (_param->_table_routing [i][x][y])
     40                // Test the thread accepted by the execute_unit
     41                for (uint32_t k=0; k<_param->_nb_thread; k++)
     42                  if (_param->_table_execute_thread[x][k])
     43                    // Test the type accepted by the execute_unit
     44                    for (uint32_t l=0; l<_param->_nb_type; l++)
     45                      if (_param->_table_execute_type [x][l])
     46                        // push_back == minor have a better priority
     47                        _destination [i][k][l].push_back(destination_t(x,y));
    4748      }
    4849    else
Note: See TracChangeset for help on using the changeset viewer.