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_OOO_Engine/OOO_Engine/Rename_unit/Load_Store_pointer_unit/src/Load_Store_pointer_unit.cpp

    r81 r88  
    3838    log_printf(FUNC,Load_Store_pointer_unit,FUNCTION,"Begin");
    3939
     40#if DEBUG_Load_Store_pointer_unit == true
     41    log_printf(INFO,Load_Store_pointer_unit,FUNCTION,_("<%s> Parameters"),_name.c_str());
     42
     43    std::cout << *param << std::endl;
     44#endif   
     45
    4046    log_printf(INFO,Load_Store_pointer_unit,FUNCTION,"Allocation");
    4147
     
    4753
    4854#ifdef STATISTICS
    49     if (_usage & USE_STATISTICS)
     55    if (usage_is_set(_usage,USE_STATISTICS))
    5056      {
    5157        log_printf(INFO,Load_Store_pointer_unit,FUNCTION,"Allocation of statistics");
     
    5662
    5763#ifdef VHDL
    58     if (_usage & USE_VHDL)
     64    if (usage_is_set(_usage,USE_VHDL))
    5965      {
    6066        // generate the vhdl
     
    6672
    6773#ifdef SYSTEMC
    68     if (_usage & USE_SYSTEMC)
     74    if (usage_is_set(_usage,USE_SYSTEMC))
    6975      {
    7076        log_printf(INFO,Load_Store_pointer_unit,FUNCTION,"Method - transition");
     
    141147            sensitive << (*(in_RETIRE_LOAD_QUEUE_PTR_WRITE  [i]));
    142148            sensitive << (*(in_RETIRE_VAL                   [i]))
    143                       << (*(in_RETIRE_TYPE                  [i]))
    144                       << (*(in_RETIRE_OPERATION             [i]))
     149//                    << (*(in_RETIRE_TYPE                  [i]))
     150//                    << (*(in_RETIRE_OPERATION             [i]))
     151                      << (*(in_RETIRE_USE_STORE_QUEUE       [i]))
     152                      << (*(in_RETIRE_USE_LOAD_QUEUE        [i]))
    145153                      << (*(in_RETIRE_STORE_QUEUE_PTR_WRITE [i]));;
    146154          }
     
    155163            if (_param->_have_port_context_id)
    156164            (*(out_RETIRE_ACK                   [i])) (*( in_RETIRE_CONTEXT_ID            [i]));
    157             (*(out_RETIRE_ACK                   [i])) (*( in_RETIRE_TYPE                  [i]));
    158             (*(out_RETIRE_ACK                   [i])) (*( in_RETIRE_OPERATION             [i]));
     165//          (*(out_RETIRE_ACK                   [i])) (*( in_RETIRE_TYPE                  [i]));
     166//          (*(out_RETIRE_ACK                   [i])) (*( in_RETIRE_OPERATION             [i]));
     167            (*(out_RETIRE_ACK                   [i])) (*( in_RETIRE_USE_STORE_QUEUE       [i]));
     168            (*(out_RETIRE_ACK                   [i])) (*( in_RETIRE_USE_LOAD_QUEUE        [i]));
    159169            if (_param->_have_port_load_queue_ptr)
    160170            (*(out_RETIRE_ACK                   [i])) (*( in_RETIRE_LOAD_QUEUE_PTR_WRITE  [i]));
     
    175185
    176186#ifdef STATISTICS
    177     if (_usage & USE_STATISTICS)
     187    if (usage_is_set(_usage,USE_STATISTICS))
    178188      {
    179189        log_printf(INFO,Load_Store_pointer_unit,FUNCTION,"Generate Statistics file");
Note: See TracChangeset for help on using the changeset viewer.