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

    r81 r88  
    3939    log_printf(FUNC,Free_List_unit,FUNCTION,"Begin");
    4040
     41#if DEBUG_Free_List_unit == true
     42    log_printf(INFO,Free_List_unit,FUNCTION,_("<%s> Parameters"),_name.c_str());
     43
     44    std::cout << *param << std::endl;
     45#endif   
     46
    4147    log_printf(INFO,Free_List_unit,FUNCTION,"Allocation");
    4248
     
    4854
    4955#ifdef STATISTICS
    50     if (_usage & USE_STATISTICS)
     56    if (usage_is_set(_usage,USE_STATISTICS))
    5157      {
    5258        log_printf(INFO,Free_List_unit,FUNCTION,"Allocation of statistics");
     
    5763
    5864#ifdef VHDL
    59     if (_usage & USE_VHDL)
     65    if (usage_is_set(_usage,USE_VHDL))
    6066      {
    6167        // generate the vhdl
     
    6773
    6874#ifdef SYSTEMC
    69     if (_usage & USE_SYSTEMC)
     75    if (usage_is_set(_usage,USE_SYSTEMC))
    7076      {
    7177        log_printf(INFO,Free_List_unit,FUNCTION,"Method - transition");
     
    8389        SC_METHOD (genMealy_pop);
    8490        dont_initialize ();
    85         sensitive << (*(in_CLOCK)).neg();
     91        sensitive << (*(in_CLOCK)).neg(); // need internal register
    8692        for (uint32_t i=0; i<_param->_nb_pop; i++)
    8793          sensitive << (*(in_POP_GPR_VAL[i]))
     
    104110        SC_METHOD (genMealy_push_gpr);
    105111        dont_initialize ();
    106         sensitive << (*(in_CLOCK)).neg();
     112        sensitive << (*(in_CLOCK)).neg(); // need internal register
    107113        for (uint32_t i=0; i<_param->_nb_push; i++)
    108114          sensitive << (*(in_PUSH_GPR_VAL    [i]))
     
    123129        SC_METHOD (genMealy_push_spr);
    124130        dont_initialize ();
    125         sensitive << (*(in_CLOCK)).neg();
     131        sensitive << (*(in_CLOCK)).neg(); // need internal register
    126132        for (uint32_t i=0; i<_param->_nb_push; i++)
    127133          sensitive << (*(in_PUSH_SPR_VAL    [i]))
     
    150156
    151157#ifdef STATISTICS
    152     if (_usage & USE_STATISTICS)
     158    if (usage_is_set(_usage,USE_STATISTICS))
    153159      {
    154160        log_printf(INFO,Free_List_unit,FUNCTION,"Generate Statistics file");
Note: See TracChangeset for help on using the changeset viewer.