Ignore:
Timestamp:
Dec 10, 2008, 7:31:39 PM (16 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/Multi_Read_unit/Read_unit/Read_queue/src/Read_queue.cpp

    r82 r88  
    3636    log_printf(FUNC,Read_queue,"Read_queue","Begin");
    3737
     38#if DEBUG_Read_queue == true
     39    log_printf(INFO,Read_queue,FUNCTION,_("<%s> Parameters"),_name.c_str());
     40
     41    std::cout << *param << std::endl;
     42#endif   
     43
    3844#ifdef SYSTEMC
    3945    log_printf(INFO,Read_queue,"Read_queue","Allocation");
     
    4349
    4450#ifdef STATISTICS
    45     log_printf(INFO,Read_queue,FUNCTION,"Allocation of statistics");
    46    
    47     statistics_declaration(param_statistics);
     51    if (usage_is_set(_usage,USE_STATISTICS))
     52      {
     53        log_printf(INFO,Read_queue,FUNCTION,"Allocation of statistics");
     54       
     55        statistics_declaration(param_statistics);
     56      }
    4857#endif
    4958
    5059#ifdef VHDL
    51     // generate the vhdl
    52     log_printf(INFO,Read_queue,"Read_queue","Generate the vhdl");
    53 
    54     vhdl();
    55 #endif
    56 
    57 #ifdef SYSTEMC
     60    if (usage_is_set(_usage,USE_VHDL))
     61      {
     62        // generate the vhdl
     63        log_printf(INFO,Read_queue,"Read_queue","Generate the vhdl");
     64       
     65        vhdl();
     66      }
     67#endif
     68
     69#ifdef SYSTEMC
     70    if (usage_is_set(_usage,USE_SYSTEMC))
     71      {
    5872    log_printf(INFO,Read_queue,"Read_queue","Method - transition");
    5973
     
    206220      }
    207221#endif   
    208 
     222      }
    209223#endif
    210224    log_printf(FUNC,Read_queue,"Read_queue","End");
     
    216230
    217231#ifdef STATISTICS
    218     log_printf(INFO,Read_queue,"~Read_queue","Generate Statistics file");
    219 
    220     delete _stat;
     232    if (usage_is_set(_usage,USE_STATISTICS))
     233      {
     234        log_printf(INFO,Read_queue,"~Read_queue","Generate Statistics file");
     235       
     236        delete _stat;
     237      }
    221238#endif
    222239
Note: See TracChangeset for help on using the changeset viewer.