Ignore:
Timestamp:
Feb 5, 2008, 5:21:20 PM (16 years ago)
Author:
rosiere
Message:
  • Add two component :
    • network between read unit and execute unit
    • network between execute unit and write unit
  • remove parameters "nb_operation" and "nb_type"
  • in write_queue add the special case : load_speculative
File:
1 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

    r76 r77  
    153153       }
    154154
    155      _function_execute = new function_execute_t ** [MAX_TYPE];
     155     _function_execute = new function_execute_t ** [_param->_nb_type];
    156156     
    157157     // Initialisation
    158      for (uint32_t i=0; i<MAX_TYPE; i++)
     158     for (uint32_t i=0; i<_param->_nb_type; i++)
    159159       {
    160          _function_execute [i] = new function_execute_t * [MAX_OPERATION];
     160         _function_execute [i] = new function_execute_t * [_param->_nb_operation];
    161161         
    162          for (uint32_t j=0; j<MAX_OPERATION; j++)
     162         for (uint32_t j=0; j<_param->_nb_operation; j++)
    163163           _function_execute [i][j] = &(operation_unimplemented);
    164164       }
Note: See TracChangeset for help on using the changeset viewer.