Ignore:
Timestamp:
Feb 2, 2008, 12:39:01 PM (16 years ago)
Author:
rosiere
Message:

Add new component : Read_unit (no tested)
Change functionnal_unit : now use type and operation to execute the good function
Change New_Component's script

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/Parameters_msg_error.cpp

    r72 r76  
    2828    std::string msg = "";
    2929
    30     for (uint32_t i=0; i<MAX_OPERATION; i++)
    31       if (_timing->_delay != _timing->_latence)
    32         msg = "  - For the operation '"+toString(i)+"', the delay and the latence must be equal.";
     30    for (uint32_t i=0; i<MAX_TYPE; i++)
     31      for (uint32_t j=0; j<MAX_OPERATION; j++)
     32        if (_timing[i][j]._delay != _timing[i][j]._latence)
     33          msg = "  - For the type '"+toString(i)+"', and the operation '"+toString(j)+"', the delay and the latence must be equal.";
    3334
    34     if (_have_groupe_MAC and ((_timing[OPERATION_ALU_L_MAC  ]._latence == 0) or
    35                               (_timing[OPERATION_ALU_L_MACRC]._latence == 0) or
    36                               (_timing[OPERATION_ALU_L_MSB  ]._latence == 0)))
     35    if (_have_groupe_MAC and ((_timing[TYPE_SPECIAL][OPERATION_SPECIAL_L_MAC  ]._latence == 0) or
     36                              (_timing[TYPE_SPECIAL][OPERATION_SPECIAL_L_MACRC]._latence == 0) or
     37                              (_timing[TYPE_SPECIAL][OPERATION_SPECIAL_L_MSB  ]._latence == 0)))
    3738      msg = "  - The functionnal unit implement a MAC unit, the latence to operation OPERATION_ALU_L_MAC, OPERATION_ALU_L_MACRC and OPERATION_ALU_L_MSB must be higher than 0.";
    3839
Note: See TracChangeset for help on using the changeset viewer.