Changeset 118 for trunk/IPs/systemC/processor/Morpheo/Common
- Timestamp:
- May 21, 2009, 12:01:32 AM (16 years ago)
- Location:
- trunk/IPs/systemC/processor/Morpheo/Common/include
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Common/include/Debug.h
r113 r118 24 24 */ 25 25 26 #include "Common/include/Debug_type.h" 26 27 #include "Common/include/Systemc.h" 27 28 #include "Common/include/Message.h" … … 29 30 #include "Common/include/ChangeCase.h" 30 31 #include "Behavioural/include/Debug_component.h" 32 #include "Behavioural/include/Model.h" 33 #include "Behavioural/include/Simulation.h" 31 34 #include <systemc.h> 32 35 #include <stdio.h> … … 39 42 namespace morpheo { 40 43 41 typedef enum42 {43 DEBUG_NONE ,44 DEBUG_INFO ,45 DEBUG_TRACE,46 DEBUG_FUNC ,47 DEBUG_ALL48 } debug_verbosity_t;44 // typedef enum 45 // { 46 // DEBUG_NONE , 47 // DEBUG_INFO , 48 // DEBUG_TRACE, 49 // DEBUG_FUNC , 50 // DEBUG_ALL 51 // } debug_verbosity_t; 49 52 50 53 extern debug_verbosity_t debug; … … 81 84 if ((debug == DEBUG_ALL ) or \ 82 85 (DEBUG_ ## level == DEBUG_NONE) or \ 83 (( DEBUG_ ## level <= debug) and\84 ( DEBUG_ ## component == true )) )\86 (( DEBUG_ ## level <= debug) and \ 87 ( morpheo::behavioural::_model.get_debug(NAME_ ## component))) ) \ 85 88 { \ 86 89 if (DEBUG_ ## level <= DEBUG_INFO) \
Note: See TracChangeset
for help on using the changeset viewer.