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/Reservation_station/src/Reservation_station.cpp

    r82 r88  
    3939    log_printf(FUNC,Reservation_station,FUNCTION,"Begin");
    4040
     41#if DEBUG_Reservation_station == true
     42    log_printf(INFO,Reservation_station,FUNCTION,_("<%s> Parameters"),_name.c_str());
     43
     44    std::cout << *param << std::endl;
     45#endif   
     46
    4147#ifdef SYSTEMC
    4248    log_printf(INFO,Reservation_station,FUNCTION,"Allocation");
     
    4652
    4753#ifdef STATISTICS
    48     log_printf(INFO,Reservation_station,FUNCTION,"Allocation of statistics");
    49 
    50     statistics_declaration(param_statistics);
     54    if (usage_is_set(_usage,USE_STATISTICS))
     55      {
     56        log_printf(INFO,Reservation_station,FUNCTION,"Allocation of statistics");
     57       
     58        statistics_declaration(param_statistics);
     59      }
    5160#endif
    5261
    5362#ifdef VHDL
    54     // generate the vhdl
    55     log_printf(INFO,Reservation_station,FUNCTION,"Generate the vhdl");
    56 
    57     vhdl();
     63    if (usage_is_set(_usage,USE_VHDL))
     64      {
     65        // generate the vhdl
     66        log_printf(INFO,Reservation_station,FUNCTION,"Generate the vhdl");
     67       
     68        vhdl();
     69      }
    5870#endif
    5971
    6072#ifdef SYSTEMC
     73    if (usage_is_set(_usage,USE_SYSTEMC))
     74      {
    6175//#if defined(STATISTICS) or defined(VHDL_TESTBENCH)
    6276    log_printf(INFO,Reservation_station,FUNCTION,"Method - transition");
     
    8094    // List dependency information
    8195#endif   
    82 
     96      }
    8397#endif
    8498    log_printf(FUNC,Reservation_station,FUNCTION,"End");
     
    92106
    93107#ifdef STATISTICS
    94     log_printf(INFO,Reservation_station,FUNCTION,"Generate Statistics file");
    95 
    96     delete _stat;
     108    if (usage_is_set(_usage,USE_STATISTICS))
     109      {
     110        log_printf(INFO,Reservation_station,FUNCTION,"Generate Statistics file");
     111       
     112        delete _stat;
     113      }
    97114#endif
    98115
Note: See TracChangeset for help on using the changeset viewer.