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

    r81 r88  
    1616namespace register_translation_unit {
    1717namespace stat_list_unit {
    18 
    1918
    2019#undef  FUNCTION
     
    3938    log_printf(FUNC,Stat_List_unit,FUNCTION,"Begin");
    4039
     40#if DEBUG_Stat_List_unit == true
     41    log_printf(INFO,Stat_List_unit,FUNCTION,_("<%s> Parameters"),_name.c_str());
     42
     43    std::cout << *param << std::endl;
     44#endif   
     45
    4146    log_printf(INFO,Stat_List_unit,FUNCTION,"Allocation");
    4247
     
    4853
    4954#ifdef STATISTICS
    50     if (_usage & USE_STATISTICS)
     55    if (usage_is_set(_usage,USE_STATISTICS))
    5156      {
    5257        log_printf(INFO,Stat_List_unit,FUNCTION,"Allocation of statistics");
     
    5762
    5863#ifdef VHDL
    59     if (_usage & USE_VHDL)
     64    if (usage_is_set(_usage,USE_VHDL))
    6065      {
    6166        // generate the vhdl
     
    6772
    6873#ifdef SYSTEMC
    69     if (_usage & USE_SYSTEMC)
     74    if (usage_is_set(_usage,USE_SYSTEMC))
    7075      {
    7176        // Constant
     
    9095        SC_METHOD (genMoore);
    9196        dont_initialize ();
    92         sensitive << (*(in_CLOCK)).neg();
     97        sensitive << (*(in_CLOCK)).neg(); // need internal register
    9398       
    9499# ifdef SYSTEMCASS_SPECIFIC
     
    100105        SC_METHOD (genMealy);
    101106        dont_initialize ();
    102         sensitive << (*(in_CLOCK)).neg();
     107        sensitive << (*(in_CLOCK)).neg(); // need internal register
    103108        for (uint32_t i=0; i<_param->_nb_inst_insert; i++)
    104109          sensitive << (*(in_INSERT_READ_RA        [i]))
     
    135140
    136141#ifdef STATISTICS
    137     if (_usage & USE_STATISTICS)
     142    if (usage_is_set(_usage,USE_STATISTICS))
    138143      {
    139144        log_printf(INFO,Stat_List_unit,FUNCTION,"Generate Statistics file");
Note: See TracChangeset for help on using the changeset viewer.