Ignore:
Timestamp:
May 12, 2010, 7:34:01 PM (14 years ago)
Author:
rosiere
Message:

1) add counters_t type for interface
2) fix in check load in load_store_unit
3) add parameters (but not yet implemented)
4) change environment and add script (distcc_env.sh ...)
5) add warning if an unser change rename flag with l.mtspr instruction
6) ...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/IPs/systemC/processor/Morpheo/Common/src/Debug.cpp

    r110 r138  
    4545#ifdef DEBUG
    4646      // Take min
    47       debug = (level < DEBUG)?level:DEBUG;
     47      debug             = (level < DEBUG)?level:DEBUG;
    4848     
    4949# ifdef SYSTEMC
    50       debug_cycle_test = (cycle_stop > cycle_start) or (cycle_stop == -1);
    51       debug_cycle_start= cycle_start;
    52       debug_cycle_stop = cycle_stop;
     50      debug_cycle_test  = (not (cycle_start == -1) and
     51                           ((cycle_stop > cycle_start) or
     52                            (cycle_stop == -1)));
     53      debug_cycle_start = cycle_start;
     54      debug_cycle_stop  = cycle_stop;
    5355# else
    54       debug_cycle_test = false;
     56      debug_cycle_test  = false;
    5557# endif
     58# else
     59      debug             = DEBUG_NONE;
     60      debug_cycle_test  = false;
     61      debug_cycle_start = 0;
     62      debug_cycle_stop  = 0;
    5663#endif
    57       debug_idle_cycle = idle_cycle;
    58       debug_idle_time  = idle_time ;
     64
     65      debug_idle_cycle  = idle_cycle;
     66      debug_idle_time   = idle_time ;
     67
     68      msgInformation(_("Debug level : %s\n"),toString(debug).c_str());
     69      // msgDebug(_("Cycle test  : %d\n"),debug_cycle_test);
     70      // msgDebug(_("Cycle start : %f\n"),cycle_start);
     71      // msgDebug(_("Cycle stop  : %f\n"),cycle_stop);
    5972
    6073      debug_initialized = true;
Note: See TracChangeset for help on using the changeset viewer.